#seafew-coupon-trial
1 messages · Page 1 of 1 (latest)
hello, reading
You can add a 50% off coupon with duration: 'once' so that it only discounts the first invoice after the subscription creation right?
Thank you, Koopajah. I'm checking in with Dev team now to get their response to this
@fast summit or someone else
unfortunately it is not possible to pass trial parameters to the create coupon resource in Stripe, the parameter trial_period_days is not part of the object that we can pass to Stripe resource. https://stripe.com/docs/api/coupons/create?lang=php
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@raven flare this shouldn't be necessary. As Koopa mentioned, if you have a 50% coupon set up as once then update the subscription after it's created with a trial, that coupon should apply to the first paid invoice
@random stratus Thank you - so our situation is this... we have an army of affiliates that we give coupon codes to.
We need a coupon code to first give the user of it a Trial, then a 50% discount.
Or a 100% Off + a 50% off
It's only to a select niche audience. Not global
So need to somehow create a unique coupon that can give 100% off first month, then 50% off second month
Our flow =
User enters information on landing page
Email triggered with generated coupon code
user enters coupon code
user gets 100% off first month followed by 50% off second month
Third month bills standard
going forward
Hello! I'm taking over for @random stratus, catching up now...