#slowgen-processing-error

1 messages · Page 1 of 1 (latest)

ashen atlas
#

Do you have a request ID I can look at? Or do you have other details?

ripe kernel
#

pi_3KaSNJG6IeRpDPne0cSzNs32

#

I'm basically looking for the message that is returned when someone tries to confirm an already confirmed payment. Is there such a thing

ashen atlas
ripe kernel
#

Yes I can also see that in the console but in the dom it is A processing error occurred. from error.message using Stripe's code snippets

#

I can't seem to get that message You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed. in the DOM

ashen atlas
#

Ah, so your confusion is why you're seeing A processing error occurred client-side, when the server-side error is You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed, correct?

ripe kernel
#

That's right.

#

What should I look for if I am trying to find only a response for a confirmed payment

#

If that makes sense

ashen atlas
#

Sso I believe client-side we surface the A processing error occurred whenever the request has the error code payment_intent_unexpected_state . Is there a specific reason you need this level of detail client-side about the error?

ripe kernel
#

I just want to stop users from trying to pay again if there was an error e.g. line dropped/generic error but the intent is still in session but they don't know that

ashen atlas
#

I don't know what your UI look like, but you could just disable whatever button/UI component is triggering confirmation if the Payment Intent doesn't have a status of requires_payment_intent or requires_confirmation