App reviews, troubleshooting, and recommendations
Hello shopify community,
I am building a simple app, but I am having a problem with setting up the trial days.. I am using the latest node boilerplate where in i have to setup billing config upon installation.
after re-installl
Solved! Go to the solution
This is an accepted solution.
Hi @geobertz ,
You can achieve this by saving the shop id or unique id to your database. That means, when any users install your app you should save users shop id or unique id to your database table and create some more field for status(active/inactive), start date(installed date) and end date(date after 21 days).
For example :
Suppose person A install the app, same time you have to save user's(person A) shop id with status 'Active' and start date + end date(21 days).
After installation he notified with 21 trial days.
Next after some days like 10th day he uninstall the app status should change to 'Inactive' and update start date(current date) you will get remaining days and save these days(ex: 11 days)
Next time when he reinstall app again then check for shop id if it is true then update start date and calculate end date with remaining days which you already having.
Hope you get an idea, if you have any queries you can post here again.
Thanks....
This is an accepted solution.
Hi @geobertz ,
You can achieve this by saving the shop id or unique id to your database. That means, when any users install your app you should save users shop id or unique id to your database table and create some more field for status(active/inactive), start date(installed date) and end date(date after 21 days).
For example :
Suppose person A install the app, same time you have to save user's(person A) shop id with status 'Active' and start date + end date(21 days).
After installation he notified with 21 trial days.
Next after some days like 10th day he uninstall the app status should change to 'Inactive' and update start date(current date) you will get remaining days and save these days(ex: 11 days)
Next time when he reinstall app again then check for shop id if it is true then update start date and calculate end date with remaining days which you already having.
Hope you get an idea, if you have any queries you can post here again.
Thanks....
Hi thank you for your response.
I get the idea, so my theory is correct.. Ill definitely try this..
I have another question though, how do we make an app 100% FREE?
There is no option in billing API to make it FREE.. cant set 0$ as price. and more than 1000 days as trial days.
Hello @geobertz ,
Recently we launched custom pricing app and its free.
Login to your shopify partner account go to your app and select the option.
Please refer screen shot:
You can manage your app pricing here.
Thanks ......
Oh i see and just set billing to undefined right?
Thank you so much
Hi @oscprofessional ,
I also setup 14-days trial, but I don't know when trial ends, how can I update remain trial days in database? Do you have solution for this?
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023