#aarontodd_86098

1 messages · Page 1 of 1 (latest)

stuck wolfBOT
west arrow
#

Hi
Could you please share an example of a PaymentIntent id ?

whole surge
#

pm_card_visa_chargeDeclinedInsufficientFunds

#

pm_card_visa_chargeDeclined

west arrow
#

These are the payment method token

#

I need the Id of the PaymentIntent id pi_123...

whole surge
#

pi_3OkRUvJd4qbYzbvL1tsEIMsE

#

how about that one

west arrow
#

Thanks, let me check...

whole surge
#

thanks, I appreciate it

west arrow
#

The status of this PaymentIntent isn't successfull

#

the status is requires_confirmation

whole surge
#

the doc I read is saying it should resilt in requires_capture

west arrow
#

When creating the Paymentintent

whole surge
#

So again, the goal is to put a hold on the payment or generate a pre-auth charge. I had assumed that a payment method that would be declined would throuw an error when the intent is generated

west arrow
whole surge
#

would the confirm parameter do it?

stuck wolfBOT
west arrow
#

Yes it should trigger the failure.

whole surge
#

ok, im about to test it

#

caught it!!!

#

thanks so much