A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
On creating a RecurringApplicationCharge and redirecting to Shopify's "Approve Subscription" page,
When test is true, when the merchant selects "cancel", they will get a toast message "Charge Declined" and be redirect back to Admin/Apps. The recurring application charge is : "status": "declined"
HOWEVER, when test is null, when the merchant selects "cancel", they will get a toast message "The store cannot accept the provided charge" (which makes no sense to me) and there is no redirect at all.
The recurring application charge is:
"status": "pending",
and I can also see that "test": null
Why is the behaviour different, is this a bug?
Solved! Go to the solution
This is an accepted solution.
This has happened to me recently. But there was no error when I cancel the non-test charge a month ago as I recall. Maybe a recent update changes the behavior. Anyway, I guess the error occurs because it is a test store or the store doesn't have a payment method, so I just ignore it. Although I also think the error makes no sense while canceling a charge
This is an accepted solution.
This has happened to me recently. But there was no error when I cancel the non-test charge a month ago as I recall. Maybe a recent update changes the behavior. Anyway, I guess the error occurs because it is a test store or the store doesn't have a payment method, so I just ignore it. Although I also think the error makes no sense while canceling a charge