FetchError - Payment Intent Featch error unhandled

Created on 31 January 2023, almost 2 years ago

Problem/Motivation

Unhandled error resulting in occasional broken checkout flows. Users are not aware of Javascript error which is resulting in some abandoned carts.

We are observing sessions with the following JS errors:

(in promise) {"message":"Error fetching https://api.stripe.com/v1/payment_intents/[REDACTED]/confirm: Load failed","name":"FetchError","originalError":{},"requestUrl":"https://api.stripe.com/v1/payment_intents/[REDACTED]/confirm","type":"fetch_error"};

In some observations this caused the payment to fail but no message was presented to the user. After numerous failed attempts the carts were abandoned.

These payment errors should be caught and a relevant message displayed to the user.

πŸ› Bug report
Status

Active

Version

1.0

Component

Stripe Checkout

Created by

πŸ‡ΊπŸ‡ΈUnited States ben.hamelin Adirondack Mountains, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024