Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shopify Billing API - giving a user a free month

Tags:

shopify

I have an App in the Shopify App store that uses a recurring application charge. No problems there.

Sometimes, one of my users will make a suggestion to improve the app. I would like to reward them with a free month of using the app without being charged.

Based on the Shopify API, The only thing I can think of is to cancel the current recurring application charge, create a new charge for $0, then a month later cancel that charge and create new one for the original price. This is far from ideal. I believe that the user would need to accept every new charge that is created.

Is there a better way? Any suggestions?

like image 216
JoshHighland Avatar asked Oct 16 '25 10:10

JoshHighland


2 Answers

Agreed that that sounds pretty far from ideal.

If you create a new recurring app charge with a 30 day trial period, Shopify will change the customer over to this new charge while respecting the trial period. The customer will still see a prorated charge for the partial payment cycle before you “upgraded their plan” after the trial is up, but this will effectively do what you want.

like image 86
Edward Ocampo-Gooding Avatar answered Oct 19 '25 15:10

Edward Ocampo-Gooding


As of 2017 there is now an API for granting credits to merchants using your app: https://www.shopify.com/partners/blog/using-the-shopify-api-to-credit-merchants-for-app-charges https://help.shopify.com/api/reference/applicationcredit

like image 29
Josh Brown Avatar answered Oct 19 '25 15:10

Josh Brown



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!