stripe: Allow user to update email for sending invoice.

This commit is contained in:
Aman Agrawal 2024-06-30 06:01:07 +00:00 committed by Tim Abbott
parent 6f094f0350
commit 9a4a07d933
1 changed files with 6 additions and 1 deletions

View File

@ -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(