#fredy-java-extendedauth

1 messages · Page 1 of 1 (latest)

brave pumiceBOT
tawdry relic
last wadi
#

lurk: the code example is wrong, this feature shipped publicly and is in our SDKs

#

(I'll work on a docs fix now)

brave pumiceBOT
#

fredy-java-extendedauth

proper steppe
#

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?

last wadi
#

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

  1. Create PaymentIntent and configure it for an extended authorization.
  2. Collect card details client-side and confirm the PaymentIntent
  3. Once this succeeds, you get status: 'requires_capture and latest_charge: 'ch_123' as the Charge object that maps to the funds being held
  4. Capture the PaymentIntent before the deadline
proper steppe
#

It is clear now, thanks.

last wadi
#

sure thing!