How to check the payment status of subscription immediately in shopify app development?

How to check the payment status of subscription immediately in shopify app development?

Dascal
Shopify Partner
1 0 2

Hello everyone,

I am currently developing a Shopify app that requires real-time monitoring of the payment status for active subscriptions.
I'm facing with my Shopify app that utilizes a recurring plan model. The problem arises when Shopify automatically processes a charge successfully. In this case, my app needs to check the payment status immediately. However, I've encountered a challenge because the APP_SUBSCRIPTION_UPDATE webhook is not triggered in this case.
Unfortunately, there doesn't seem to be a webhook available to handle this issue.

While I can retrieve the payment status of subscription from the billing_on field in the recurring application charge (via the REST API), this method doesn't allow for real-time updates. Specifically, if a merchant resolves a payment issue with the Shopify support team, our app needs to recognize the status change immediately.

Could anyone advise on how to effectively handle real-time payment status updates in a Shopify app?

I appreciate any insights or suggestions you may have.

Thank you in advance for your assistance.

Replies 0 (0)