#raam
1 messages · Page 1 of 1 (latest)
Could you share what you would like to achieve?
The amount was deductiing during the subscription for free trail days
While testing in local
Y?
Could you share the subscription ID (sub_xxx)?
sub_1M0O7aSBU7DUyV6dtNEVNMRt
Hi @languid cliff
Please look into this subscription id
Yup, I'm looking into it now
To use a trial on a subscription, the trial period should be set on the subscription creation request: https://stripe.com/docs/billing/subscriptions/trials
Since you didn't set trial_period_days or trial_end when creating a subscription, it doesn't consider it as a trial.
If you wish to use the trial set on the price price_xxx instead of applying trial on entire subscription, you can set trial_from_plan to true. https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_from_plan