#cgy

1 messages · Page 1 of 1 (latest)

fickle crescentBOT
crisp zealot
#

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

cobalt phoenix
#

sub_1NPzVlDtXfLzJGf2LezyaiJ1

crisp zealot
#

Okie what do you expect and where is it different? I am seeing it is billing daily

cobalt phoenix
#

I thik it should be this.

crisp zealot
#

What do you mean by "free"? It's $6.00 and paid normally

cobalt phoenix
#

This subcripiton set to be a trail for one day

#

So it should be free for onely once right?

#

price_1NKYIhDtXfLzJGf2RPAg4iYL

crisp zealot
#

Oh I see you set the trial on the price

#

Why don't you just set the trial when you create the Checkout Session?

#

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

cobalt phoenix
#

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?

crisp zealot
#

Because it didn't take the trial settting from the Price

crisp zealot