#SudoPlz-reactnative-confirm

1 messages · Page 1 of 1 (latest)

crystal mulch
#

Hello! Is your client secret of the form pi_xxx_secret_yyy?

shut holly
#

@crystal mulch no it's in the form of seti_123456ABCDE_secret_123456ABCDE

crystal mulch
#

Gotcha - so that's a Setup Intent client secret. You'll want to use confirmSetupIntent instead

shut holly
#

got it, that makes sense, thank you

crystal mulch
#

handleCardAction is something you should only use if you're doing a server-side confirmation flow (as described in our docs here https://stripe.com/docs/payments/accept-a-payment-synchronously). I'd really recommend using confirmPayment instead since it will handle both the confirmation and the additional actions at the same time

shut holly
#

got it, so it's one OR the other.

We're creating the intent on the server side, but we're capturing on the client side, so I assume we should only use confirmpayment then