#Aklito
1 messages · Page 1 of 1 (latest)
I believe you would need to create the discount on the Checkout Session instead: https://stripe.com/docs/api/discounts/object#discount_object-checkout_session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Alright, so a discount object is needed for this to work
Yes, or a Coupon object, depending on what you're actually trying to do with this workflow