Page MenuHomePhabricator

Automatically bill subscriptions when a payment method is available
ClosedPublic

Authored by epriestley on Jan 31 2015, 6:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 2:10 AM
Unknown Object (File)
Sat, Feb 8, 2:10 AM
Unknown Object (File)
Sat, Feb 8, 2:10 AM
Unknown Object (File)
Sat, Feb 8, 2:10 AM
Unknown Object (File)
Sat, Feb 8, 2:10 AM
Unknown Object (File)
Wed, Feb 5, 3:46 AM
Unknown Object (File)
Mon, Feb 3, 4:49 PM
Unknown Object (File)
Wed, Jan 29, 10:57 PM
Subscribers
Tokens
"Mountain of Wealth" token, awarded by johnny-bit.

Details

Summary

Ref T6881.

  • Allow users to set a default payment method for a subscription, which we'll try to autobill (not all payment methods are autobillable, so we can't require this in the general case, and a charge might fail anyway).
  • If a subscription has an autopay method, try to automatically bill it.
  • Otherwise, we'll send them an email like "hey here's a bill, it couldn't autopay for some reasons, go pay it and fix those if you want".
  • (That email doesn't exist yet but there's a comment about it.)
  • Also some UI cleanup.
Test Plan
  • Used bin/phortune invoice to autobill myself some fake test money.

Screen_Shot_2015-01-31_at_10.49.56_AM.png (1×1 px, 285 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Automatically bill subscriptions when a payment method is available.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Feb 1 2015, 5:21 PM
This revision was automatically updated to reflect the committed changes.