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, Dec 21, 11:13 PM
Unknown Object (File)
Sat, Dec 21, 11:13 PM
Unknown Object (File)
Fri, Dec 20, 2:12 AM
Unknown Object (File)
Fri, Dec 6, 5:37 PM
Unknown Object (File)
Thu, Dec 5, 9:03 PM
Unknown Object (File)
Nov 27 2024, 2:11 PM
Unknown Object (File)
Nov 23 2024, 6:26 AM
Unknown Object (File)
Nov 19 2024, 2:53 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.