Liquid, JavaScript, themes, sales channels
Hello,
We have currently implemented usage-based fees in our application where we create a $0.00 recurring application charge and apply usage charge on this.
We have tested this flow on our staging environment where we set the test flag as true.
However, when testing actual charge, we are getting the following error.
How do we test this on production environment?
Thanks,
Hey @Simulativ,
The issue is your using a development store and trying to install a paid app. This is not allowed, unfortunately you’d have to upgrade your development store to a paid plan.
Alternatively, you could allow your app to be installed on development stores for free, but I guess that would defeat the object of testing the payment!
I assume you’ve tried the ‘test’ flag as part of the payment API? This was created for testing paid plans in development, and I think it’s safe to assume if it works with the test charge it will work as usual when you remove the test flag from the API call.
Hope this helped.
James
Hello,
I upgraded my development store to a basic paid plan but it will still not let me install the app.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024