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: Allow user to update email for sending invoice.

Aman Agrawal9a4a07d93338
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index 78977ca0d70..801ec6a8abb 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -847,7 +847,12 @@ class BillingSession(ABC):
business_profile={
"headline": "Invoice and receipt billing information",
},
- features={"customer_update": {"enabled": True, "allowed_updates": ["address", "name"]}},
+ features={
+ "customer_update": {
+ "enabled": True,
+ "allowed_updates": ["address", "name", "email"],
+ }
+ },
)
return stripe.billing_portal.Session.create(