RecurringApplicationCharge REST API returning back "active" rather than "accepted"?

Highlighted
New Member
3 0 4

We're using the 2019-10 version of the API for creating subscriptions, as seen here: https://shopify.dev/docs/admin-api/rest/reference/billing/recurringapplicationcharge#show-2019-10

What we're starting to notice is that the "status" coming back is not "accepted" after they accept the charge on Shopify -- it's "active". 

What's interesting is that on the GraphQL documentation, it's mentioned that subscriptions created via GraphQL automatically come back as already "active": https://shopify.dev/docs/admin-api/graphql/reference/object/appsubscription/appsubscriptionstatus:

ACCEPTED

The app subscription has been approved by the merchant and is ready to be activated by the app. App subscriptions created through the GraphQL Admin API are activated upon approval.

 

Was there some sort of undocumented change to the REST API as well? It looks like we're only seeing this behavior for a select amount of our charges, but it's quite bothersome.

 

 

2 Likes
Highlighted
Shopify Partner
10 1 1

We're also using the REST API and seeing the same thing. It broke our charge handling logic as our code treats an “active” charge status as having already been handled earlier.

We pushed a hotfix just now, but it would be nice to know if this is an intentional change or a bug.

0 Likes
Highlighted

Hi,

We also noticed this today and I just posted a separate topic since yours didn't yet exist

https://community.shopify.com/c/Shopify-APIs-SDKs/REST-API-Recurring-Application-Charge-accepted-sta...

0 Likes
Highlighted
Shopify Expert
30 0 14

Broken here too. Releasing a fix by treating accepted/active the same but if its accepted instead call the active charge endpoint.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
592 72 131

Hey @BGilbert @scott-shogun @Alan_,

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 | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like
Highlighted
Shopify Partner
10 1 1

Hi @_JB ,

Thanks for the update!

Can you confirm if charges which were affected by this bug will still bill the merchant normally? In our case, we never made the "activate" API call if the charge was already "active". Do we need to take any extra action to activate these charges, or is the end result the same as if we'd called "activate" ourselves?

 

0 Likes