#cgy
1 messages · Page 1 of 1 (latest)
Hi, sorry the billing ID you provide is not a Stripe Id. Do you have the Subscription Id on the format sub_xxx?
I guess it is sub_1NPzVlDtXfLzJGf2LezyaiJ1
sub_1NPzVlDtXfLzJGf2LezyaiJ1
Okie what do you expect and where is it different? I am seeing it is billing daily
What do you mean by "free"? It's $6.00 and paid normally
This subcripiton set to be a trail for one day
So it should be free for onely once right?
price_1NKYIhDtXfLzJGf2RPAg4iYL
Oh I see you set the trial on the price
Why don't you just set the trial when you create the Checkout Session?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
subscription_data.trial_period_days
The price object trial won't be inherit into the Subscription, unless you specify trial_from_plan as of post 2018 API version
When creating or updating subscriptions, the default value of trial_from_plan is now false, meaning that a subscription will not automatically inherit a plan’s trial_period_days.
However this trial_from_plan is only available if you create the Sub directly, not if you create via Checkout Session
Ok, thank you
But emm, I still wonder why the billing seems not right?
If I create the subscription using SessionParams api the billing will be different?
Because it didn't take the trial settting from the Price
You would want to specify trial directly like this