Page MenuHomePhabricator

BUG: Language error in "Transaction could not be accepted" page
Closed, ResolvedPublic

Description

Impact to donors: not hearing complaints about this, but we can guess from the ELEVATE spreadsheet that 5 - 20% of all non-English attempted donors are seeing this error page in the wrong language.

I was testing an esES donation and got our "Your transaction could not be accepted page" when submitting my payment details, probably for AVS reasons. However, the error page was in English when I had tried to donate on a Spanish flow.

I tested this in svSE and zhCN and got an English error page for those as well when I provided an incorrect CVV. What's weird is that the svSE and esES error links showed that my language was es or sv, but the zhCN flow seemed to have forgotten my language. See examples below:

  • esES transaction (ID 5312902143). Link for error page:

https://payments.wikimedia.org/index.php?title=Special:GlobalCollectGateway&appeal=JimmyQuote&ffname=error-cc&gateway=globalcollect&country=ES&currency_code=EUR&amount=1&language=es&utm_source=.default~default~default~default~control.cc&utm_medium=&utm_campaign=&payment_method=cc

  • svSE transaction (ID 9843227455). Link for error page:

https://payments.wikimedia.org/index.php?title=Special:GlobalCollectGateway&appeal=JimmyQuote&ffname=error-cc&gateway=globalcollect&country=SE&currency_code=SEK&amount=6.6&language=sv&utm_source=.default~default~default~default~control.cc&utm_medium=&utm_campaign=&payment_method=cc

  • zhCN transaction (ID 991958335). Link for error page:

https://payments.wikimedia.org/index.php?title=Special:GlobalCollectGateway&appeal=JimmyQuote&ffname=error-cc&gateway=globalcollect&country=CN&currency_code=CNY&amount=6.5&language=en&utm_source=.default~default~default~default~control.cc&utm_medium=&utm_campaign=&payment_method=cc

I don't know what to make of this, but it definitely seems like there is a problem with languages for our error pages. This may also be related to T94506, not sure.

Event Timeline

CCogdill_WMF assigned this task to atgo.
CCogdill_WMF raised the priority of this task from to Needs Triage.
CCogdill_WMF updated the task description. (Show Details)
atgo triaged this task as Medium priority.Apr 20 2015, 6:59 PM
atgo set Security to None.

Change 205348 had a related patch set uploaded (by Awight):
Fix totally wrong language things

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

The issue is that we're not including the "uselang" parameter in the error page, and the "language" param is not interpreted by MediaWiki, so the default language (English) will be used.

Change 205354 had a related patch set uploaded (by Awight):
"language" parameter will work without "uselang"

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

awight renamed this task from Language error in "Transaction could not be accepted" page to BUG: Language error in "Transaction could not be accepted" page.Apr 20 2015, 7:46 PM
awight moved this task from Doing to Review on the Fundraising Sprint Indigo Girls board.

Change 205354 merged by jenkins-bot:
"language" parameter will work without "uselang"

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

Change 205456 had a related patch set uploaded (by Awight):
Hack more language globals

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

Change 205456 merged by jenkins-bot:
Hack more language globals

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

This must have been fixed by one of the friendly gremlins. I guess the other language fixes over the case where language is set but uselang is not.