#heymato

1 messages · Page 1 of 1 (latest)

pale pulsarBOT
drowsy shuttle
#

Hi there, do you have the PaymentIntent ID?

wide totem
#

Do you see anything strange or is the problem on customer side ?

drowsy shuttle
#

If you check the last_payment_error of this PaymentIntent, it says The PaymentIntent failed due to a timeout on the upstream provider's side. Provide a new payment method to attempt to fulfill this PaymentIntent again.

#

Which means the payment provider has problem during this payment.

wide totem
#

The only problem is, our customer added a screenshot, and the money went from their account... This is actually the second time we had this

#

This is the payment receipt from the customer

#

Am I doing something wrong in my implementation?

drowsy shuttle
#

You mean the funds was deducted from their account, but you don't receive it in your Stripe account?

wide totem
#

yes

#

Stripe says the payment did not happen, but the customer received a receipt the money is deduced

drowsy shuttle
#

based on what I saw in your account, the payment was not succeeded.

#

Can I suggest you to write in to Stripe support https://support.stripe.com/contact to investigate further?

wide totem
#

OK I will

#

Just to make sure

#

Atm when on my site this is my flow:

  • createPayment
  • (updatePayment intent when one was created already, e.g price change)
  • confirmPayment
  • listen to webhook for success or failure
  • in case of failure re-use paymentIntent
drowsy shuttle
#

Can you tell me more about re-use paymentIntent ?

wide totem
#

well, I reuse the intentID

#

So when a customer has an paymentIntent ID, this gets stored in my redux store. When a payment did not succeed, I re-use this ID and update the intent with whatever changes (amount, currency,...)

#

once a payment succeeded, I clear the redux store id and a new paymentIntent is created on checkout

drowsy shuttle
#

Hmm, why do you need to create a new paymentIntent when the payment succeeded?

wide totem
#

I do not create a new one instantly, only when the customer goes again to checkout

#

so when entering checkout I check if there is a PID or not. If not I create one, else I re-use an existing.

drowsy shuttle
#

OK. Then so far I don't see a problem in your integration.

wide totem
#

OK

#

Thank you

#

I just have an of topic question. Is there a way to 'bookmark' or store my conversations in discord?

#

Now it is sometimes hard to find my threads again

drowsy shuttle
#

I don't see a bookmark function in discord, but you can bookmark the thread URL in your own broswer

wide totem
#

where can I find the thread URL ?

#

(I'm using the discord app)

#

Oh, I found it

#

no problem