Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stripe: Set .api_version to make integration work again.

Mateusz Mandera4fc2b54eed43
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index 529942c3abb..fe373d7380a 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -55,6 +55,8 @@ DEFAULT_INVOICE_DAYS_UNTIL_DUE = 30
# The version of Stripe API the billing system supports.
STRIPE_API_VERSION = "2020-08-27"
+stripe.api_version = STRIPE_API_VERSION
+
def get_latest_seat_count(realm: Realm) -> int:
return get_seat_count(realm, extra_non_guests_count=0, extra_guests_count=0)