#kurisu
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you share an example you're working with?
Hello hanzo!
sure.
in the following c# fragment we create a session and apply (in the lower halfe of the screen snippet) the coupon code:
... but there is no way to apply discount-codes on line-items itself:
Ah yeah, I see what you mean.
Unfortunately, with Checkout there's no way you can specify individual promo codes/coupons for each line item
The discount applies to the the whole thing
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
mmh, ok so we'll have to life with that... are there any future plans you know of allowing discounts / coupon redemptions on line item base?
Not that I know of but I'm happy to file a feature request for this.
OR if you want to file it yourself, you can write in via our support page. That way you can also check-in if there were any updates on that front.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
thx for your precious time.
NP! ๐ Happy to help