Homec4science

Adjust payment workflows to deal with merchants and configurable providers in…

Authored by epriestley <git@epriestley.com> on Oct 7 2014, 23:41.

Description

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

Details

Committed
epriestley <git@epriestley.com>Oct 7 2014, 23:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPH9aa5a8cb7b5f: Make payment providers a configurable property of Merchants in Phortune
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH9c4b8a0fb2eb: Adjust payment workflows to deal with merchants and configurable providers in… (authored by epriestley <git@epriestley.com>).Oct 7 2014, 23:41