A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
Has anyone else noticed that starting today, the recurring application charges, created through the REST API, are now skipping the accepted state?
When the merchant accepts the charge, the state of the charge goes directly into active. Previously, it went to accepted first, and then the app had to activate the charge before it went into the active state.
Here is the official explanation of the activation flow: https://shopify.dev/tutorials/charging-for-your-app-with-rest-admin-api-concepts
And the image with the flow:
Since today, the Accepted state is skipped. When the merchant accepts the charge, it goes straight to the Active state.
Does anyone know if this is a bug in the REST API, or a valid change?
Yes our code wasn't setup to handle this so now all our apps are broken.
It seems that this issue is already resolved. The Accepted state is no longer skipped.
Hey @Wonderer,
Thanks for reporting the issue, our developers have been able to identify the cause and have since pushed a fix which restores the previous behaviour. When apps are installed now, the charge will remain as accepted
until you activate it. Please don't hesitate to reach out if there are any questions.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog