Homec4science

Phortune Cart Status, some one-time support

Authored by epriestley <git@epriestley.com> on Jul 23 2014, 19:36.

Description

Phortune Cart Status, some one-time support

Summary:
Ref T2787. Carts need a status so we can tell if they've been purchased. Also kind of get WePay working as a one-time provider, and let charges not have a methodPHID (they won't for one-time providers).

All the status stuff is still super crazy rough and you can do things like start a checkout, add a bunch of stuff to your cart, complete the checkout, and have Phabricator think you paid for all the stuff you added. But this is fine for now since you can't actually edit carts, and also none of this is at all usable anyway. I'll refine some of the workflows in future diffs, for now I'm just getting things hooked up and technically working.

Test Plan:

  • Purcahsed a cart and got a sort of status/done screen instead of a "your money is gone" exception.
  • Went through the WePay flow and got a successful test checkout.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D10003

Details

Committed
epriestley <git@epriestley.com>Jul 23 2014, 19:36
Pushed
aubortJan 31 2017, 17:16
Parents
rPH4c0f15b94b23: Phortune Charges
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd6eb1c67e769: Phortune Cart Status, some one-time support (authored by epriestley <git@epriestley.com>).Jul 23 2014, 19:36