Page MenuHomePhabricator

Bad gateway error should be more helpful
Closed, ResolvedPublic1 Estimated Story Points

Description

As of today, we started sending people to the "bad title" error when they access a disabled gateway:

https://payments.wikimedia.org/index.php?title=Special:WorldpayGateway&appeal=JimmyQuote&ffname=worldpay&recurring=&utm_medium=sitenotice&utm_campaign=C14_frFR_dsk_FR&utm_source=B14_1106_frFR_dsk_top_txt_cnt.no-LP.cc&language=en&country=FR&currency_code=EUR&payment_method=cc&referrer=&returnto=&frequency=onetime&amount=10&amountGiven=&utm_key=2&uselang=en&gateway=worldpay&foo=you

That was a poor choice, I decided to do this just so the error message was translated into many languages, and at least vaguely correct.

Instead, we should redirect to the existing payments error page, so it gives the donor options for how to recover and donate another way.

Event Timeline

awight raised the priority of this task from to Needs Triage.
awight updated the task description. (Show Details)
awight subscribed.
awight set Security to None.
awight edited a custom field.

Change 214272 had a related patch set uploaded (by Awight):
Redirect to failure page when the gateway is disabled

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

Change 214272 merged by jenkins-bot:
Redirect to failure page when the gateway is disabled

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