Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Why is my payment trigger failing in flow?

Solved

Why is my payment trigger failing in flow?

David_King_II
Shopify Partner
3 0 0

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

Accepted Solution (1)

AnthonyKentris
Shopify Staff
33 15 18

This is an accepted solution.

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!

 

 

Anthony // Product Marketing Manager @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Learn about Shopify Plus

View solution in original post

Replies 5 (5)

AnthonyKentris
Shopify Staff
33 15 18

This is an accepted solution.

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!

 

 

Anthony // Product Marketing Manager @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Learn about Shopify Plus

dimak5504
Tourist
9 0 4

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! 

Lulu777
Shopify Partner
2 0 0

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

RPiii
Shopify Staff
92 16 33

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

Lulu777
Shopify Partner
2 0 0
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....