Page MenuHomePhabricator

Bug (not yet deployed): Adyen no longer shows error page
Closed, ResolvedPublic

Description

Following this change, the redirect to the error page gets overridden by the subsequent redirect to the ThankYou page.

Event Timeline

Oops, looks like there should be a 'return' after that redirect in the isFailed block.

Change 835261 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Return after redirecting to fail page

https://gerrit.wikimedia.org/r/835261

Screenshots demonstrating the issue:

Screenshot from 2022-09-26 22-28-30.png (844×1 px, 504 KB)

Screenshot from 2022-09-26 22-29-52.png (844×1 px, 499 KB)

This was triggered on the current master branch of DonationInterface, simply by entering incorrect date and cvv information for a test credit card. I guess it may be somewhat browser dependent, but it did happen to me on both Chrome and Firefox. The attached patch fixes the issue.

Change 835261 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Return after redirecting to fail page

https://gerrit.wikimedia.org/r/835261

XenoRyet set Final Story Points to 1.