#bruno - payment intent confirmation
1 messages · Page 1 of 1 (latest)
@cyan sundial the subscription status is incomplete
Hi @cyan sundial is there any other info I can help with? Thanks!
Hi 👋 I
am stepping in for @cyan sundial
When you say you attempt Stripe::PaymentIntent.confirm(id) what is the ID of?
Thanks for stepping in, checking that
The id is the payment_intent id
Btw, that line Stripe::PaymentIntent.confirm(id) succeeds
But then on the next step, if the card requires authentication/SCA I'm getting an error The PaymentIntent supplied does not require manual server-side confirmation. Please use confirmCardPayment instead to complete the payment.. This error shows up when I do this on the frontend: stripe.handleCardAction(client_secret)
That error message makes me think I'm doing something wrong on the first step (with Stripe::PaymentIntent.confirm(id))
Yes in that case it sounds like the user needs to be brought back on-session to confirm their payment method on the client side.
Got it. What JS function do I use for that?
I thought stripe.handleCardAction(client_secret) will address that?
No in this case you'll need to go through creating the Stripe element and using .confirmCardPayment() to trigger the authentication flow again.