-
I have created an APP_SUBSCRIPTIONS_UPDATE webhook. When I install an app and upgrade the first plan to the second plan, the webhook is run only 1 time. But after that when I upgrade or downgrade the app subscription plan, the webhook is run twice on each plan change event. here is shopify doc link and webhook log
and here is shopify-app.php and job file. thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When we upgrade or downgrade an app subscription plan that time if there is no previous activated plan then Shopify only sent one webhook with ACTIVE status. if there is a previously activated plan then Shopify sent two webhook one for the CANCELLED plan and one for a newly activated plan. |
Beta Was this translation helpful? Give feedback.
When we upgrade or downgrade an app subscription plan that time if there is no previous activated plan then Shopify only sent one webhook with ACTIVE status. if there is a previously activated plan then Shopify sent two webhook one for the CANCELLED plan and one for a newly activated plan.