Page MenuHomePhabricator

Fix a Phortune billing issue where subscription autopay could charge disabled cards
ClosedPublic

Authored by epriestley on Feb 7 2018, 3:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 6:26 AM
Unknown Object (File)
Tue, Nov 19, 2:53 AM
Unknown Object (File)
Fri, Nov 15, 1:51 PM
Unknown Object (File)
Mon, Nov 11, 5:41 AM
Unknown Object (File)
Sun, Nov 10, 11:59 AM
Unknown Object (File)
Wed, Nov 6, 5:55 PM
Unknown Object (File)
Tue, Nov 5, 1:56 PM
Unknown Object (File)
Oct 18 2024, 8:39 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
phortune1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19383
Build 26216: Run Core Tests
Build 26215: arc lint + arc unit

Event Timeline

I checked to see if PHI337 is another case of this, but as far as I can tell it isn't.

I'm checking to see if we've done this to anyone else, though.

We need to make some billing corrections here but I'll wait until this deploys.

epriestley mentioned this in Unknown Object (Maniphest Task).Feb 7 2018, 3:37 PM

I'll follow up in internally on T13067.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 8 2018, 2:31 PM
This revision was automatically updated to reflect the committed changes.