1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/phortune
epriestley ad991b0197 Handle Phortune charge failures cleanly
Summary:
Ref T2787. Currently, we kill a cart and dead-end the workflow on a charge failure.

Instead, fail the charge and reset the cart so the user can try using a valid payment instrument like a normal checkout workflow would.

Some shakiness/smoothing on WePay for the moment; PayPal is still made up since we don't have a "Hold" state yet.

Test Plan: {F215214}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D10666
2014-10-08 17:23:02 -07:00
..
application Mostly implement order refunds and cancellations 2014-10-08 15:33:25 -07:00
capability Add Merchants to Phortune 2014-10-07 10:55:16 -07:00
cart Mostly implement order refunds and cancellations 2014-10-08 15:33:25 -07:00
constants Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
control Convert AphrontFormControl to safe HTML 2013-02-05 15:52:46 -08:00
controller Handle Phortune charge failures cleanly 2014-10-08 17:23:02 -07:00
currency Mostly implement order refunds and cancellations 2014-10-08 15:33:25 -07:00
editor Allow merchants to disable payment providers and show more UI info 2014-10-08 08:31:24 -07:00
exception Implement Balanced Payments as a PhortunePaymentProvider 2013-04-25 09:48:04 -07:00
phid Allow merchant controllers to review orders in Phortune 2014-10-08 14:40:02 -07:00
product Mostly implement order refunds and cancellations 2014-10-08 15:33:25 -07:00
provider Handle Phortune charge failures cleanly 2014-10-08 17:23:02 -07:00
query Allow merchant controllers to review orders in Phortune 2014-10-08 14:40:02 -07:00
storage Handle Phortune charge failures cleanly 2014-10-08 17:23:02 -07:00
view Minor formatting changes 2014-10-08 08:39:49 +11:00