#H20-SCA

1 messages · Page 1 of 1 (latest)

shy thistle
#

I'm a little unclear on the situation here. What part of this are you writing?

hazy pendant
#

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

shy thistle
#

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?

hazy pendant
#

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.«

shy thistle
#

I mean that has Elements

#

Why are you looking to not use elements and confirmCardPayments?

hazy pendant
#

Ok I quickly go through it

#

I think I understand it:
Let me sum it up

  1. Create Payment Method (Frontend via Elements)

  2. Create Payment Intent (Backend)

  3. If Requires Action, Handle Card Action (Frontend), Else send PI to partner (to confirm it)

  4. Send PI to Partner (to confirm it)

#

Does this make sense?

hazy pendant
#

I am getting this error now... even though i followed the instructions step by step