Aman Agrawal
7ca85bed71
stripe: Fix $0 invoices being generated on upgrade.
...
Instead of charging the customer using the attached payment
method and then creating the invoice, we create an invoice and
force an immediate payment for the invoice via the attached
payment method.
2024-02-12 15:15:56 -08:00
Prakhar Pratyush
2055dfa83e
support: Add support to configure fixed-price plan with pay-by-invoice.
...
* Manually create & send invoice
* Configure a fixed-price plan with sent invoice-id.
* When customer pays, upgrade them to concerned plan.
2024-02-06 18:43:23 -08:00
Anders Kaseorg
93198a19ed
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
Aman Agrawal
09009ab03a
upgrade: Separate add card and purchase upgrade flow.
...
We now let user add / update card in a separate session and then
charge users after clicking on the purchase button.
2023-11-20 12:04:56 -08:00
Anders Kaseorg
7a4ca3135d
stripe: Prepare to switch to stripe inline annotations.
...
https://github.com/stripe/stripe-python/wiki/Inline-type-annotations
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-11-15 15:27:54 -08:00
Zixuan James Li
a81fab46e3
webhook: Do not allow None default for headers.
...
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-07-15 14:00:56 -07:00
Anders Kaseorg
0043c0b6b2
django: Use HttpRequest.headers.
...
Fixes #14769 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-13 20:42:20 -07:00
Anders Kaseorg
b0ce4f1bce
docs: Fix many spelling mistakes.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-02-07 18:51:06 -08:00
Vishnu KS
585d98d5a9
billing: Enforce the Stripe API version is in sync with billing system.
2021-11-05 17:23:10 -07:00
Vishnu KS
6c06858e02
billing: Migrate to Stripe hosted checkout page.
2021-11-05 17:23:10 -07:00