• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

WooCommerce Order Created but not marked as paid

Anastasia

Member
Hi,

We have a number of flows which are triggered by Order Created in WooCommerce, and grant offers and also trigger automations. However, we only want these to run when the order has been paid for.

We have a few instances in which our customers create the order, attempt payment but fail first time, for whatever reason, and then when payment is successful the second time, it doesn't trigger the flow, because it has already not passed the Needs Payment filter.

Can you help with resolving this issue?

WooCommerce has a specific webhook for Order Paid, but pabbly doesn't seem to connect to that.
 
P

Pabblymember11

Guest
We have a number of flows which are triggered by Order Created in WooCommerce, and grant offers and also trigger automations. However, we only want these to run when the order has been paid for.
For that, you can use the filter action step which will only process the order which is completed.

E.g. -

1668239020624.png
 

Anastasia

Member
Hi, is there a reason why I couldn't allocate the webhook to "Order Paid" in WC as it returns a similar JSON object to Order Created?
 
P

Pabblymember11

Guest
why I couldn't allocate the webhook to "Order Paid" in WC as it returns a similar JSON object to Order Created?
Since the status of the order always comes with the Status field already defined in the WC account.

So, you will be required to pass the exact text of the status which is meant for Paid for an order.

If it is coming Paid from your WC account then you can use it Paid as it is.
 

Anastasia

Member
Hi! When the order is created by initial payment failed, the status shows as failed, rather than completed or processing. And when that is revised with the second attempt at payment, the webhook doesn't fire off, because the order was created during attempt 1.

So that'd leave us with the same problem that I originally reported.

Therefore, is there an issue you can foresee with activating the webhook only when WooCommerce marks an order as paid, rather than an order as created?
 
P

Pabblymember11

Guest
Hey @Anastasia

If your order is getting updated after the pending status then you would be required to use another workflow with the trigger event "WooCommerce: Order Updated" which will then process your order only after getting successful payment.

2022-11-14_12h52_23.png
 
Top