Development discussions around Shopify APIs
Using Rails, ShopifyAPI::RecurringApplicationCharge, in our app.
After a merchant accepts charges through the UI we check for the current charge, but RecurringApplicationCharge.current returns nil.
After listing RecurringApplicationCharge.all, I noticed the merchant attempted to activate billing multiple times and there are multiple charges listed all with the status = 'accepted'. This should however be marked as 'active' as there has been a change to the API removing the need to 'activate' a charge.
We have had a few installs prior to this where merchants accepted charges and the status was correctly marked as 'active'.
Has anyone seen this?
Solved! Go to the solution
This is an accepted solution.
Hey @Ephraim1
What version of the API were you using for your app? As of API version 2021-01, when the charge is accepted, the charge should be transitioning from pending to active, and we would not expect to see accepted as it was removed in API Version 2021-01. Please let me know - thanks!
This is an accepted solution.
Hey @Ephraim1
What version of the API were you using for your app? As of API version 2021-01, when the charge is accepted, the charge should be transitioning from pending to active, and we would not expect to see accepted as it was removed in API Version 2021-01. Please let me know - thanks!
User | RANK |
---|---|
11 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022