You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an error / flash message is generated with a failed card, then a second card is tried (and has an error), the previous message is shown instead of the new message.
Subsequently moving to a different page shows the flash message again, and it shouldn't
I've just been trying this on Aus Staging with v3.2.2 deployed, and I can't replicate the first part of this bug (subsequent messages not shown correctly) with Stripe SCA, but I can replicate with Stripe Connect...
Yes, that's it! Thank you for opening this issue @mkllnk! 👍
I could not reproduce this for Stripe-SCA either @Matt-Yorkley . But it seems to affect other flash messages as well, like on the cart page for example, after stock levels being reduced while on the checkout page:
Description
During checkout the payment can fail for several reasons, for example:
The first failure is shown correctly, but for subsequent failures the checkout page shows a previous error message.
Expected Behavior
The error message shown tells the reason for the most recent failure.
Actual Behaviour
The error message is often related to previous payment failures.
Steps to Reproduce
There are two symptoms of this issue:
Error showing twice
4444 3333 2222 1111
123
Wrong error on the checkout page
4000000000000002
123
4000000000000127
Animated Gif/Screenshot
Recorded by @filipefurtad0 for his comment on another issue: #5785 (comment)
Workaround
Load another page before checking out again to see the correct error. Otherwise, just check out with a valid card. 😉
Severity
bug-s3: a feature is broken but there is a workaround
Your Environment
Possible Fix
It's likely a problem with the flash error message. The flash is either not cleared or set twice.
The text was updated successfully, but these errors were encountered: