Test Production Usage Charge

Simulativ
New Member
2 0 0

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. 

Image Pasted at 2021-2-3 22-17.png

 How do we test this on production environment?

Thanks,

0 Likes
jchristie
Excursionist
13 2 4

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

yahiramat
New Member
1 0 0

Hello,

 

I upgraded my development store to a basic paid plan but it will still not let me install the app.

0 Likes