#Begin
1 messages · Page 1 of 1 (latest)
hello, can you paste whatever that you intend to share in the google doc here in this thread?
What's the meaning
you shared a google doc, what's inside?
Build a custom storefront for Adobe Commerce Adobe Commerce is capable of operating as a headless commerce platform, decoupled from its storefront. It does so by supporting two sets of APIs: REST API GraphQL API Either of these APIs can be used to build custom storefronts such as progressive we...
we don't intend to access any shared docs, so if you have additional information that you want to share from that doc, please copy and paste them in this thread instead
I have implemented normal user payment according to this document, but customers who need 3ds cannot pay successfully. How can I call 3ds?
are you using the Payment Element or the Card Element to collect payment method details from your customer?
Then please ignore the document link
I can pay successfully through this without 3ds customers
However, 3ds customers cannot pay through these interfaces.
the instructions mention to use stripe.handleNextAction - have you implemented that when the PaymentIntent requires 3DS?
actually since you're using the Payment Element, if the payment requires 3DS, it should automatically be handled with the confirmPayment method
it looks like you're following this guide? https://stripe.com/docs/payments/build-a-two-step-confirmation
that guide shows you how to implement your integration ^ and the confirmPayment method will automatically handle 3DS if required
What does this code do, generate client_secret?
https://stripe.com/docs/payments/build-a-two-step-confirmation
Why is the context of your document so inconsistent? It's so confusing.
Hi @proper charm I'm taking over this thread
Can you tell me what you want to achieve with Stripe API?
3ds
Can you be more specifc?
Learn about the issues I mentioned earlier from here
I beleive Alex already answered this question. have you got a chance to read through the docs?
that doc already provides you with the relevant code. Is there something in the code which isn't working for you?
Also, what do you mean by I can't change the order to pending here because it will issue an error message when it detects that it is not authenticated. - can you elaborate more?
like i mentioned, our code uses confirmPayment which handles 3DS. Did you check if your code using the confirmPayment method?
i don't really know where the information from your screenshots came from but anyway,
based off that PaymentIntent you provided - pi_3NpMpLLL4ALOXD230YkYUhVg, you're creating the PaymentIntent (this is fine)
But you're confirming it with your secret key, which isn't what our document described to do.
Our documentation passes the PaymentIntent's client_secret back to the frontend, and the confirmPayment is done using the client_secret : https://stripe.com/docs/payments/build-a-two-step-confirmation#submit-payment (this is what your code isn't doing)