#lec1892
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- lec1892, 18 hours ago, 4 messages
hi! if you're referring to the https://stripe.com/docs/invoicing/hosted-invoice-page , it doesn't have inputs for coupons.
yes, I'm referring to the Hosted Invoice Page
regarding the checkout session, I was able to create a session and allow promotion codes. When the screen opens it shows the button to add a promotion code, but it doesn't accept an 100% discount coupon
are there alternatives?
is this for a one time payment or starting a subscription?
one time
I thought we supported 100% coupons in Checkout for one-time payments.
we didn't always but we do now
I tried this today, but I didn't work
any more context on that like exact API calls/screenshots/Session IDs?
one sec
cs_test_b1bMQnweZzIqVQTjJqw2fnwMTpkdgCmzGjpzvu2IUd3KlUS8TGTVmHghDQ
this is a 100% discount coupon
ah right
you need to opt into this by using the latest API version https://stripe.com/docs/upgrades#api-changelog:~:text=No-cost orders are now enabled for one-time payments in Checkout Sessions. The value of payment_method_collection has changed from always to if_required accordingly.
alternatively if you pass https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_collection as if_required I think that lets you opt in to this on older API versions too