#heisen3rp-3ds

1 messages ยท Page 1 of 1 (latest)

barren jungle
#

hi! do you have an example PaymentIntent pi_xxx you're seeing this on so I can take a look?

But client says that no action is required,
and can you elaborate on that part? what exact code/data indicates that to you?

exotic coyote
#

pi_3K4MSXJ7hRt0Zipd1jR1VN8e

#

IntegrationError: handleCardAction: The PaymentIntent supplied does not require manual server-side confirmation. Please use confirmCardPayment instead to complete the payment.

#

also tried using confirmCardPayment but it did not work, since there is no card element rendered for saved payment methods

#

ohhh, i think i got it ๐Ÿ˜›

#

don't have to add the card element, now its working ๐Ÿ™ˆ

barren jungle
#

well you shouldn't need a card element if charging a saved card off-session

#

oh wait I think that's what you said, no worries

exotic coyote
#

@barren jungle we are using the confirmation_method = 'automatic'. Is there a best practice for this?

Should we switch to manual confirmation?
Or check again from client side -> server call if there are next actions required?

#

Btw, creating the payment intent with automatic mode does not return the next_action for 3d secure. Only after it's confirmed. That's why im wondering

barren jungle
#

Btw, creating the payment intent with automatic mode does not return the next_action for 3d secure
yep because you generally handle that all on the client side. You create the PaymentIntent, return the client_secret to the frontend, then call confirmCardPayment with a CardElement, which accepts the card, processes the payment, handles 3D Secure if required, and fires a webhook for your backend to reconcile

exotic coyote
#

tried to just confirm it anyway with the different payment methods/ testing card numbers. And it just worked ๐Ÿ˜›

barren jungle
#

well confirmation_method=manual doesn't work with SEPA(it's only for cards) so it's a bit of a moot point!

#

heisen3rp-3ds

exotic coyote
#

yup. switched back to automatic mode (server side).
added client side confirmation (stripe.confirmCardPayment). Even works if its a sepa_debit, or at least it skips without any warnings/errors

#

thank you very much ๐Ÿ™‚

tender lake