#friedrich-keydel_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1272561277033779241
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
How are you planning on collecting a payment method here? The standard guide for a custom flow with PaymentIntents is: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
You only call something like handleCardAction to handle 3DS after confirming server-side, but that isn't the recommended flow.
If you tell me more about what you are trying to accomplish then I'd be happy to help
I'm collecting the payment thorugh a custom form. I'm getting the client secret and the status requires_confirmation right now. Regarding your answer, the failure may be, that I try to call handleCardAction after getting requires_confirmation-status! What would be the right step for this state? Should I confirm serverside?
You are using Payment Element here?
If so, then you want confirmPayment() instead of handleCardAction()
no, I'm using a custom form together with the Card Element
Ah if you are using Card Element then you want confirmCardPayment()
So I maybe have to confirm via PHP
Nope
You want to confirm client-side
https://docs.stripe.com/js/payment_intents/confirm_card_payment is what you want
OK, thank you! ๐
Sure thing
I have to say, the documentation is sometimes really confusing.
Thanks for helping anyways! ๐
That's fair, but Card Element is our legacy flow that we don't recommend any more
So that's why you don't see documentation.
We really recommend that you use Payment Element
I wanted to do so, but I had to implement another payment method outside of stripe, that you do not support as external method