A place to discuss charging merchants for your apps and services using the billing API.
Now as per current shopify workflow it shows the left trial days and hours in apps section for store.
1. I have one charge of $10 with 30 days trial and its billing_on is 23-02-2019.
(In Apps section for store)
Before charge accepted
-> Its shows nothing related to trial days.
After Charge accepted
-> It shows 30 days trial remaining.
2. after 15 days i have changed charge $20 with 30 days trial and its billing on is 07-03-2019
(In Apps section for store)
Before New charge accepted
-> (15 days trial remaining).
After new Charge accepted
-> 30 days trial remaining.
So will it charge 20$ after 30 days(As New trial days are 30 days) or it will charge $20 after 15 days(As per first charges only 15 days remains so it will charge after 15 days.)
(Shopify calculates trial periods on installing date or on billing created date?)
Solved! Go to the solution
This is an accepted solution.
Okay perfect thank you for information.
You are correct, the new trial will be 30 days and the merchant will be charged $20 at the end of this free trial. Shopify calculates trial periods on install date.
To learn more visit the Shopify Help Center or the Community Blog.
Correction: Shopify calculates trial periods from the date the charge is activated.
To learn more visit the Shopify Help Center or the Community Blog.
So we need to manage trial days calculations at our end for exact 30 days trial.
We cannot put same code for subscription update/create. Other wise we might be in loss.
I feel like this is recent changes otherwise before 6 moth shopify handles trial days things.
Yes, Shopify doesn't manage trial days calculations on install. Please post the exact number of trial days you want to offer the merchant when upgrading the charge.
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Okay perfect thank you for information.
Hi @LeanneShapton ,
Could you notify the right team to ensure that this information is in the API docs? Specifically upon which event that the trial activates? Shopify says that the GraphQL API is the recommended approach to using the Billing API but it's very sparse in terms of detailed information that matters to developers.
Thank you
Hi Euge,
Yes we are going to be updating the docs soon to better communicate what happens to the trial days when you create, upgrade or downgrade charges, thanks.
To learn more visit the Shopify Help Center or the Community Blog.