1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/phortune
epriestley 2bb4fc9ece Fix a Phortune billing issue where subscription autopay could charge disabled cards
Summary:
See support email. There's nothing tricky here, we were just missing a check. The different parts of this got built at different times so I think this was simply overlooked.

Also add a redundant check just to future-proof this and be on the safe side.

Test Plan: Used `bin/phortune invoice` to charge a pact subscription. After deleting the card, the charge failed with an appropriate error.

Reviewers: amckinley

Differential Revision: https://secure.phabricator.com/D19020
2018-02-08 06:30:59 -08:00
..
__tests__ Fix member edit transaction validation so it works for both implicit and explicit account creation 2017-04-14 10:24:15 -07:00
application Update UI for PhortuneAccount 2017-04-11 16:54:58 -07:00
capability Add Merchants to Phortune 2014-10-07 10:55:16 -07:00
cart Extend from Phobject 2015-06-15 18:02:27 +10:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
contentsource Modularize content sources 2016-03-26 11:59:45 -07:00
control phtize all the things 2015-05-22 21:16:39 +10:00
controller Minor UX tweaks to Phortune autopay 2017-08-10 07:39:18 -07:00
currency phtize all the things 2015-05-22 21:16:39 +10:00
edge Modernize PhortuneAccount with EditEngine/Modular Transactions 2017-04-11 12:33:15 -07:00
editor Use object PHIDs for "Thread-Topic" headers in mail 2018-02-08 06:21:00 -08:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
management Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
product Add an after-purchase hook to subscriptions in Phortune 2017-07-07 16:39:47 -07:00
provider Fix spelling 2017-10-09 10:48:04 -07:00
query Fix a Phortune billing issue where subscription autopay could charge disabled cards 2018-02-08 06:30:59 -08:00
storage Fix a Phortune billing issue where subscription autopay could charge disabled cards 2018-02-08 06:30:59 -08:00
subscription Add an after-purchase hook to subscriptions in Phortune 2017-07-07 16:39:47 -07:00
view Separate button CSS classes 2017-06-05 20:14:34 +00:00
worker Fix a Phortune billing issue where subscription autopay could charge disabled cards 2018-02-08 06:30:59 -08:00
xaction Modernize PhortuneAccount with EditEngine/Modular Transactions 2017-04-11 12:33:15 -07:00