Pēteris Caune
1b1899052c
Make payments_subscription.user_id not nullable
2023-11-22 10:17:01 +02:00
Pēteris Caune
4fa91e8336
Fix merge oops
...
Add back database fields that are present in migrations
but not in the model itself
2023-11-01 09:38:50 +02:00
Pēteris Caune
343e55bd4f
Improve type hints
2023-10-25 18:12:12 +03:00
Pēteris Caune
a308997b3a
Remove most of the hc.payments stuff
...
Why remove:
* For self-hosters, payment-related features are unused and dead weight
* For SaaS (any would-be Healthchecks.io competitors), the existing
payment handling logic is not very useful either, as it would need to
be heavily modified to match their business model, pricing, chosen
payment gateway
* For the hosted service (Healthchecks.io), the up-to-date billing code
lives in a private fork of this repo. Maintenance is easier if this
repo does not have an older, diverging version of the same
functionality
A few payment-related bits are staying at least for time being:
* the "USE_PAYMENTS" setting
* the hc.payments.models.Subscription model
* tiny stubs for the "Pricing" and "Billing" pages
They are used in various places in the code and templates,
and I think ripping them out in one go would be too disruptive.
2023-10-19 14:17:44 +03:00
Pēteris Caune
fa2e456353
Fix mypy warning
2023-10-19 10:56:59 +03:00
Pēteris Caune
161430fb10
Sort imports and add "from __future__ import annotations"
2022-10-17 16:52:15 +03:00
Pēteris Caune
95279f6f3f
Billing page allows setting up a subscription before a payment method is added.
2020-05-29 15:08:00 +03:00
Pēteris Caune
c057dbfb2c
Cleanup.
2020-04-20 11:54:27 +03:00
Pēteris Caune
f1880657fd
Added "Supporter" billing plan.
2020-04-07 12:32:20 +03:00
Pēteris Caune
8c7d3570a5
Remove unused imports, cleanup.
2020-04-07 10:08:20 +03:00
Pēteris Caune
f51a0a257e
Don't delete customer data in braintree when closing account.
...
Need customer data to stay in braintree until the end of each month for tax reports.
2020-02-03 11:11:21 +02:00
Pēteris Caune
accdfb637b
Remove PDF invoice generation bits - these are unlikely to ever be useful in the open source version.
2019-09-15 18:39:32 +03:00
Pēteris Caune
2489f86b38
Delete customer from Braintree when closing account.
2019-08-19 11:47:36 +03:00
Pēteris Caune
fa16bd4e42
Prepare for 3DS 2
2019-08-18 18:16:37 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black
2019-05-15 14:27:50 +03:00
Pēteris Caune
1a9f7e17f8
Cancelling a plan clears out Subscription.plan_name
2018-12-14 11:05:57 +02:00
Pēteris Caune
9e9c504e2d
Update plan names, nicer "Change Plan" form.
2018-09-25 13:12:21 +03:00
Pēteris Caune
521b089501
Remove First & Last name from Billing Details, to limit the amount of personal data we potentially store.
2018-05-02 21:41:39 +03:00
Pēteris Caune
9fb7ca7103
Users can specify a separate email address that will receive invoices.
2018-04-24 16:06:03 +03:00
Pēteris Caune
01fef3d054
Pricing updates.
2018-03-04 20:26:30 +02:00
Pēteris Caune
3efd70e50c
Adding "Standard (3 years)" plan.
2018-01-18 15:52:01 +02:00
Pēteris Caune
39bc12e351
Invoices to email.
2018-01-09 16:45:38 +02:00
Pēteris Caune
01c3a13922
Billing overhaul.
2018-01-09 13:31:43 +02:00
Pēteris Caune
cf5cbfaa3c
Annual subscriptions, updated Braintree Drop-in integration
2017-11-05 14:25:39 +02:00
Pēteris Caune
c04017c2b3
Updated pricing.
2017-07-15 01:46:41 +03:00
Pēteris Caune
74f7c50a65
Fix deprecation warnings.
2017-06-02 22:39:53 +03:00
Pēteris Caune
e685154cc2
"Close Account" section in Settings page. Fixes #95
2017-03-16 19:39:30 +02:00
Pēteris Caune
666706ef3e
Pricing updates.
2017-03-07 16:49:39 +02:00
Pēteris Caune
965e32884b
Django 1.10
2016-08-29 17:54:53 +03:00
Pēteris Caune
cd6e63bdb7
Don't require braintree to be always installed. Fixes #74
2016-08-10 23:46:32 +03:00
Pēteris Caune
9ad825ff83
Users can update payment method
2016-07-20 10:36:30 +03:00
Pēteris Caune
bb193cf4f1
Profile and Subscription managers use get_or_create to avoid some boilerplate
2016-03-11 12:42:46 +02:00
Pēteris Caune
7b98cf23a4
Adding tests to hc.payments
2016-01-02 17:07:48 +02:00
Pēteris Caune
31c10d357e
Updated pricing page, added billing history and invoices.
2015-12-28 18:55:46 +02:00
Pēteris Caune
2f0e6b5672
Notify user about first charge, show "Pricing" in top nav again.
2015-12-14 15:27:00 +02:00
Pēteris Caune
263f50058e
Braintree integration WIP.
2015-12-07 23:13:05 +02:00
Pēteris Caune
20edec4c94
Payments WIP
2015-11-22 12:20:36 +02:00
Pēteris Caune
7039188482
Payments with Braintree, WIP
2015-11-16 21:29:33 +02:00