Page MenuHomePhabricator

Reset donor session when country changes (at least for Gravy)
Closed, ResolvedPublic

Description

We got a weird error where a payment failed trying to map a fiscal_number format for ES, even though we don't show fiscal_number fields in the ES form. Turns out the donor had submitted fiscal_number to a CL form previously, then reloaded donatewiki with a different country. Let's clear out the donor data from the session on country change like we do when method or gateway change.

Event Timeline

Change #1183179 had a related patch set uploaded (by Wfan; author: Wfan):

[mediawiki/extensions/DonationInterface@master] Reset donor session when country change

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

Change #1183179 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Reset donor session when country change

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

AKanji-WMF set Final Story Points to 2.