1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 16:30:59 +01:00
phorge-phorge/src/applications/phortune
epriestley 49ef13e876 Add WePay as a one-time payment provider
Summary:
Ref T2787.

I //think// we could also use WePay as a recurring payment provider, but this is somewhat messy (OAuth + requires account) -- basically it's "add a WePay account" instead of "add a credit card".

The WePay checkout workflow is a bit upsell-y but basically reasonable.

I like that their API just has a `request($method, $params)` method instead of 30,000 lines of methods for each request type. I did hit one bug; I'll send a pull for that.

Test Plan: Got as far as the charge callback in testing; the rest isn't implemented for any provider yet.

Reviewers: btrahan, vrana, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2787

Differential Revision: https://secure.phabricator.com/D5982
2013-05-21 15:34:46 -07:00
..
application Add initial cut of PayPal and pay-once-at-checkout providers to Phortune 2013-05-06 11:44:24 -07:00
constants General cleanup for adding payment methods in Phortune 2013-04-25 09:49:32 -07:00
control Convert AphrontFormControl to safe HTML 2013-02-05 15:52:46 -08:00
controller Show prices in "$... USD" in Phortune 2013-05-06 18:04:45 -07:00
currency Show prices in "$... USD" in Phortune 2013-05-06 18:04:45 -07:00
editor Phortune v0.1: products 2013-03-28 09:13:07 -07:00
exception Implement Balanced Payments as a PhortunePaymentProvider 2013-04-25 09:48:04 -07:00
option Add WePay as a one-time payment provider 2013-05-21 15:34:46 -07:00
provider Add WePay as a one-time payment provider 2013-05-21 15:34:46 -07:00
query Phortune v0.1: products 2013-03-28 09:13:07 -07:00
storage Show prices in "$... USD" in Phortune 2013-05-06 18:04:45 -07:00
view General cleanup for adding payment methods in Phortune 2013-04-25 09:49:32 -07:00