1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/src
epriestley 9c43029277 Genericize "Add Payment Method" form
Summary:
Ref T2787. For payment methods that allow you to add a billable method (i.e., a credit card), move all the logic into the provider. In particular:

  - Providers may (Stripe, Balanced) or may not (Paypal, MtGox) allow you to add rebillable payment methods. Providers which don't allow rebillable methods will appear at checkout instead and we'll just invoice you every month if you don't use a rebillable method.
  - Providers which permit creation of rebillable methods handle their own data entry, since this will be per-provider.
  - "Add Payment Method" now prompts you to choose a provider. This is super ugly and barely-usable for the moment. When there's only one choice, we'll auto-select it in the future.

Test Plan: Added new Stripe payment methods; hit all the Stripe errors.

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D5756
2013-04-25 09:46:32 -07:00
..
aphront Genericize "Add Payment Method" form 2013-04-25 09:46:32 -07:00
applications Genericize "Add Payment Method" form 2013-04-25 09:46:32 -07:00
docs Document where Arcanist configuration can be set 2013-04-20 11:44:29 -07:00
infrastructure Sql Patch to update the user_externalaccount table. 2013-04-24 15:14:26 -07:00
view Feed Story UI Examples. 2013-04-24 15:18:58 -07:00
__celerity_resource_map__.php Genericize "Add Payment Method" form 2013-04-25 09:46:32 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Add basic payment providers to Phortune 2013-04-25 09:45:43 -07:00