1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/phortune/storage
epriestley 9c4b8a0fb2 Adjust payment workflows to deal with merchants and configurable providers in Phortune
Summary:
Ref T2787. Builds on D10649 by rebining existing objects (carts, charges, etc) to merchantPHIDs and providerPHIDs instead of an implicit global merchant and weird global artifacts (providerType / providerKey).

Basically:

  - When you create something that users can pay for, you specify a merchant to control where the payment goes.
  - Accounts are install-wide, but payment methods are bound to merchants. This seems to do a reasonable job of balancing usability and technical concerns.
  - Replace a bunch of weird links between objects with standard PHIDs.
  - Improve "add payment method" flow.

Test Plan: Went through the Fund flow with Stripe and WePay, funding an initiative.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D10652
2014-10-07 14:41:59 -07:00
..
PhortuneAccount.php Adjust payment workflows to deal with merchants and configurable providers in Phortune 2014-10-07 14:41:59 -07:00
PhortuneAccountTransaction.php Modernize Phortune PHID constants 2014-10-06 16:48:16 -07:00
PhortuneCart.php Adjust payment workflows to deal with merchants and configurable providers in Phortune 2014-10-07 14:41:59 -07:00
PhortuneCharge.php Adjust payment workflows to deal with merchants and configurable providers in Phortune 2014-10-07 14:41:59 -07:00
PhortuneDAO.php Phortune v0 2013-03-28 09:10:34 -07:00
PhortuneMerchant.php Add Merchants to Phortune 2014-10-07 10:55:16 -07:00
PhortuneMerchantTransaction.php Add Merchants to Phortune 2014-10-07 10:55:16 -07:00
PhortunePaymentMethod.php Adjust payment workflows to deal with merchants and configurable providers in Phortune 2014-10-07 14:41:59 -07:00
PhortunePaymentProviderConfig.php Make payment providers a configurable property of Merchants in Phortune 2014-10-07 14:41:41 -07:00
PhortunePaymentProviderConfigTransaction.php Make payment providers a configurable property of Merchants in Phortune 2014-10-07 14:41:41 -07:00
PhortuneProduct.php Modernize Phortune PHID constants 2014-10-06 16:48:16 -07:00
PhortunePurchase.php Modernize Phortune PHID constants 2014-10-06 16:48:16 -07:00
PhortuneSchemaSpec.php Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00