HomePhabricator

Phortune Cart Status, some one-time support

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

Provenance
epriestleyAuthored on
epriestleyPushed on Jul 23 2014, 5:36 PM
Reviewer
chad
Differential Revision
D10003: Phortune Cart Status, some one-time support
Parents
rP4c0f15b94b23: Phortune Charges
Branches
Unknown
Tags
Unknown

Event Timeline