Test App subscription with recurring charges in dev store

I’m building an app that needs to allow merchants to subscribe to the app’s service, I’m following the Recurring Charges section from the documentation using the Subscription API with GraphQL, I added the code, get the confirmation URL and opened it myself.

Now I want to test the App subscription for the dev store, but I don’t want to use a real credit card, I’ve searched into Shopify Forms and found that we can use Bogus gateway, but unfortunately It seems it doesn’t work for that purpose.

I’ve tried a usual test credit card but also didn’t work for me.

Does Shopify support developers to test the Subscription API Payment form in some way?

Hi,

Maybe you can find the answer on what you want here: https://shopify.dev/apps/store/review/testing#testing-your-app-s-billing-system

Hi @lalosh , I use GraphQL mutation AppSubscriptionCreate and I set params “test”: true, but it doesn’t work, still disable button Approve. Did you fix it? Thank you so much

@AndyHung if you have set
test:true then it was the some cache issue. your code test true was not applied.

i am using the test : true it was working fine on my end Correctly. let me know you need more help in the same.

Hi @1080 ,

Can I set test: true in production app? Does it require customer add Card when free trial end? I want development store can test our app without VISA/Card. Thank you

@AndyHung no production app test - true it was allow all the not only development store. as now that feature not available in shopify biling API.

1 Like