Vishnu Ks
975969aa89
stripe: Check for the existence of Pan objects in dev environment.
2018-07-25 23:03:55 -07:00
Vishnu Ks
d6ed2c69be
billing: Don't use self.realm and self.user in tests.
2018-07-25 23:03:55 -07:00
Vishnu Ks
15eff517f4
billing: Verify that plan names are not tampered.
2018-07-24 08:04:00 -07:00
Vishnu Ks
82fc82b7e2
billing: Sign and verify the seat count during upgrade.
2018-07-24 08:04:00 -07:00
Vishnu Ks
d75054fb15
billing: Add function to sign strings.
2018-07-24 07:16:12 -07:00
Tim Abbott
888434e6cd
test_stripe: Delete broken test.
...
This is an expedient way to fix master failing, which it has been
since f2861442f7
.
2018-07-23 22:20:12 -07:00
Vishnu Ks
f2861442f7
billing: Enforce Customer can have only one live subscription at a time.
2018-07-23 19:03:36 -07:00
Vishnu Ks
28167585b1
models: Rename several RealmAuditlog event types to past tense.
...
These event types haven't been used in production yet, and thus are
save to change without a migration.
2018-07-22 20:00:05 -07:00
Max Nussenbaum
8fd900626d
billing: Style billing page.
...
This adds styles to /billing.
2018-07-13 18:30:38 +05:30
Vishnu Ks
895c7703a6
billing: Show the billing page only to admins and billing users.
2018-07-12 12:51:38 +05:30
Rishi Gupta
b5753d0ddc
billing: Add initial support for seat based plans.
...
The main remaining todo for correctly populating
RealmAuditLog.requires_billing_update is supporting the de-seating (and
corresponding re-seating) that happens after being offline for two weeks.
2018-07-09 14:33:08 +05:30
Rishi Gupta
16334a1ba7
billing: Update billing system.
2018-07-09 14:33:07 +05:30