#jumbo74
1 messages · Page 1 of 1 (latest)
Setup mode is just for accepting a card, it has no concept of being associated with any monetary amounts
I assume what you expected it to do I guess is to show "you will be charged $1000 in future" or something, but that's not how we built Checkout to work
Yeah that's my bad... I confused SETUP with CAPTURE...
yes you could potentially use payment_intent_data[capture_method]=manual for a use case like this.
And another question. Why we could not add multiple discount to a session?
I believe it's just not something supported at the moment.
Is there a tip to do it?
Hey! Taking over for my colleague. You simply can't apply multiple discount to a Session, you need to have one discount (that could sum multiple discounts behind)
That's a bit weird. Because the API seems to allow when you check it. In Java you have the method to add multiple Discount.
Yes but currently only up to one may be specified, check the doc reference:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts
The problem is, I have a % discount + a price discount. I can do the calcul on my side but I think it can be better to just add multiple discount to the session.
Do you think this feature will be available one day?
I can do the calcul on my side
Currently this is the only option for you
Do you think this feature will be available one day?
Not something I'm aware of honestly, but I invite you to keep monitoring the official documentations
Ok ok. Thank you for your time 🙂