#zelda.zonk
1 messages ยท Page 1 of 1 (latest)
Sure a couple of way to do that
You can use a coupon that last for 3 months, giving a discount
Or you can use a subscription schedule, which i suggest:
So you can have 3mo at the 25/mo price, then 9mo at the 30/mo price, and at the end you can either have it cancel or continue on the last price used
yeah i cant use stripe coupons as im using payment elements and need coupon codes for both one-time payments and subscriptions. which means creating my own coupon system within my laravel app. and since i cant update stripe coupon redemption count or limit, i cant reconcile when a coupon is used, therefore cant use stripe coupons ๐ฆ
That's fine, i think subscription schedules are better for this anyways
so using Subscription schedules may be the only way to discount a subscription for a set amount for a set number of months.
Yep, if coupons is off the table i'd say so
its really odd how i can use coupns for one-time payments in stripe Checkout but not via api when using payment Elements, why is that?
Because its not supported via payment intents, this is a low-level api where you control the payment amount
it woud be good though to control payment amount while still passing in coupon code to let stripe know so times_redeemed is incremented.
that way i dont have to create an entire coupon system in laravel ๐
Yep, its feedback we're heard but not something I expect we'll offer any time soon, though other in-development integration options might meet your needs
"other in-development integration option" what are these?
Just other things we're building that might meet some of these needs, nothing to share publicly yet except that we're aware of use cases like this, wanting to offer copons in custom integration etc
And we've got some things cooking
ah ok, good to hear its being looked at, as its been a super difficult implementation because of this limitation
thanks for your help
NP!
is there a way to add a line item of something on a subscription invoice that would detail the discount (manual discount since im not using stripe coupons) like a text field for example ?
or note?
Good question, checking in to what your options are there...
Unfortunatley not finding an especially solid way to do that. It looks like there isn't a way to add a subscription item like that to the invoice via schedules. You can set a description that will show up on the invoice though which may help signal what is happening though I have not tested it to see what it would look like on the final invoice.https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-phases-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
phases.description might work