Why is my payment trigger failing in flow?

Does anyone have a setup for a payment failed type of trigger in flow ?

Would be nice to have some kind of alert for this case.

We pre auth the CC / PP at order placement and capture on fulfillment .. Had a few PP failures that went unattended

Hi @David_King_II , if you used the “Order created” trigger, there is a “Order display financial status” that you may be able to use to trigger a workflow when an order is placed that has a failed payment.

You can see the values that you have available within that condition in the “financial_status” field in our Order API reference: https://help.shopify.com/en/api/reference/orders/order

That may allow a solution for what you want to do!

Hi Anthony,

I realize this response is from 3 years ago but I had a follow-up as I am unable to recreate what you are stating above in Flow. The “Order Created” trigger is easy to set up but I am struggling with exactly which Criteria to select to filter out failed transactions.

In particular, I am looking to isolate anyone who attempted to pay and had their card declined. That way we can proactively reach out to those customers and recommend solutions to their payment processing issues.

Thank you!

Did you find a way to do this? i have tried but it hasnt worked so far…

Flow is currently using the GraphQL Admin API version 2024-01. Have you tried building a condition around order.displayFinancialStatus ?

I have set that up but not sure if it will work as not sure the order is created without a payment made but let’s see…