Homec4science

Add some of a billing daemon skeleton

Authored by epriestley <git@epriestley.com> on Jan 30 2015, 20:29.

Description

Add some of a billing daemon skeleton

Summary:
Ref T6881. This adds the worker, and a script to make it easier to test. It doesn't actually invoice anything.

I'm intentionally allowing the script to double-bill since it makes testing way easier (by letting you bill the same period over and over again), and provides a tool for recovery if billing screws up.

(This diff isn't very interesting, just trying to avoid a 5K-line diff at the end.)

Test Plan: Used bin/phortune invoice ... to get the worker to print out some date ranges which it would theoretically invoice.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6881

Differential Revision: https://secure.phabricator.com/D11577

Details

Committed
epriestley <git@epriestley.com>Jan 30 2015, 20:29
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa65244c44918: Build a very basic subscription detail page in Phortune
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd804598f172f: Add some of a billing daemon skeleton (authored by epriestley <git@epriestley.com>).Jan 30 2015, 20:29