#fredy-java-extendedauth
1 messages · Page 1 of 1 (latest)
Hello! If you look at the sample from https://stripe.com/docs/payments/extended-authorization#request-an-extended-authorization and click "Java" you can see you have to use putExtraParam
lurk: the code example is wrong, this feature shipped publicly and is in our SDKs
(I'll work on a docs fix now)
fredy-java-extendedauth
Thanks @tawdry relic and @last wadi . Do you guys what happens if I send an payment intent with confirm = false, then after the authorization expires, use the confirm API to confirm the intent?
that doesn't really make any sense.
The "extended authorization" starts when a PaymentIntent is successfully confirmed, not when it's created
So it's
- Create PaymentIntent and configure it for an extended authorization.
- Collect card details client-side and confirm the PaymentIntent
- Once this succeeds, you get
status: 'requires_captureandlatest_charge: 'ch_123'as the Charge object that maps to the funds being held - Capture the PaymentIntent before the deadline
It is clear now, thanks.
sure thing!