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.
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!