#Pickle_Rick - Payment Confirmations

1 messages · Page 1 of 1 (latest)

paper zodiac
#

Hello! What exactly do you mean by "no confirmation was sent back?" That could be various things, so specific details would be very helpful. 🙂

#

Can you give me the Payment Intent ID so I can take a look?

oblique stream
#

Hi there,
Sure so stripe confirms that a payment intent either succeeds or fails - our system was waiting for that

#

pi_3JuQSWDV2WR4Y5rU2jTFhZ5P

#

Thank you for your reply 🙂

paper zodiac
#

Your system was waiting for it how? By listening for an event with a webhook endpoint?

#

It looks like you don't have any webhook endpoints set up to listen for events... are you relying on your client-side code to trigger fulfillment?

oblique stream
#

Sorry checking this now

paper zodiac
oblique stream
#

Hi there, thank you for your patience and sorry for the delay

#

We are using the Stripe service on Angular- we call "confirmCardPayment" with the client secret and payment method and wait for a response

#

The response either succeeds or fails - this did not happen in this case. The system was left hanging.

#

So the user tried to process the card a second time with the same payment intent.

paper zodiac
#

That can happen if the client experiences a network issue, meaning the request to confirm the Payment Intent made it to Stripe, the Payment Intent was confirmed successfully, but the response going back to the client didn't make it for some reason.

#

You should do two things:

  1. Read the link I provided above about webhooks and fulfillment and update your integration to not rely on client-side code
  2. Update your client-side code to better handle the case where the same Payment Intent is confirmed two or more times and display a "payment successful" message to your customer if that error is encountered (since the payment already succeeded)