-
-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flash error "The payment could not be processed. The payment could not be completed" when customers provide payment authorization #7644
Comments
I think this is a regression and maybe a release blocker. It does not occur in staging-AU which currently has this commit 8672969 staged in it. |
I did a bit of hunting and found the relevant Bugsnag: https://app.bugsnag.com/open-food-france/coopcircuits/errors/604b10a984971c00080d5b95?filters[event.since][0][type]=eq&filters[event.since][0][value]=30d&filters[error.status][0][type]=eq&filters[error.status][0][value]=open&filters[search][0][type]=eq&filters[search][0][value]=succeeded Wait... is that the right one? @filipefurtad0 can you remember which server did you encountered this on? |
Yes, that seems right @Matt-Yorkley - it was in staging-FR and staging-UK. That bugsnag would match 👍 |
Are we 100% sure this wasn't already in the last release? 😬 |
I'm not 100% sure... I double checked staging-AU which (according to Semaphore) has 8672969 and it's not occurring there. I just had a crash-course with @sauloperez on Ansiable and deploying previous releases to staging servers, but I have not tried these superpowers just yet 😄 |
So... we just confirmed that reverting #7562 fixes this issue. We'll need to take a look at it. It's already in production. |
Description
Despite payment success, the customer sees a red flash error indicating that
"The payment could not be processed. The payment could not be completed"
, after using the received link per email to payment provide authorization.Refreshing the page displays:
"The payment could not be processed. Invalid payment state: succeeded"
Note that navigating to other pages displays the error as well - this is the "memory effect" bug #7600.
Expected Behavior
If the payment is successful the flash error should not be displayed.
Actual Behaviour
A successfully authorized payment (verified in Stripe) triggers a misleading flash error to the user.
Steps to Reproduce
As an admin:
As a customer:
2. Log in as the respective customer
3. Take the link received per email and paste it into the customers browser session
4. Click "Complete Authentication"
5. See the error
"The payment could not be processed. The payment could not be completed."
6. Refresh the page.
7. See the error
"The payment could not be processed. Invalid payment state: succeeded"
Animated Gif/Screenshot
After refreshing the page, as a customer, the error changes to:
Workaround
Proposing:
bug-s2: a non-critical feature is broken, no workaround
Severity
Your Environment
Possible Fix
Maybe related to #7614.
The text was updated successfully, but these errors were encountered: