#friedrich-keydel_code

1 messages ยท Page 1 of 1 (latest)

cursive vortexBOT
#

๐Ÿ‘‹ 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.

prisma maple
#

Hello

#

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

round moon
#

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?

prisma maple
#

You are using Payment Element here?

#

If so, then you want confirmPayment() instead of handleCardAction()

round moon
#

no, I'm using a custom form together with the Card Element

prisma maple
#

Ah if you are using Card Element then you want confirmCardPayment()

round moon
#

So I maybe have to confirm via PHP

prisma maple
#

Nope

#

You want to confirm client-side

round moon
#

OK, thank you! ๐Ÿ˜‰

prisma maple
#

Sure thing

round moon
#

I have to say, the documentation is sometimes really confusing.

#

Thanks for helping anyways! ๐Ÿ˜‰

prisma maple
#

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

round moon
#

I wanted to do so, but I had to implement another payment method outside of stripe, that you do not support as external method