#H20-SCA
1 messages · Page 1 of 1 (latest)
I am writing the frontend
And also the part where we create the payment intent
but not a order confirmation itself
I am basicall doing this
And this is what our partner writes: "This message was sent to the following 2 people: Fabian Wohlfart, Nicolas. Replying to this email will notify them.
While the Stripe documentation recommends using the confirmCardPayment method on your frontend, with our API that won't be necessary. The POST request to /payments/{order_id}/paymentintent/{payment_intent_id} will handle confirming the payment intent. If it doesn't go through our API, then we won't be able to log the transaction.
If the capture method is set to automatic, once you get a response from creating a payment intent you'll just send that ID through the paymentintent endpoint. The customer shouldn't be charged anything until that endpoint is called, so you won't have to worry about our backend declining a successful transaction - nothing gets charged until the payment intent is confirmed."
Which I think does not make sense
So you are trying to confirm the PaymentIntent server side and are wondering how to handle any required actions client side if they come up?
I would say: »Our partner says that they confirm the PaymentIntent server side without Elements and confirmCardPayments() in the Frontend. And I wonder if this is even possible, because of the required actions such as authenticating with 3D Secure.«
We have a doc on this flow https://stripe.com/docs/payments/accept-a-payment-synchronously
I mean that has Elements
Why are you looking to not use elements and confirmCardPayments?
Ok I quickly go through it
I think I understand it:
Let me sum it up
-
Create Payment Method (Frontend via Elements)
-
Create Payment Intent (Backend)
-
If Requires Action, Handle Card Action (Frontend), Else send PI to partner (to confirm it)
-
Send PI to Partner (to confirm it)
Does this make sense?
I am getting this error now... even though i followed the instructions step by step