• Resolved Andrew Wilder

    (@eatingrules)


    Hi,

    I just set this up for Stripe ACH Payments, using it with WooCommerce Subscriptions. It was very easy to set up and is working great so far, thank you!

    However, when a new order comes in, I noticed it sets both the Subscription and Order “On Hold.”

    Because of the long lead time between the order and the payment being received — and because “on hold” could mean a lot of different things (and we use it for other reasons) — I’d like to have a different order status when the payment is pending.

    Is it possible to have it set a “Payment Pending” status on the order, and “Pending” status for the Subscription instead? And then when the payment is completed, they could be set to “Complete” and “Active” accordingly?

    Thanks!

    -Andrew

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @eatingrules

    Any custom order status beyond what WooCommerce and the WooCommerce Subscriptions plugin provide would have to be registered to WooCommerce using the filter wc_order_statuses.

    You would then use the Stripe plugin filter wc_stripe_charge_pending_order_status to assign your custom status to the order.

    Keep in mind that WooCommerce Subscriptions is designed to set a subscription to active when the parent order’s status is “processing” or “completed”. You could always force the subscription status to “active” though.

    Kind Regards

    Thread Starter Andrew Wilder

    (@eatingrules)

    Hi! Sorry for taking a bit to get back to you on this.

    Thanks, this was very helpful. I was thinking of just setting them to “Pending Payment” instead of “Processing” (which feels more intuitive to me anyway) — and I think then the subscription wouldn’t be active yet, but would then activate once the order is “Completed.” (I think?)

    Do you have any docs or sample code for using the filter wc_stripe_charge_pending_order_status, by any chance?

    Or perhaps this could be a new option in the plugin? The user can select the order status when payment is completed; it would be super-helpful to also have a drop-down to enable setting a different status while the payment is pending.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order/Subscription Statuses for Stripe ACH’ is closed to new replies.