How can I retrieve the 'payment_schedule_id' for order reminders?

How can I retrieve the 'payment_schedule_id' for order reminders?

Mathieu77100
Visitor
2 0 0

Hello,

 

Here's the situation, I want to create a flow for new orders that use a third party payment which uses the steps pending payment.

User orders. If he does not pay, then send a reminder to pay the order. So I have a flow starting at every order creation filtering out the payment method however I cannot make my hands on the "payment_schedule_id" and therefore I cannot send the payment reminder.

Any idea how I could do this?

 

Regards,

 

Replies 2 (2)

lilyliward
Shopify Staff
19 1 9

I think you should use the Payment schedule is due trigger. There are a couple of workflow templates on how to use it. For example. 

Screenshot 2023-10-25 at 10.05.51 AM.png

To learn more visit the Shopify Help Center or the Community Blog.

Mathieu77100
Visitor
2 0 0

Hello @lilyliward,

 

Thanks for your answer. I have seen this flow, however it can only be activated once the payment is due not before.

Unless I am wrong pending payment has a 30 days limit to be paid and can't be changed. We don't want to give this freedom. We plan to sent to reminder and cancel the order after 48 hours. Therefore, from my understanding, this flow is not useful to us.

 

Please correct me if I am wrong somehow,

Cheers