@stripe your documentation for Checkout Sessions says nothing about the amount of a line_item needing to be positive. There goes a lot of work I've done to implement a discount code for a one-time purchase and there seems to be no instructions on how to do so. Help?
So sorry about the inconvenience here. As yet, we don't support coupons/discounts on Stripe Checkout, but we are working on it. An alternative would be to create a one-time subscription for your customer and apply a discount, like so:https://stripe.com/docs/billing/subscriptions/discounts …
-
-
I ended up totalling everything, including discount, into one line_item.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.