#0xL34N
1 messages · Page 1 of 1 (latest)
Are you creating Checkout Sessions through the API?
Yes
You can set subscription_data.trial_end when you create the Checkout Session to have the subscription trial until the date you want (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yup! go ahead
I just put the tired_end, that start from 1 of August, i have a promotion code that they give at user 50% for 3 month, this code start to work when the subscription start to charged?
That promotion would kick in as soon as the subscription was created, not when the trial is over.
So ify ou create a $10 monthyl subscription starting today (Jun 14) and it's trialing until August 1st, the coupon will last until September 14th
Hmm so i need to create a promotion code with time limit? I can create that you get discount until 1 of October for example
No, expiration date refers to the last date that a coupon can be redeemed by, it's not the same as how long the coupon will be applied for
Hmm oka
Is there any way you can recommend that I can do this? The users will do a pre-registration and we will charge them on August 1st, but we want them to have a 50% coupon for 3 months when they start charging.
You'd either need to make a coupon that lasts longer (so it takes into account the trial period) or you'd wait until after the trial is over and add the coupon then
Can you give an example checkout session ID you were testing this out with?
Give me a second
cs_test_b1012keEXNyeD9G1AZ4qb79j4qVgbIB2vgrq8RIFJGqHy55WNiqCm6Tsew
thanks!
And how can i remove this
Hi there 👋 jumping in as my teammate needs to step away soon. I'm double checking whether that functionality can be disabled.
Leaving one last thing - you have a coupon for PRO2023, but you didn't actually create a promotion code for it. You need to specifically add it through the dashboard
Link in Checkout Sessions can be disabled from your Stripe dashboard here:
https://dashboard.stripe.com/settings/link
but please let me know if that doesn't accomplish what you're hoping.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ahh oka!