Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How can I leave a free amount in mutation appSubscriptionCreate

How can I leave a free amount in mutation appSubscriptionCreate

Camilo1512
Shopify Partner
2 0 0

Recently in my company, we developed an app for shopify, and recently we made the decision to leave it free in the marketplace. The problem that occurs is that, within the application, we added the graphql request to create a subscription (mutation appSubscriptionCreate), where you enter recurring charges or retail charges. According to documentation, I can't leave as cappedAmount: { amount: 0, currencyCode: CLP }, instead I must leave an amount greater than 0. Is there any technical solution to that?

 

Captura de Pantalla 2020-03-24 a la(s) 10.07.47.png

Reply 1 (1)

SBD_
Shopify Staff
1831 273 421

Hey @Camilo1512,

 

The solution is to remove the billing all together. Mark the user as free on your end, and don't create a charge on our end.

 

Let me know if you have any questions!

Scott | Developer Advocate @ Shopify