#Chocacao - Error

1 messages · Page 1 of 1 (latest)

void swan
#

Hi 👋

modern mirage
#

Hello !

void swan
#

This message occurs when more than one process is trying access/change a single record at the same time. What can you tell me about your integration?

modern mirage
#

Yes so basically, a payment intent is created on the server and then sent to the website. This leads to the opening of the card data fields where the user inputs their card data.

#

Once that is done the customer presses "pay" and then Stripe takes on from that point

void swan
#

That doesn't sound like it should cause this error. Is your server doing anything else with the payment intent when it sends the client_secret to the front-end?

modern mirage
#

Appart from creating it on Stripe before sending the client_secret no

queen jasper
#

Hi there! @void swan had to step away... catching up.

#

Are you disabling your "pay" button when it is clicked?

#

Or can you click it multiple times?

modern mirage
#

My Web developper says no, I also tried in test mode to click on it like a lot and nothing strange happened

queen jasper
#

Hmm okay yeah as mentioned above it sounds like you are attempting to access the same object, likely the PaymentIntent, multiple times concurrently.

#

So it will likely take adding some logging to your server to see where this is happening.