Page MenuHomePhabricator

Handle new CANCELLED_BY_CONSUMER Ingenico responses.
Closed, ResolvedPublic

Description

Now that we're requesting the more descriptive status in the place of IN_PROGRESS, we should handle the normalising of this status to the final status of cancelled.

Event Timeline

Change 451786 had a related patch set uploaded (by Jgleeson; owner: Jgleeson):
[mediawiki/extensions/DonationInterface@master] Handle CANCELLED_BY_CONSUMER getHostedCheckoutStatus() responses.

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

Change 451786 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Handle CANCELLED_BY_CONSUMER getHostedCheckoutStatus() responses.

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

Looks like we need one more thing here, to do something besides show the donor a broken form. The easiest seems to be to treat the canceled status as 'failed' and show an error page which includes a 'try again' link.

Change 452366 had a related patch set uploaded (by Jgleeson; owner: Jgleeson):
[mediawiki/extensions/DonationInterface@master] WIP: Updated Ingenico CANCELLED_BY_CONSUMER mapping to now map to FAILED

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

Change 452366 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Updated behaviour for FinalStatus::CANCELLED to match FinalStatus::FAILED

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

Ejegg triaged this task as High priority.