#morio4182
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- morio4182, 5 days ago, 21 messages
Hi 👋 no, that's not a correct understanding. The timeframe of a Coupon begins as soon as the Coupon is attached to the Subscription.
What is the exact behavior you're after?
My expected behaviour would be that the trial period does not reduce the runtime of the voucher code
3 months trial + 12 months voucher code results in 9 months voucher code
Sorry, I'm not understanding what your desired outcome is here.
Is there any documentation I couldn't find anything about the voucher code trial period comibnation
I will try to explain it:
The user starts a stripe checkout session - we send 90 days trial with this checkout session. The user enters a 12 month 100% voucher code. I would expect that the user has to pay after 15 months
I need more details about the Price in the Subscription, what is it's billing frequency? Monthly, annual, something else? That directly impacts when the Customer will need to be billed next.
6€ per month; monthly frequency
Alright, then I'm pretty sure they will be billed after 12 months. From the way you were speaking I got the impression you've already been testing this, is that correct? Did you try creating a Coupon with a longer duration (sounds like you may want 15 months) to see if that behaves as you're hoping?
The issue I have is not the coupon - the issue is the combination trial period + coupon
In fact the user looses his trial period if he activates the subscription
I already tested it and as soon as the user enters the 12 month voucher code the checkout session shows that it will be used for the next 9 billing cycles - because the first 3 billing cycles are covered by the trial period
It is just a little bit weird and I couldn't find any documentation about it
Do you have specific API requests showing what you're referring to? I'm not following and it would be helpful if I could see a Subscription showing the behavior you're concerned with.
Give me a second
We are using
https://stripe.com/docs/api/checkout/sessions/create
"allow_promotion_codes": true,
and add the trial date with
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.
Is this enough information ?
I mean this answer "Hi 👋 no, that's not a correct understanding. The timeframe of a Coupon begins as soon as the Coupon is attached to the Subscription." already explains that the trial period gets more or less ignored.
From my point of view this is not really intuitive and I couldn't find anything in the documentation
I don't know what you mean by the trial period gets ignored
Sorry, I'm having a hard time understanding the exact behavior you're seeing, and what you hoped to see instead. There are a lot of configuration and settings when working with Checkout Sessions and Subscriptions, and I'm trying to understand the exact combination you used.
I would expect that the trial period moves the start of the coupon to the end of the trial period
This is not the case (as you clarified that the coupon starts immediately) and it seems there is no way to get to this behaviour with the checkout session with this combination
What combination of behavior are you looking for? If you're applying a 100% discount, that's very similar to giving a trial and they're both going to result in $0 invoices.
Customer has 90 days trial
Customer enters a voucher code (12 months 100% discount)
Customer has overall the sum of both -> 15 months
I could just disallow entering a voucher code when creating the checkout session, but this is not really convenient for the customer because he would have to find the code after the trial ends
Those both result in the customer not paying, so I still don't think I'm grasping the specific difference you're after, but believe setting the coupon's duration to 15 months is what you're after.
The vouchers are pre paid I can not just change them to 15 months.
By voucher you mean Coupon, right? (There are no vouchers in the Stripe ecosystem unless I'm mistaken)
Yes
I thought that the trial and the runtime of the voucher would be added up
3 + 12
But it seems that this behaviour is not possible - thats fine.
I think our case is an edge case and I couldn't find anything in the documentation (besides https://stripe.com/docs/billing/subscriptions/coupons#coupon-duration) - A coupon’s duration indicates how long the coupon is valid for. For example, a coupon for 50% off with a duration of 4 months applies to all invoices in the 4-month period starting when the coupon is first applied.
That sounds like it aligns with what I described and correctly explains system behavior, unless I'm misunderstanding the behavior you're seeing.