#Angus-Subscription
1 messages ยท Page 1 of 1 (latest)
Hi there, glad that you have it mostly working. It's a bit complex setup for Subscription, but I think most of it is possible using our Subscription setup
In which particular step that you have found difficulty?
Haha, all of it. ๐คฆโโ๏ธ
Probably the two things that are messier than I would like are the free trial and the new user discount
When you use checkout in subscription mode, it creates a new subscription.
My life would be easier if you could make adding a payment method to a subscription feel more like "Pay now" instead of "Update card".
So to get around that, I'm handling the free trial on my end until they "Pay now", at which point I create a subscription and put the remaining trial term onto that subscription object.
You should be able to create Subscription with either trial_end or trial_period_days The guide is here: https://stripe.com/docs/billing/subscriptions/trials and the parameter from within creating a Checkout is here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end
Yep, that's exactly what I'm doing ๐
The next thing is putting a 3 month @ 50% off for the annual plan.
At the moment I've just made it 12.5% off for the whole year ๐ but it looks messy and makes the discount seem less enticing.
I'm thinking I will change it to be a subscription sequence, but I'm not too sure about that.
The ideal way is issuing a coupon: https://stripe.com/docs/billing/subscriptions/discounts
Make it duration_in_months to 3
percent_off to 50
Yeah that doesn't work because coupons are applied to the entirety of the duration even if the duration of the coupon is less than the subscription.
I just tested that now and it made the entire 12 months 50% off
Here you can see the 3 month 50% off coupon being applied to the yearly subscription.
Yeah look, I'm pretty confident I can make everything work. I'm not here for low level technical help, I'm perfectly capable of reading the api docs, I'm more interested in how someone would architect this.
So going back to my original question, I posted on here because I wanted to hear how someone who has experience with Stripe would approach scenario.
@cobalt eagle I don't know if that's something you're interested in or if you have a mate you could refer me to.
Hey, sorry I am in a multiple tasks. Yes I think the Coupon should work, and it's our recommend approach for sure. We can talk into it further if you want a hands-on debug. But it should be the way to go
For the original question, the ideal approach is exactly what you are doing (I think you are on the right track). You would just need to design the Product/Price for the Subscription to create, and using Trial/Coupon for the additional requirements
Nail the requirements one by one