Development discussions around Shopify APIs
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
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By