appSubscriptionCreate API gives internal server error on live stores

Solved
Highlighted
New Member
2 1 0

I am using appSubscriptionCreate mutation(  https://community.shopify.com/c/Shopify-APIs-SDKs/appSubscriptionCreate-on-a-live-application-Intern... ), with line item being of type - appRecurringPricingDetails. This works fine as long as test is set to false or null. 

On a dev store , turning test to true gives the desired result, where I am prompted to get a higher plan for the store. 
We went live based on this. Now, on a live store every attempt gives this error:

image.png

 

here's the query variable for more clarity:

image.png

 

Help would be appreciated.

 

0 Likes
Highlighted
New Member
2 1 0

This is an accepted solution.

Update:

 

This happens when you are given access to your client's store and you try to add any kind of payment from you app. Managed stores don't have access to store's payment APIs. Only the store owner can initiate those. Nothing wrong with the query. 
It totally makes sense to put this kind of restriction. 

0 Likes