Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stripe: Upgrade to latest version.
Aman Agrawal8b11e88a912a
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.pyindex a01f0f59533..47c5a4e842e 100644--- a/corporate/lib/stripe.py+++ b/corporate/lib/stripe.py@@ -102,7 +102,7 @@ CARD_CAPITALIZATION = {}# The version of Stripe API the billing system supports.-STRIPE_API_VERSION = "2025-04-30.basil"+STRIPE_API_VERSION = "2025-09-30.clover"stripe.api_version = STRIPE_API_VERSION@@ -777,7 +777,7 @@ class BillingSession(ABC):assert customer is not None and customer.stripe_customer_id is not None# Check if customer has any $0 invoices.- list_params = stripe.Invoice.ListParams(+ list_params = stripe.params.InvoiceListParams(customer=customer.stripe_customer_id,limit=1,status="paid",@@ -854,7 +854,7 @@ class BillingSession(ABC):plan_tier: int,billing_schedule: int,charge_automatically: bool,- invoice_period: stripe.InvoiceItem.CreateParamsPeriod,+ invoice_period: stripe.params.InvoiceItemCreateParamsPeriod,license_management: str | None = None,days_until_due: int | None = None,on_free_trial: bool = False,@@ -892,7 +892,7 @@ class BillingSession(ABC):# If automatic charge fails, we simply void the invoice.# https://stripe.com/docs/invoicing/integration/automatic-advancement-collectionauto_advance = not charge_automatically- invoice_params = stripe.Invoice.CreateParams(+ invoice_params = stripe.params.InvoiceCreateParams(auto_advance=auto_advance,collection_method=collection_method,customer=customer.stripe_customer_id,@@ -3249,12 +3249,12 @@ class BillingSession(ABC):need_to_invoice = False# Track if we added renewal invoice item which is possibly eligible for discount.- renewal_invoice_period: stripe.InvoiceItem.CreateParamsPeriod | None = None+ renewal_invoice_period: stripe.params.InvoiceItemCreateParamsPeriod | None = Nonefor ledger_entry in LicenseLedger.objects.filter(plan=plan, id__gt=invoiced_through_id, event_time__lte=event_time).order_by("id"):# InvoiceItem variables.- invoice_item_params = stripe.InvoiceItem.CreateParams(+ invoice_item_params = stripe.params.InvoiceItemCreateParams(customer=plan.customer.stripe_customer_id)@@ -3312,7 +3312,7 @@ class BillingSession(ABC):else:collection_method = "send_invoice"days_until_due = DEFAULT_INVOICE_DAYS_UNTIL_DUE- invoice_params = stripe.Invoice.CreateParams(+ invoice_params = stripe.params.InvoiceCreateParams(auto_advance=True,collection_method=collection_method,customer=plan.customer.stripe_customer_id,@@ -3323,7 +3323,7 @@ class BillingSession(ABC):stripe_invoice = stripe.Invoice.create(**invoice_params)if invoice_item_params.get("description") is not None:- invoice_period = stripe.InvoiceItem.CreateParamsPeriod(+ invoice_period = stripe.params.InvoiceItemCreateParamsPeriod(start=datetime_to_timestamp(ledger_entry.event_time),end=datetime_to_timestamp(get_plan_renewal_or_end_date(plan, ledger_entry.event_time)diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.jsonindex e7046eeb4e4..5b1a7c43d49 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 100000,- "authorization_code": null,+ "authorization_code": "082087","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.jsonindex 1106ba28c34..195220b7123 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.jsonindex bb1cbbf6786..b05ae09bf78 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "add_minimum_licenses--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "add_minimum_licenses--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "add_minimum_licenses--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "add_minimum_licenses--Event.list.2.json","last_payment_error": null,"latest_charge": "add_minimum_licenses--Charge.list.1.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 100000,- "authorization_code": null,+ "authorization_code": "082087","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "add_minimum_licenses--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "add_minimum_licenses--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "add_minimum_licenses--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 100000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "add_minimum_licenses--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.3.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.3.jsonindex 9aa0707d3f3..183d0c355f4 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.create.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.create.1.jsonindex 87a1bad3a6a..a72c8f6ee62 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.jsonindex c7c9b5aefb1..748ed07c486 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 100000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.create.1.jsonindex 8164b55279e..6e88ed18a5a 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.list.1.jsonindex a5d2a1009ce..fbc2656953e 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.jsonindex c0c642fc52b..ecbbe0d9324 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 7200,- "authorization_code": null,+ "authorization_code": "119016","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.jsonindex 91b4b73e319..41b93499421 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 36000,- "authorization_code": null,+ "authorization_code": "062836","brand": "visa","checks": {"address_line1_check": "pass",@@ -170,7 +170,7 @@"payment_method_details": {"card": {"amount_authorized": 7200,- "authorization_code": null,+ "authorization_code": "119016","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.jsonindex 28708a521d6..c2c28441449 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.jsonindex 3e6d2608e98..c38e560139f 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "attach_discount_to_realm--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "attach_discount_to_realm--Event.list.2.json","last_payment_error": null,"latest_charge": "attach_discount_to_realm--Charge.list.1.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 7200,- "authorization_code": null,+ "authorization_code": "119016","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "attach_discount_to_realm--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "attach_discount_to_realm--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "attach_discount_to_realm--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 7200,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.jsonindex 582e72844ec..49bea9a6d3d 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.5.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.5.jsonindex 18ed6593b1c..9ac7bb1d04d 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.5.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.5.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.6.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.6.jsonindex 1b9714843ba..dba457fbb68 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.6.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.6.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -162,7 +162,7 @@"id": "attach_discount_to_realm--Event.list.6.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "attach_discount_to_realm--Event.list.6.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -170,7 +170,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -341,7 +341,7 @@"id": "attach_discount_to_realm--Event.list.6.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "attach_discount_to_realm--Event.list.6.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -349,7 +349,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -371,6 +371,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "attach_discount_to_realm--Event.list.6.json","last_payment_error": null,"latest_charge": "attach_discount_to_realm--Charge.list.2.json",@@ -420,7 +421,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -481,7 +482,7 @@"payment_method_details": {"card": {"amount_authorized": 36000,- "authorization_code": null,+ "authorization_code": "062836","brand": "visa","checks": {"address_line1_check": "pass",@@ -547,7 +548,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -716,7 +717,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -901,7 +902,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -923,6 +924,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "attach_discount_to_realm--Event.list.6.json","last_payment_error": null,"latest_charge": null,@@ -972,7 +974,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1153,7 +1155,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1168,6 +1170,7 @@"invoice": "attach_discount_to_realm--Event.list.6.json","livemode": false,"metadata": {},+ "net_amount": 36000,"object": "invoiceitem","parent": null,"period": {@@ -1199,7 +1202,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1313,7 +1316,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "attach_discount_to_realm--Event.list.6.json",@@ -1327,7 +1330,7 @@"type": "invoice.created"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.7.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.7.jsonindex ce78c33e212..399e09bc7d5 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.7.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.7.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.1.jsonindex 6b3e41d291e..1209476c162 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.2.jsonindex 8639b80a3d4..a9316393897 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.2.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.3.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.3.jsonindex 7f04015042c..cc8d44a40ed 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.jsonindex 40c42107e5d..c8c5448a45f 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 7200,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.jsonindex a2d79e7aacc..bf00ecb74ee 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 36000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.jsonindex 5431228e95a..d54032e5772 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.1.jsonindex 22d4f05f278..7297cfb1f42 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.2.jsonindex 67368792a35..691d5f5fca2 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.create.2.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.1.jsonindex 2f905353778..d0e9b9e429f 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.2.jsonindex 8879453e97a..a67586b33e9 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--checkout.Session.list.2.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.jsonindex 883e52659e9..0a5e0025a31 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.2.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.2.jsonindex 950129a102f..f058285252c 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "billing_page_permissions--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "billing_page_permissions--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "billing_page_permissions--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "billing_page_permissions--Event.list.2.json","last_payment_error": null,"latest_charge": "billing_page_permissions--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "840154","brand": "visa","checks": {"address_line1_check": "pass",@@ -370,7 +371,7 @@"id": "billing_page_permissions--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "billing_page_permissions--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "billing_page_permissions--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "billing_page_permissions--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +960,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "billing_page_permissions--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "billing_page_permissions--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.3.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.3.jsonindex 08052d52d8f..fee040cef8b 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.create.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.create.1.jsonindex 0e020e933be..a100590daeb 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.jsonindex 40c3d12b119..d152628060e 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.create.1.jsonindex cbcc2fddb96..2adb93692a8 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.list.1.jsonindex 5e56eac0eaf..a4235d50843 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--Event.list.1.json b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--Event.list.1.jsonindex 37d4178fbfd..dc9e8647315 100644--- a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 48000,+ "amount_requested": 48000,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "cancel_downgrade_at_end_of_free_trial--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "currency": "usd",+ "id": "cancel_downgrade_at_end_of_free_trial--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "cancel_downgrade_at_end_of_free_trial--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.create.1.jsonindex 4638a86eb33..4cf53bcc426 100644--- a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.list.1.jsonindex ccf776bb716..a22ad2b56f1 100644--- a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Event.list.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Event.list.1.jsonindex a2b26612fe3..38da9fbb38b 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.create.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.create.1.jsonindex ac14cc11218..be64938c82a 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.jsonindex 47841202eb5..17e19a3bbb8 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.json@@ -8,6 +8,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","param": null,"payment_intent": {"amount": 48000,@@ -28,6 +29,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "card_attached_to_customer_but_payment_fails--Invoice.pay.1.json","last_payment_error": {"advice_code": "try_again_later",@@ -36,6 +38,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {@@ -175,7 +178,7 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899180",+ "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913616","setup_intent": null,"source": null,"type": "card_error"@@ -188,23 +191,23 @@"Access-Control-Max-Age": "300","Cache-Control": "no-cache, no-store","Connection": "keep-alive",- "Content-Length": "5309",- "Content-Security-Policy": "base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=TukYFDLV2lHfmYsKO8QKy1Rs8CFOE-Ik92j0oi7ZNOKjRVL1NdvjDcjXu7lLN5teYlBHlKnXeBBeKYy1",+ "Content-Length": "5394",+ "Content-Security-Policy": "base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=irAykxLghuCmgqrIXf-pM0galma1w0YXzU99WaktruwmWPN8iPfQgKGBqdAaBd-GGagPQijh3O5rblPQ","Content-Type": "application/json","Date": "NORMALIZED DATETIME",- "Idempotency-Key": "1fa7f874-a11d-4037-8138-8376033b630c",+ "Idempotency-Key": "038fe7d4-6476-4c9f-9ae3-65780db13c1a","Original-Request": "req_NORMALIZED","Request-Id": "req_NORMALIZED","Server": "nginx","Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload","Stripe-Should-Retry": "false",- "Stripe-Version": "2025-04-30.basil",+ "Stripe-Version": "2025-09-30.clover","Vary": "Origin","X-Stripe-Priority-Routing-Enabled": "true","X-Stripe-Routing-Context-Priority-Tier": "api-testmode",- "X-Wc": "ABGHI"+ "X-Wc": "ABGHIJ"},- "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"payment_intent\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json\",\n \"object\": \"payment_intent\",\n \"amount\": 48000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {\n }\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json_secret_G3EUmoq04HcLKw0N7NRThkD06\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"cus_NORMALIZED\",\n \"description\": \"Payment for Invoice\",\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {\n },\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {\n },\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"link\": {\n \"persistent_token\": null\n }\n },\n \"payment_method_types\": [\n \"card\",\n \"link\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": \"Zulip Cloud Standard\",\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {\n },\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899180\",\n \"type\": \"card_error\"\n }\n}\n",+ "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_intent\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json\",\n \"object\": \"payment_intent\",\n \"amount\": 48000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json_secret_LfzkMlKx921LSChr94gZnpAuj\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"cus_NORMALIZED\",\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 10,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"link\": {\n \"persistent_token\": null\n }\n },\n \"payment_method_types\": [\n \"card\",\n \"link\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": \"Zulip Cloud Standard\",\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 10,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913616\",\n \"type\": \"card_error\"\n }\n}\n","http_status": 402,"json_body": {"error": {@@ -214,6 +217,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_intent": {"amount": 48000,"amount_capturable": 0,@@ -233,6 +237,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "card_attached_to_customer_but_payment_fails--Invoice.pay.1.json","last_payment_error": {"advice_code": "try_again_later",@@ -241,6 +246,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {@@ -380,7 +386,7 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899180",+ "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913616","type": "card_error"}},diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.jsonindex f898d1d1b03..96d8dd5d822 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.create.1.jsonindex 71ed07bf04c..0f0bdd66407 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.list.1.jsonindex 1075c96488e..c6c07ad7981 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.create.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.create.1.jsonindex 27682827c4f..c177b8b1e44 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.jsonindex 65fbc4de65e..74210ad688c 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.json@@ -142,5 +142,5 @@"total_excluding_tax": 12000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.jsonindex 0f05caf0940..7311a8e47eb 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.json@@ -144,7 +144,7 @@"total_excluding_tax": 12000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.jsonindex e702bf3928a..68b24d6c785 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 12000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.1.jsonindex 65c4a695d49..07cee855592 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.2.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.2.jsonindex 93422aaa037..ea31f4bbdc0 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.2.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.2.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.3.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.3.jsonindex e9333ab3fc2..cdf399314cd 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.3.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.3.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.4.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.4.jsonindex c836dd48002..5e5c59feb03 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.4.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.4.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.5.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.5.jsonindex e0cdb49b051..1a48c629088 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.5.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.5.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.6.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.6.jsonindex 6c2b1a7b8b9..969e3fff48d 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.6.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.6.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.7.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.7.jsonindex 48dd566f9d4..0a443ace159 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.7.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.7.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.8.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.8.jsonindex 29b5a156609..d6ef0c872b4 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.8.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.8.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.9.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.9.jsonindex 1e66fc72fb9..ead534ded67 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.9.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.create.9.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.1.jsonindex 4156adccd89..020166657e5 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.2.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.2.jsonindex a697c572053..4a00add78f2 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.2.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.2.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.3.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.3.jsonindex 1a1acb35431..f1395499daf 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.3.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.3.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.4.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.4.jsonindex 4c1dc9d08d0..6a95ca37be8 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.4.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.4.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.5.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.5.jsonindex 1791e33b875..4bde8af4392 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.5.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.5.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.6.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.6.jsonindex 5c2cf744228..b7de2c39909 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.6.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.6.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.7.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.7.jsonindex 6db3a53853e..0da3986565c 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.7.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.7.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.8.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.8.jsonindex 7039dd1edc1..b3d4a67c6da 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.8.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.8.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.9.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.9.jsonindex a49227c28d4..50cf6ed4b5e 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.9.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--checkout.Session.list.9.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.jsonindex 0dcf28b94ce..9d1654ee7a3 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.2.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.2.jsonindex 78234766066..106688f8638 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "customer_has_credit_card_as_default_payment_method--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "customer_has_credit_card_as_default_payment_method--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "customer_has_credit_card_as_default_payment_method--Event.list.2.json","last_payment_error": null,"latest_charge": "customer_has_credit_card_as_default_payment_method--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "283515","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "customer_has_credit_card_as_default_payment_method--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "customer_has_credit_card_as_default_payment_method--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "customer_has_credit_card_as_default_payment_method--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.3.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.3.jsonindex b1725620352..db950e91e4e 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.create.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.create.1.jsonindex 577e3715a07..f5c018a90fe 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.jsonindex 0c69e4f46b3..135a6b9e28d 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.create.1.jsonindex 97833ec91fb..a527c91f068 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.list.1.jsonindex 3386b9a636b..9ea5685afdc 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.jsonindex 76945efefde..4053e082b53 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.2.jsonindex 6035e548e0b..5c95e6ff9d1 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "customer_minimum_licenses_for_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "customer_minimum_licenses_for_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "customer_minimum_licenses_for_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "customer_minimum_licenses_for_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "customer_minimum_licenses_for_plan--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 72000,- "authorization_code": null,+ "authorization_code": "084938","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "customer_minimum_licenses_for_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "customer_minimum_licenses_for_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "customer_minimum_licenses_for_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 72000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "customer_minimum_licenses_for_plan--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.3.jsonindex fb3bfa6358a..df7e247572e 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.3.json@@ -1,7 +1,42 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 48000,+ "amount_requested": 48000,+ "created": 1000000000,+ "currency": "usd",+ "id": "customer_minimum_licenses_for_plan--Event.list.3.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +205,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.1.jsonindex 04bf5e08e1a..65daa945f53 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.2.jsonindex c193e01c0bd..ecdae8f47d8 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.jsonindex 6f37f9dbfe9..ff4cefb394f 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 72000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.jsonindex 86e8270e6dc..89ffa8735c0 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 72000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.create.1.jsonindex 6b691c9d6d1..fb65321db2e 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.list.1.jsonindex cc0eceaa46c..8f5c75c23c4 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--Event.list.1.json b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--Event.list.1.jsonindex 03448ad45d1..f61947595d1 100644--- a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.create.1.jsonindex 39ab0ec83de..c9ce6e63089 100644--- a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.list.1.jsonindex f0bf9703c80..12f0cbfd4bf 100644--- a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.jsonindex 6a9f7ca0bff..d3fab9d0d64 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.json@@ -1,154 +1,28 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 24000,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 24000,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": true,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",+ "amount_paid": 100000,+ "amount_requested": 100000,"created": 1000000000,"currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap","id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 24000,- "currency": "usd",- "description": "Zulip Cloud Standard - renewal",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",- "invoice": "downgrade_realm_and_void_open_invoices--Event.list.1.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1388631845,- "start": 1357095845- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "4000"- },- "quantity": 6,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/downgrade_realm_and_void_open_invoices--Event.list.1.json/lines"- },+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {},- "next_payment_attempt": 1000000000,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "open",+ "status": "paid","status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 24000,- "subtotal_excluding_tax": 24000,- "test_clock": null,- "total": 24000,- "total_discount_amounts": [],- "total_excluding_tax": 24000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000+ "canceled_at": null,+ "paid_at": 1000000000+ }}},"id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",@@ -156,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "invoice.finalized"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.2.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.2.jsonindex 3bf7953858e..346324b8d3e 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "downgrade_realm_and_void_open_invoices--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +251,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -419,7 +420,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -605,7 +606,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +628,7 @@"currency": "usd","customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "downgrade_realm_and_void_open_invoices--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +678,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -857,7 +859,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +874,7 @@"invoice": "downgrade_realm_and_void_open_invoices--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +906,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +1020,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "downgrade_realm_and_void_open_invoices--Event.list.2.json",@@ -1031,7 +1034,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +1084,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.3.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.3.jsonindex 12621922848..45c1d71d3c9 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.1.jsonindex 454a9c4a230..72bc9a9e9c6 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.2.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.2.jsonindex eb8d3a64724..75045dd0bcb 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.jsonindex 6e058fd7f9d..b949528358c 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.jsonindex 56e605f132b..ab7cb1336cb 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.1.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.1.jsonindex fc86131fffb..db36d210b3a 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.2.jsonindex b2e073c299d..054d1735963 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.3.jsonindex 6f02327f491..615f91b6570 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.4.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.4.jsonindex ca4f09c59db..2d6e9366134 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.4.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.4.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.5.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.5.jsonindex 04c0d057b26..a0696dd0fbd 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.5.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.5.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.6.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.6.jsonindex 4ab45c97c47..5359bba7e53 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.6.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.6.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.7.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.7.jsonindex 40b45ae9fc6..33223eaf399 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.7.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.7.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.8.jsonindex 17eef772043..4063600f3a1 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.create.8.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.jsonindex 7146b4e8abe..0ac80f260fb 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.json@@ -142,5 +142,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.jsonindex e1bf13b20e3..fc4dfcd49df 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.json@@ -142,5 +142,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.jsonindex a1bbaabc87a..c81adf9d67c 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.json@@ -144,7 +144,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},{"account_country": "US",diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.jsonindex f21dff70c86..2bd6778f1b5 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.json@@ -290,7 +290,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.jsonindex f21dff70c86..2bd6778f1b5 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.json@@ -290,7 +290,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.jsonindex b6487a3b3ae..f0d4425527b 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.json@@ -142,5 +142,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.jsonindex 63c0a11ab33..db67521ee87 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.jsonindex 7321def7a9c..ce881adbcaf 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.jsonindex 145f9a1ed2d..54270f2053c 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.jsonindex d3290519538..86c4632d738 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.jsonindex 4060979c3d8..c1e301a4df3 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.jsonindex 60e5ae9f34a..1891db018fa 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.jsonindex d5d89d135d8..2c625a81b69 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.jsonindex ef7c479836d..2bbedc70bd9 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/end_free_trial--Event.list.1.json b/corporate/tests/stripe_fixtures/end_free_trial--Event.list.1.jsonindex e11679c2bbe..1d39d2506f2 100644--- a/corporate/tests/stripe_fixtures/end_free_trial--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/end_free_trial--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 72000,+ "amount_requested": 72000,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "end_free_trial--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "currency": "usd",+ "id": "end_free_trial--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "end_free_trial--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.create.1.jsonindex 5aec90ac27c..75f17c368a3 100644--- a/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.list.1.jsonindex 9cc5a856c7f..33a40b26404 100644--- a/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/end_free_trial--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.jsonindex 17b87572fde..114ecc2a4ac 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.json@@ -1,95 +1,21 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "adaptive_pricing": null,- "after_expiration": null,- "allow_promotion_codes": null,- "amount_subtotal": null,- "amount_total": null,- "automatic_tax": {- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "billing_address_collection": "required",- "cancel_url": "http://annual-free.zulipdev.com:9991/billing/",- "client_reference_id": null,- "client_secret": null,- "collected_information": {- "shipping_details": null- },- "consent": null,- "consent_collection": null,+ "configuration": "bpc_NORMALIZED","created": 1000000000,- "currency": null,- "currency_conversion": null,- "custom_fields": [],- "custom_text": {- "after_submit": null,- "shipping_address": null,- "submit": null,- "terms_of_service_acceptance": null- },"customer": "cus_NORMALIZED",- "customer_creation": null,- "customer_details": {- "address": null,- "email": "[email protected]",- "name": null,- "phone": null,- "tax_exempt": null,- "tax_ids": null- },- "customer_email": null,- "discounts": null,- "expires_at": 1000000000,+ "flow": null,"id": "fixed_price_plans--Event.list.1.json",- "invoice": null,- "invoice_creation": null,"livemode": false,"locale": null,- "metadata": {- "type": "card_update",- "user_id": "25"- },- "mode": "setup",- "object": "checkout.session",- "payment_intent": null,- "payment_link": null,- "payment_method_collection": "always",- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "request_three_d_secure": "automatic"- }- },- "payment_method_types": [- "card"- ],- "payment_status": "no_payment_required",- "permissions": null,- "phone_number_collection": {- "enabled": false- },- "recovered_from": null,- "saved_payment_method_options": null,- "setup_intent": "seti_NORMALIZED",- "shipping_address_collection": null,- "shipping_cost": null,- "shipping_options": [],- "status": "expired",- "submit_type": null,- "subscription": null,- "success_url": "http://annual-free.zulipdev.com:9991/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",- "total_details": null,- "ui_mode": "hosted",- "url": null,- "wallet_options": null+ "object": "billing_portal.session",+ "on_behalf_of": null,+ "return_url": "http://asdfsdaf.zulipdev.com:9991/billing/",+ "url": "https://billing.stripe.com/p/session/test_NORMALIZED"}},"id": "fixed_price_plans--Event.list.1.json",@@ -97,10 +23,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": null,- "idempotency_key": null+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "checkout.session.expired"+ "type": "billing_portal.session.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.2.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.2.jsonindex fe7e0254c49..1eb70f1a8c8 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -171,7 +171,7 @@"id": "fixed_price_plans--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "fixed_price_plans--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "fixed_price_plans--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "fixed_price_plans--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +251,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -419,7 +420,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -605,7 +606,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +628,7 @@"currency": "usd","customer": "fixed_price_plans--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "fixed_price_plans--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +678,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -831,7 +833,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -857,7 +859,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +874,7 @@"invoice": "fixed_price_plans--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +906,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +1020,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "fixed_price_plans--Event.list.2.json",@@ -1031,7 +1034,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +1084,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.3.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.3.jsonindex 616bf89babd..f92dc67fb05 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.1.jsonindex 514175f9641..16041c048ce 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.2.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.2.jsonindex 41509990202..48697f9b61f 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.jsonindex 3fb3367ddcc..dd0a41cc438 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.json@@ -142,5 +142,5 @@"total_excluding_tax": 100,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.jsonindex 0a1061a16fe..9fef97916db 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.json@@ -144,7 +144,7 @@"total_excluding_tax": 100,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},{"account_country": "US",diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.jsonindex e4d957d4e17..437ad1e85eb 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.jsonindex 5cda97d9c8e..250a793da6f 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 100,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.jsonindex 4dd6e586bf2..ddf960c8cf5 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 1850,+ "amount_requested": 1850,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "demo.example.com 6cde5f7a-1f7",- "discount": null,- "email": "[email protected]",- "id": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "currency": "usd",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "remote_server_str": "demo.example.com 6cde5f7a-1f7",- "remote_server_uuid": "6cde5f7a-1f7e-4978-9716-49f69ebfc9fe"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.2.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.2.jsonindex 571a8aee54e..f1d7d0209f5 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": null,+ "authorization_code": "077681","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_not_available_for_complimentary_access_customer--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 6300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_not_available_for_complimentary_access_customer--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.3.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.3.jsonindex 094eea88d34..62fe516f4b5 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.3.json@@ -1,7 +1,42 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 10000,+ "amount_requested": 10000,+ "created": 1000000000,+ "currency": "usd",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.3.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +244,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +452,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +670,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +692,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_not_available_for_complimentary_access_customer--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.create.1.jsonindex 933a600b2ce..ebb460c6ba9 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.jsonindex ea67b12db74..935921a9af4 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.jsonindex e473c0fdcd2..0227ccb1664 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.create.1.jsonindex 79d5896c2b6..8024cf23c86 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.list.1.jsonindex 16811217178..75c553739a3 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.jsonindex c3a34c94002..e29d2bcc1b2 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.jsonindex 72b3def1ef4..bc5d72e33f1 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": null,+ "authorization_code": "414234","brand": "visa","checks": {"address_line1_check": "pass",@@ -120,7 +120,7 @@"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -322,7 +322,7 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json",@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -530,7 +530,7 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"effective_at": null,@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -825,7 +826,7 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 6300,@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 6300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.3.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.3.jsonindex 124d4b8ec74..695f128f809 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -195,7 +195,7 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.3.json",@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -403,7 +403,7 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.3.json",@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -611,7 +611,7 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.create.1.jsonindex fd1d1254670..605156c071c 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.jsonindex faf33c60920..8694f8f4bdd 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.json@@ -189,5 +189,5 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.jsonindex 33a7a1702f6..9d489daeaac 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.json@@ -189,5 +189,5 @@"total_excluding_tax": 4300,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.jsonindex 3a464fa4c50..f1457294886 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.jsonindex f8229429f92..9f69a4edc4b 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.create.1.jsonindex 1c9fe144208..81ccd3b1340 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.list.1.jsonindex 36c6ede3ed2..a47f783560e 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.1.jsonindex 83d7bea4e76..e98ed66c58e 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 72000,+ "amount_requested": 72000,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",+ "currency": "usd","id": "free_trial_upgrade_by_card--Event.list.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "free_trial_upgrade_by_card--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.2.jsonindex 7702cc2c219..3a0fe4b8803 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.1.jsonindex 46b631a0882..a35f59c3558 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.2.jsonindex 29c97d5b648..ce00e9e4fc2 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.3.jsonindex cb3e2dd8071..b5a544579b1 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.jsonindex 982410b9448..5f4bbb47db2 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.json@@ -142,5 +142,5 @@"total_excluding_tax": 152000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.jsonindex e34c4bac708..248daffe9ff 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.json@@ -144,7 +144,7 @@"total_excluding_tax": 152000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},{"account_country": "US",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.jsonindex 2f0ef7fdf41..e42be15ba4b 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.jsonindex ea60f0d4eb7..a31b96e994e 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 5172,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.jsonindex a68f35b4d98..7f12e36c584 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 152000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.create.1.jsonindex 020154d6777..8ba59712ed6 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.list.1.jsonindex 309e5b55592..26e208fa001 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.jsonindex 92ab8dddb87..49a5c5aa4bb 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.json@@ -1,22 +1,22 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 984000,+ "amount_due": 152000,"amount_overpaid": 0,- "amount_paid": 984000,- "amount_remaining": 0,+ "amount_paid": 0,+ "amount_remaining": 152000,"amount_shipping": 0,"application": null,"attempt_count": 0,"attempted": false,- "auto_advance": false,+ "auto_advance": true,"automatic_tax": {"disabled_reason": null,"enabled": false,@@ -26,7 +26,7 @@},"automatically_finalizes_at": null,"billing_reason": "manual",- "collection_method": "send_invoice",+ "collection_method": "charge_automatically","created": 1000000000,"currency": "usd","custom_fields": null,@@ -43,7 +43,7 @@"default_tax_rates": [],"description": null,"discounts": [],- "due_date": 1000000000,+ "due_date": null,"effective_at": 1000000000,"ending_balance": 0,"footer": null,@@ -59,9 +59,9 @@"lines": {"data": [{- "amount": 984000,+ "amount": 152000,"currency": "usd",- "description": "Zulip Cloud Standard",+ "description": "Zulip Cloud Standard - renewal","discount_amounts": [],"discountable": false,"discounts": [],@@ -83,8 +83,8 @@"type": "invoice_item_details"},"period": {- "end": 1362193445,- "start": 1330657445+ "end": 1393729445,+ "start": 1362193445},"pretax_credit_amounts": [],"pricing": {@@ -95,7 +95,7 @@"type": "price_details","unit_amount_decimal": "8000"},- "quantity": 123,+ "quantity": 19,"taxes": []}],@@ -105,16 +105,8 @@"url": "/v1/invoices/free_trial_upgrade_by_invoice--Event.list.1.json/lines"},"livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "1",- "license_management": "manual",- "licenses": "123",- "on_free_trial": "True",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,+ "metadata": {},+ "next_payment_attempt": 1000000000,"number": "NORMALIZED","object": "invoice","on_behalf_of": null,@@ -141,22 +133,22 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "paid",+ "status": "open","status_transitions": {"finalized_at": 1000000000,"marked_uncollectible_at": null,- "paid_at": 1000000000,+ "paid_at": null,"voided_at": null},- "subtotal": 984000,- "subtotal_excluding_tax": 984000,+ "subtotal": 152000,+ "subtotal_excluding_tax": 152000,"test_clock": null,- "total": 984000,+ "total": 152000,"total_discount_amounts": [],- "total_excluding_tax": 984000,+ "total_excluding_tax": 152000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_upgrade_by_invoice--Event.list.1.json",@@ -167,7 +159,7 @@"id": "free_trial_upgrade_by_invoice--Event.list.1.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.paid"+ "type": "invoice.finalized"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.2.jsonindex a89d7a4cd37..02d1e60f88b 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -107,7 +107,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -156,7 +156,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}},"id": "free_trial_upgrade_by_invoice--Event.list.2.json",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.3.jsonindex 9eea036dfba..70a5ec656f7 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -107,7 +107,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -156,13 +156,13 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}},"id": "free_trial_upgrade_by_invoice--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 2,+ "pending_webhooks": 0,"request": {"id": "free_trial_upgrade_by_invoice--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -170,7 +170,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -276,7 +276,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -325,7 +325,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000},"previous_attributes": {"amount_paid": 0,@@ -340,7 +340,7 @@"id": "free_trial_upgrade_by_invoice--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 2,+ "pending_webhooks": 0,"request": {"id": "free_trial_upgrade_by_invoice--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -348,7 +348,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -370,6 +370,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_upgrade_by_invoice--Event.list.3.json","last_payment_error": null,"latest_charge": null,@@ -411,7 +412,7 @@"id": "free_trial_upgrade_by_invoice--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 2,+ "pending_webhooks": 0,"request": {"id": "free_trial_upgrade_by_invoice--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.create.1.jsonindex a577e71cfc2..2fe17bcb736 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.create.1.json@@ -60,7 +60,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.jsonindex 0bf274bb733..4342d16d411 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.json@@ -101,7 +101,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.jsonindex 4188b9abf42..dddc05f0526 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.json@@ -103,7 +103,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -152,7 +152,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.jsonindex 8409b095830..29e4c5d2b89 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.json@@ -101,7 +101,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "39","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.jsonindex 69fe91c734a..6c726da16a6 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.jsonindex 95683870408..5b9da39c77e 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.2.jsonindex 9e24500a919..801640c1160 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.2.json",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.3.jsonindex 940f00bc8b2..ad3b689d927 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -348,7 +348,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -370,6 +370,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.3.json","last_payment_error": null,"latest_charge": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.create.1.jsonindex 0dc8766fb93..f272228726d 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.jsonindex 37d345a4526..c8a19240347 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.jsonindex f6e9e0f90e8..d4ffcabbe7e 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.jsonindex 4fda3fe4602..bb183232304 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json@@ -1,22 +1,22 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 16000,+ "amount_due": 984000,"amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 16000,+ "amount_paid": 984000,+ "amount_remaining": 0,"amount_shipping": 0,"application": null,"attempt_count": 0,"attempted": false,- "auto_advance": true,+ "auto_advance": false,"automatic_tax": {"disabled_reason": null,"enabled": false,@@ -59,9 +59,9 @@"lines": {"data": [{- "amount": 16000,+ "amount": 984000,"currency": "usd",- "description": "Additional license (Mar 2, 2012 - Mar 2, 2013)",+ "description": "Zulip Cloud Standard","discount_amounts": [],"discountable": false,"discounts": [],@@ -95,7 +95,7 @@"type": "price_details","unit_amount_decimal": "8000"},- "quantity": 2,+ "quantity": 123,"taxes": []}],@@ -105,7 +105,15 @@"url": "/v1/invoices/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json/lines"},"livemode": false,- "metadata": {},+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "40",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },"next_payment_attempt": null,"number": "NORMALIZED","object": "invoice",@@ -133,19 +141,19 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "open",+ "status": "paid","status_transitions": {"finalized_at": 1000000000,"marked_uncollectible_at": null,- "paid_at": null,+ "paid_at": 1000000000,"voided_at": null},- "subtotal": 16000,- "subtotal_excluding_tax": 16000,+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,"test_clock": null,- "total": 16000,+ "total": 984000,"total_discount_amounts": [],- "total_excluding_tax": 16000,+ "total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": 1000000000@@ -156,10 +164,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": null,- "idempotency_key": null+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.sent"+ "type": "invoice.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.2.jsonindex 72e00bb84fa..9b6e3a2c035 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -107,7 +107,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.jsonindex 9d80b4c2a72..9f66b3d1014 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -107,7 +107,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -162,7 +162,7 @@"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -170,7 +170,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -276,7 +276,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",@@ -340,7 +340,7 @@"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -348,7 +348,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -370,6 +370,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","last_payment_error": null,"latest_charge": null,@@ -411,7 +412,7 @@"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 1,+ "pending_webhooks": 0,"request": {"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.create.1.jsonindex 1fb980cb89b..e6a6895d4bb 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.create.1.json@@ -60,7 +60,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.jsonindex 9a0639c7d14..bce897735a8 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.json@@ -101,7 +101,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.jsonindex 316f2decfc8..14a1a1ef093 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.json@@ -103,7 +103,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.jsonindex f3f06d95c1d..8f0cb84f15d 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.json@@ -249,7 +249,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.jsonindex 668bdf85d96..21af21b8ec1 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.json@@ -101,7 +101,7 @@"livemode": false,"metadata": {"billing_schedule": "1",- "current_plan_id": "1",+ "current_plan_id": "42","license_management": "manual","licenses": "123","on_free_trial": "True",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.jsonindex be35f80950e..2a388fc10c5 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.jsonindex 8191328eaef..2e8e11be37b 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 16000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.jsonindex 194444b465d..0c4d5cdf0bb 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.2.jsonindex b2a7a3c2493..4782fd8d5d4 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.2.json@@ -1,7 +1,186 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_for_additional_license--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.2.json",+ "invoice": "invoice_for_additional_license--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.2.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": 1000000000+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_for_additional_license--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 2,+ "request": {+ "id": "invoice_for_additional_license--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -23,6 +202,7 @@"currency": "usd","customer": "invoice_for_additional_license--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_for_additional_license--Event.list.2.json","last_payment_error": null,"latest_charge": "invoice_for_additional_license--Event.list.2.json",@@ -72,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -133,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "154499","brand": "visa","checks": {"address_line1_check": "pass",@@ -199,168 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 100,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 100,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": true,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "invoice_for_additional_license--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 100,- "currency": "usd",- "description": "Zulip Cloud Standard - renewal",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "invoice_for_additional_license--Event.list.2.json",- "invoice": "invoice_for_additional_license--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1388631845,- "start": 1357095845- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "100"- },- "quantity": 1,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/invoice_for_additional_license--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {},- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "open",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 100,- "subtotal_excluding_tax": 100,- "test_clock": null,- "total": 100,- "total_discount_amounts": [],- "total_excluding_tax": 100,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- }- },- "id": "invoice_for_additional_license--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": null,- "idempotency_key": null- },- "type": "invoice.sent"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -529,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -714,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -736,6 +755,7 @@"currency": "usd","customer": "invoice_for_additional_license--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_for_additional_license--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -785,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -940,7 +960,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -966,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -981,6 +1001,7 @@"invoice": "invoice_for_additional_license--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1012,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1126,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_for_additional_license--Event.list.2.json",@@ -1140,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.3.jsonindex 0ac472aef79..8206190086b 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -337,185 +337,6 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"- },- {- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 48000,- "amount_overpaid": 0,- "amount_paid": 48000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "invoice_for_additional_license--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 48000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "invoice_for_additional_license--Event.list.2.json",- "invoice": "invoice_for_additional_license--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 6,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/invoice_for_additional_license--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "6",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 48000,- "subtotal_excluding_tax": 48000,- "test_clock": null,- "total": 48000,- "total_discount_amounts": [],- "total_excluding_tax": 48000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- },- "previous_attributes": {- "amount_paid": 0,- "amount_remaining": 48000,- "attempt_count": 0,- "attempted": false,- "status": "open",- "status_transitions": {- "paid_at": null- }- }- },- "id": "invoice_for_additional_license--Event.list.3.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "invoice_for_additional_license--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.1.jsonindex 3a45e722b2b..d2bd5addbda 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.2.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.2.jsonindex 4725085413c..824775f0961 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.jsonindex 3f21493de15..83a83581d7d 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.jsonindex 666687f9d88..71642c21eed 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 7781,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.create.1.jsonindex cf11fdfe170..fb49e93c83a 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.list.1.jsonindex 6fd00305a26..9875de30ace 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.create.1.jsonindex b9c47cf8d0b..78a22e19d4f 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.modify.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.modify.1.jsonindex 63f65b8430f..5dd9c745b0e 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.1.jsonindex 615ebfd6a1d..f1d02a37b2c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.2.jsonindex 615ebfd6a1d..f1d02a37b2c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.3.jsonindex 615ebfd6a1d..f1d02a37b2c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.4.jsonindex 615ebfd6a1d..f1d02a37b2c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.5.jsonindex 615ebfd6a1d..f1d02a37b2c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.jsonindex 2dabe3aab11..0902e625379 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.2.jsonindex 6fe3ff1e53f..6a4e5f46d3d 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 1850,- "authorization_code": null,+ "authorization_code": "938408","brand": "visa","checks": {"address_line1_check": "pass",@@ -120,7 +120,7 @@"id": "invoice_initial_remote_realm_upgrade--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "invoice_initial_remote_realm_upgrade--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_initial_remote_realm_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "invoice_initial_remote_realm_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 3850,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "invoice_initial_remote_realm_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 3850,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_initial_remote_realm_upgrade--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1301,7 +1304,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",@@ -1315,7 +1318,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.3.jsonindex f1a58f9312e..f54a969f26e 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_initial_remote_realm_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.create.1.jsonindex 71c3a39a1ec..c4169c1fc4f 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.jsonindex 15eecc87265..43eb7a4f7ea 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 3850,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.jsonindex e644e7a3228..8b4b081da52 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.create.1.jsonindex 615b12c98b3..c2e9760fc00 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.list.1.jsonindex eb4f0ca5d49..53368586bee 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.jsonindex 0df67fc5b5d..796f61ce8e6 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.2.jsonindex bd7623838cc..bd1f83354de 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": null,+ "authorization_code": "017991","brand": "visa","checks": {"address_line1_check": "pass",@@ -120,7 +120,7 @@"id": "invoice_initial_remote_server_upgrade--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "invoice_initial_remote_server_upgrade--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_initial_remote_server_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "invoice_initial_remote_server_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "invoice_initial_remote_server_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_initial_remote_server_upgrade--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.3.jsonindex 8fd3e4592ee..d057186a0f8 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_initial_remote_server_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.create.1.jsonindex 4c74623d415..6440c0c68a7 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.jsonindex a734d45ae3a..fe6f4116bc3 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.jsonindex 8177fc167d2..4a4c1d37f20 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.create.1.jsonindex b27554a5e8b..fe425e5a8bb 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.list.1.jsonindex f8db7504236..1b6b25e78e1 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.jsonindex e391c794d95..3f8b60fff7e 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.jsonindex 7543e8bbce2..fe5d5e90ca4 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","last_payment_error": null,"latest_charge": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "646670","brand": "visa","checks": {"address_line1_check": "pass",@@ -370,7 +371,7 @@"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.jsonindex a196221643f..86f471dcae8 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json@@ -1,7 +1,168 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 16000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 16000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 16000,+ "currency": "usd",+ "description": "Additional license (Mar 2, 2012 - Mar 2, 2013)",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 2,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json/lines"+ },+ "livemode": false,+ "metadata": {},+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 16000,+ "subtotal_excluding_tax": 16000,+ "test_clock": null,+ "total": 16000,+ "total_discount_amounts": [],+ "total_excluding_tax": 16000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": 1000000000+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice.sent"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +331,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.create.1.jsonindex 1f9a4146ecf..190ed120b46 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.jsonindex 413fab6d813..ded0a54d662 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.create.1.jsonindex 66a36482645..29d0c550325 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.list.1.jsonindex 003f3e2be71..0a395b75d10 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.jsonindex 0bdf0c51a0a..effe5cc551a 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.2.jsonindex deb0d92282a..684e19c0855 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "invoice_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "invoice_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "invoice_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "invoice_plan--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "308464","brand": "visa","checks": {"address_line1_check": "pass",@@ -370,7 +371,7 @@"id": "invoice_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "invoice_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "invoice_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "invoice_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_plan--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.3.jsonindex 342a40aec87..49c3e1bb0c8 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.1.jsonindex 0cde5e02054..8974987786b 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.2.jsonindex e902b2efcd2..732487bb927 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.jsonindex 9893f04a8a2..4ad64e81e70 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.jsonindex 8c905a5a873..619645024fc 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 17442,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.jsonindex f9e03d3ae48..4137ff283ab 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 56000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.jsonindex 27e357ff73f..f0da8adc5be 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 7255,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.create.1.jsonindex 095c583f99a..c125cf4e413 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.list.1.jsonindex f563de395f5..28b4a5bbd21 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.create.1.jsonindex 67a16150a1d..79ac31bdb60 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.modify.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.modify.1.jsonindex 9107526d172..d23a2828b8a 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.1.jsonindex 624ee66144a..54733cb0910 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.2.jsonindex 624ee66144a..54733cb0910 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.3.jsonindex 624ee66144a..54733cb0910 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.4.jsonindex 624ee66144a..54733cb0910 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.5.jsonindex 624ee66144a..54733cb0910 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.jsonindex c7205b41d91..4ef8329d4f3 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.2.jsonindex f857dee5627..4a57f9afb60 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.2.json@@ -1,176 +1,134 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 320000,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 320000,- "amount_shipping": 0,+ "amount": 1850,+ "amount_captured": 1850,+ "amount_refunded": 0,"application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": true,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null},- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,"created": 1000000000,"currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},"id": "invoice_plans_as_needed--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 320000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "invoice_plans_as_needed--Event.list.2.json",- "invoice": "invoice_plans_as_needed--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1000000000,- "start": 1000000000- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 40,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/invoice_plans_as_needed--Event.list.2.json/lines"- },"livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "manual",- "licenses": "40",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",+ "metadata": {},+ "object": "charge","on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"},- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"+ "paid": true,+ "payment_intent": "invoice_plans_as_needed--Event.list.2.json",+ "payment_method": "pm_NORMALIZED",+ "payment_method_details": {+ "card": {+ "amount_authorized": 1850,+ "authorization_code": "975418",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "100110997670110",+ "overcapture": {+ "maximum_amount_capturable": 1850,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null},- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "open",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null+ "type": "card"},- "subtotal": 320000,- "subtotal_excluding_tax": 320000,- "test_clock": null,- "total": 320000,- "total_discount_amounts": [],- "total_excluding_tax": 320000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null}},"id": "invoice_plans_as_needed--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {- "id": null,- "idempotency_key": null+ "id": "invoice_plans_as_needed--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.sent"+ "type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -378,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -602,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -624,6 +582,7 @@"currency": "usd","customer": "invoice_plans_as_needed--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_plans_as_needed--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -673,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -934,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -949,6 +908,7 @@"invoice": "invoice_plans_as_needed--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -980,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1134,7 +1094,7 @@"total_excluding_tax": 3850,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1160,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1175,6 +1135,7 @@"invoice": "invoice_plans_as_needed--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 3850,"object": "invoiceitem","parent": null,"period": {@@ -1206,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1319,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_plans_as_needed--Event.list.2.json",@@ -1333,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1343,7 +1304,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_plans_as_needed--Customer.create.1.json",@@ -1357,7 +1318,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.3.jsonindex 24d34580af4..1ab30bb6432 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -203,13 +203,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "invoice_plans_as_needed--Event.list.3.json",+ "id": "invoice_plans_as_needed--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -411,13 +411,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "invoice_plans_as_needed--Event.list.3.json",+ "id": "invoice_plans_as_needed--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -629,13 +629,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "invoice_plans_as_needed--Event.list.3.json",+ "id": "invoice_plans_as_needed--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,9 +657,10 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_plans_as_needed--Event.list.2.json","last_payment_error": null,- "latest_charge": "invoice_plans_as_needed--Event.list.3.json",+ "latest_charge": "ch_NORMALIZED","livemode": false,"metadata": {},"next_action": null,@@ -700,137 +701,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "invoice_plans_as_needed--Event.list.3.json",+ "id": "invoice_plans_as_needed--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "payment_intent.succeeded"- },- {- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "amount": 1850,- "amount_captured": 1850,- "amount_refunded": 0,- "application": null,- "application_fee": null,- "application_fee_amount": null,- "balance_transaction": "txn_NORMALIZED",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "calculated_statement_descriptor": "ZULIP BASIC",- "captured": true,- "created": 1000000000,- "currency": "usd",- "customer": "cus_NORMALIZED",- "description": "Payment for Invoice",- "destination": null,- "dispute": null,- "disputed": false,- "failure_balance_transaction": null,- "failure_code": null,- "failure_message": null,- "fraud_details": {},- "id": "invoice_plans_as_needed--Event.list.3.json",- "livemode": false,- "metadata": {},- "object": "charge",- "on_behalf_of": null,- "order": null,- "outcome": {- "advice_code": null,- "network_advice_code": null,- "network_decline_code": null,- "network_status": "approved_by_network",- "reason": null,- "risk_level": "normal",- "risk_score": 0,- "seller_message": "Payment complete.",- "type": "authorized"- },- "paid": true,- "payment_intent": "invoice_plans_as_needed--Event.list.2.json",- "payment_method": "pm_NORMALIZED",- "payment_method_details": {- "card": {- "amount_authorized": 1850,- "authorization_code": null,- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "exp_month": 1,- "exp_year": 9999,- "extended_authorization": {- "status": "disabled"- },- "fingerprint": "NORMALIZED",- "funding": "credit",- "incremental_authorization": {- "status": "unavailable"- },- "installments": null,- "last4": "4242",- "mandate": null,- "multicapture": {- "status": "unavailable"- },- "network": "visa",- "network_token": {- "used": false- },- "network_transaction_id": "100110997670110",- "overcapture": {- "maximum_amount_capturable": 1850,- "status": "unavailable"- },- "regulated_status": "unregulated",- "three_d_secure": null,- "wallet": null- },- "type": "card"- },- "radar_options": {},- "receipt_email": "[email protected]",- "receipt_number": null,- "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",- "refunded": false,- "review": null,- "shipping": null,- "source": null,- "source_transfer": null,- "statement_descriptor": "Zulip Basic",- "statement_descriptor_suffix": null,- "status": "succeeded",- "transfer_data": null,- "transfer_group": null- }- },- "id": "invoice_plans_as_needed--Event.list.3.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "invoice_plans_as_needed--Event.list.3.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "charge.succeeded"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.1.jsonindex fdfd0b2dca8..2c9d26fc9cc 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.2.jsonindex f9dd1519c85..55a1347626e 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.jsonindex cd48a9deb89..c557db0a1ed 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 3850,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.jsonindex 623ba324746..f092d9f3fca 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.jsonindex 2b1b9807452..36780aeb7a6 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 1635,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.jsonindex 722b631a239..f714defa17a 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 5600,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.jsonindex 20bd3dfa513..4929585cb1a 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.create.1.jsonindex 3db4d5c9666..1e826a4fb4a 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.list.1.jsonindex 5b81ad69d34..0609cbab628 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.jsonindex 451c78d6f91..886c5911806 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.2.jsonindex 9c1ad3059bb..ddfa7d2e1d2 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": null,+ "authorization_code": "160168","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "invoice_plans_as_needed_server--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_plans_as_needed_server--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "invoice_plans_as_needed_server--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "invoice_plans_as_needed_server--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "invoice_plans_as_needed_server--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.3.jsonindex 4c1b0173b8c..caf6cfcd7f6 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "invoice_plans_as_needed_server--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.1.jsonindex e2ea5eb7202..64417eae875 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.2.jsonindex c2226ec24b4..02887eb7e12 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.jsonindex 7fa95c14e68..c2a5d49c8f7 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.jsonindex 534d54f5259..19de314541a 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.jsonindex e2240da143a..01821560dc8 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 1635,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.jsonindex 69700f49733..02664218f7d 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 8050,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.jsonindex 491ca5b5211..528a65158d6 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.create.1.jsonindex 11187be5a1b..13623a37933 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.list.1.jsonindex 3b633bee948..8be08439cf4 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.jsonindex c0ecb0f7de1..688e92ac6a2 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.modify.1.jsonindex 06579c386f8..ddca105142b 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.1.jsonindex 78d2600ceba..9d1b455dfff 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.2.jsonindex 78d2600ceba..9d1b455dfff 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.3.jsonindex 78d2600ceba..9d1b455dfff 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.4.jsonindex 78d2600ceba..9d1b455dfff 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.5.jsonindex 78d2600ceba..9d1b455dfff 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "invoice_scheduled_upgrade_realm_complimentary_access_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.create.1.jsonindex d8a9a6174ea..fca7a723d56 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.jsonindex 371b0e328e0..fa57af4ed12 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.jsonindex 1ea556bd2e9..4e23a50cff3 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.create.1.jsonindex a51c8141545..530a933b47e 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.list.1.jsonindex 25211f4dc6e..bc3c09ce88e 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.create.1.jsonindex 85c7c03be47..98c3440b154 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.jsonindex eaf9fde3c03..89594fc86be 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.json@@ -182,5 +182,5 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.jsonindex 80d1e306115..21978846d24 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.json@@ -184,7 +184,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.jsonindex b0fd184be18..31a516df350 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.jsonindex 9ed7368b714..3a0d47d20fc 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.create.1.jsonindex 59d798b5ca4..60d15ec064c 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.list.1.jsonindex 9625ea7cd4c..8eb86c1faf5 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.create.1.jsonindex 892d6b42f6b..d8208fe1ef9 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.modify.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.modify.1.jsonindex 5ebe5f3ed55..8e201c746ee 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.1.jsonindex 36a9b56ea81..51eba8e1102 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.2.jsonindex 36a9b56ea81..51eba8e1102 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.3.jsonindex 36a9b56ea81..51eba8e1102 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.4.jsonindex 36a9b56ea81..51eba8e1102 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.5.jsonindex 36a9b56ea81..51eba8e1102 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.6.jsonindex b754d4514c9..2ec1c91bcc7 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 2,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.jsonindex 6acd0c1dfc9..e78b8c6f319 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.2.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.2.jsonindex 187813c4723..7a6ee78782e 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": null,+ "authorization_code": "044944","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -322,7 +322,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "migrate_customer_server_to_realms_and_upgrade--Event.list.2.json",@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -530,7 +530,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"effective_at": null,@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "migrate_customer_server_to_realms_and_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -825,7 +826,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 200000,@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 200000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "migrate_customer_server_to_realms_and_upgrade--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1301,7 +1304,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",@@ -1315,7 +1318,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.3.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.3.jsonindex 5a09efdc432..7e147bc8ab9 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -195,7 +195,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "migrate_customer_server_to_realms_and_upgrade--Event.list.3.json",@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -403,7 +403,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "migrate_customer_server_to_realms_and_upgrade--Event.list.3.json",@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -611,7 +611,7 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "migrate_customer_server_to_realms_and_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.create.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.create.1.jsonindex d34cc909a3b..63a42b34057 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.jsonindex d6c2c8a0ecc..b0cea55ca50 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.json@@ -189,5 +189,5 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.jsonindex 6975b67d0fe..597b02cdbf1 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.json@@ -189,5 +189,5 @@"total_excluding_tax": 176000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.jsonindex c4552b7836f..232314e40b4 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.jsonindex 464f90372e4..118017703ab 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.create.1.jsonindex abfb24b9492..3c59ef8e61e 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.list.1.jsonindex f2924a3d5c8..3d1acf40154 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.jsonindex 5f8a6a1bf52..06d2a1ac51a 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.2.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.2.jsonindex 8cf2ad8ea33..19624b79274 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": null,+ "authorization_code": "766964","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "non_sponsorship_billing--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "non_sponsorship_billing--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "non_sponsorship_billing--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 200000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "non_sponsorship_billing--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "non_sponsorship_billing--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.3.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.3.jsonindex 82f2d96a4d1..0bd4012c064 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "non_sponsorship_billing--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.create.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.create.1.jsonindex 094d330f65e..b0a11b73aa7 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.jsonindex e701394a581..df8812cb3cd 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.jsonindex 588a2490beb..e6cbeffb42b 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.create.1.jsonindex d97f542728b..e0ec0342ebd 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.list.1.jsonindex e33210d18d7..a356f70e535 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.jsonindex be959bf1e85..02a37fe0122 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.2.json b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.2.jsonindex 673401e7be8..82954265c0e 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,176 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null+ }+ },+ "id": "payment_method_string--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "payment_method_string--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.2.json",+ "invoice": "payment_method_string--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "payment_method_string--Event.list.2.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/payment_method_string--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -179,7 +348,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +370,7 @@"currency": "usd","customer": "payment_method_string--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "payment_method_string--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +420,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -405,7 +575,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "payment_method_string--Event.list.2.json",@@ -419,7 +589,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -574,7 +744,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"automatically_finalizes_at": 1000000000,@@ -605,7 +775,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +797,7 @@"currency": "usd","customer": "payment_method_string--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "payment_method_string--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +847,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -831,7 +1002,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -857,7 +1028,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +1043,7 @@"invoice": "payment_method_string--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {@@ -903,168 +1075,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 10000,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 10000,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": true,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "payment_method_string--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 10000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "payment_method_string--Event.list.2.json",- "invoice": "payment_method_string--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1000000000,- "start": 1000000000- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "10000"- },- "quantity": 1,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/payment_method_string--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {},- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "open",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 10000,- "subtotal_excluding_tax": 10000,- "test_clock": null,- "total": 10000,- "total_discount_amounts": [],- "total_excluding_tax": 10000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- }- },- "id": "payment_method_string--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": null,- "idempotency_key": null- },- "type": "invoice.sent"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1178,7 +1189,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "payment_method_string--Event.list.2.json",@@ -1192,7 +1203,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1242,7 +1253,7 @@"type": "customer.updated"}],- "has_more": true,+ "has_more": false,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.3.json b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.3.jsonindex 6d5feba0a4e..6d922067afe 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.3.json@@ -1,175 +1,5 @@{- "data": [- {- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 984000,- "amount_overpaid": 0,- "amount_paid": 984000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "payment_method_string--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 984000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "payment_method_string--Event.list.2.json",- "invoice": "payment_method_string--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1000000000,- "start": 1000000000- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 123,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/payment_method_string--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "manual",- "licenses": "123",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 984000,- "subtotal_excluding_tax": 984000,- "test_clock": null,- "total": 984000,- "total_discount_amounts": [],- "total_excluding_tax": 984000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- }- },- "id": "payment_method_string--Event.list.3.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "payment_method_string--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.paid"- }- ],+ "data": [],"has_more": false,"object": "list","url": "/v1/events"diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.4.json b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.4.jsondeleted file mode 100644index 6d922067afe..00000000000--- a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.4.json+++ /dev/null@@ -1,6 +0,0 @@-{- "data": [],- "has_more": false,- "object": "list",- "url": "/v1/events"-}diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.create.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.create.1.jsonindex fe84a88149f..ee0ed7230f4 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.jsonindex b524002c172..e8b1bd3c6ec 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.jsonindex 36e860b45ac..b406b2178f1 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.jsonindex 4154e6b92e5..00804e9af54 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.create.1.jsonindex 271c994854d..5de6ca6b75a 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.list.1.jsonindex d3b2231096f..fd3cf33755c 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--Event.list.1.json b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--Event.list.1.jsonindex dd48f5c0b4a..452bea1a14c 100644--- a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.jsonindex caea4a93e4a..10940ab48a9 100644--- a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.jsonindex 74156fe63f2..c451d20fdd2 100644--- a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.jsonindex 85f8d5f009d..8d144830b3c 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.modify.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.modify.1.jsonindex b70c6bdb737..25c8b563af7 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.1.jsonindex 3b09bcde78f..b2b7c5a3ea6 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.2.jsonindex 3b09bcde78f..b2b7c5a3ea6 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.3.jsonindex 3b09bcde78f..b2b7c5a3ea6 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.4.jsonindex 3b09bcde78f..b2b7c5a3ea6 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.5.jsonindex 3b09bcde78f..b2b7c5a3ea6 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.6.jsonindex 3b09bcde78f..b2b7c5a3ea6 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Event.list.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Event.list.1.jsonindex ed97112be09..c12ccc335bf 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.jsonindex e2f168bea99..4f9f82684ed 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.jsonindex 3f142a18003..4b09d15672e 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--Event.list.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--Event.list.1.jsonindex 6dd69b1d5d2..b86f31cded0 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.jsonindex 465c4c2cadb..f2c87c409c3 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.jsonindex 5e51e36bfb8..1e803478b8a 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.jsonindex 4ef71939de0..b0f4712e3cc 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 48000,+ "amount_requested": 48000,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "replace_payment_method--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "currency": "usd",+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "replace_payment_method--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.2.jsonindex ac9dc990d35..9f069687eb8 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "replace_payment_method--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "replace_payment_method--Event.list.2.json","last_payment_error": null,"latest_charge": "replace_payment_method--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "522397","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "replace_payment_method--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "replace_payment_method--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "replace_payment_method--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "replace_payment_method--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.3.jsonindex 05b41bb8ee3..5d42a1eea11 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.1.jsonindex 3421839a07e..4b7f013eeee 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.2.jsonindex dfe5f4e58f7..47078af9f77 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.jsonindex 85a82fbecf0..3a66dee734f 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.json@@ -8,6 +8,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","param": null,"payment_intent": {"amount": 5000,@@ -28,6 +29,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "replace_payment_method--Invoice.pay.2.json","last_payment_error": {"advice_code": "try_again_later",@@ -36,6 +38,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {@@ -175,7 +178,7 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899385",+ "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913918","setup_intent": null,"source": null,"type": "card_error"@@ -188,23 +191,23 @@"Access-Control-Max-Age": "300","Cache-Control": "no-cache, no-store","Connection": "keep-alive",- "Content-Length": "5290",- "Content-Security-Policy": "base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=TukYFDLV2lHfmYsKO8QKy1Rs8CFOE-Ik92j0oi7ZNOKjRVL1NdvjDcjXu7lLN5teYlBHlKnXeBBeKYy1",+ "Content-Length": "5375",+ "Content-Security-Policy": "base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=irAykxLghuCmgqrIXf-pM0galma1w0YXzU99WaktruwmWPN8iPfQgKGBqdAaBd-GGagPQijh3O5rblPQ","Content-Type": "application/json","Date": "NORMALIZED DATETIME",- "Idempotency-Key": "be647435-6f59-43db-b2e8-f1b903e9f62b",+ "Idempotency-Key": "d3306ad4-fd75-42ce-b299-fce16ed674c4","Original-Request": "req_NORMALIZED","Request-Id": "req_NORMALIZED","Server": "nginx","Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload","Stripe-Should-Retry": "false",- "Stripe-Version": "2025-04-30.basil",+ "Stripe-Version": "2025-09-30.clover","Vary": "Origin","X-Stripe-Priority-Routing-Enabled": "true","X-Stripe-Routing-Context-Priority-Tier": "api-testmode",- "X-Wc": "ABGHI"+ "X-Wc": "ABGHIJ"},- "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"payment_intent\": {\n \"id\": \"replace_payment_method--Invoice.pay.2.json\",\n \"object\": \"payment_intent\",\n \"amount\": 5000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {\n }\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"replace_payment_method--Invoice.pay.2.json_secret_nBNr2TQijAwq9vfBbJsqUMhB6\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"cus_NORMALIZED\",\n \"description\": \"Payment for Invoice\",\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {\n },\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {\n },\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"link\": {\n \"persistent_token\": null\n }\n },\n \"payment_method_types\": [\n \"card\",\n \"link\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": null,\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {\n },\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899385\",\n \"type\": \"card_error\"\n }\n}\n",+ "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_intent\": {\n \"id\": \"replace_payment_method--Invoice.pay.2.json\",\n \"object\": \"payment_intent\",\n \"amount\": 5000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"replace_payment_method--Invoice.pay.2.json_secret_N0ibfNA1c7mKThX3kFyApFfQd\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"cus_NORMALIZED\",\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 10,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"link\": {\n \"persistent_token\": null\n }\n },\n \"payment_method_types\": [\n \"card\",\n \"link\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": null,\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 10,\n \"exp_year\": 2026,\n \"fingerprint\": \"DXkIrMyLWOiSbbeT\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913918\",\n \"type\": \"card_error\"\n }\n}\n","http_status": 402,"json_body": {"error": {@@ -214,6 +217,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_intent": {"amount": 5000,"amount_capturable": 0,@@ -233,6 +237,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "replace_payment_method--Invoice.pay.2.json","last_payment_error": {"advice_code": "try_again_later",@@ -241,6 +246,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {@@ -380,7 +386,7 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899385",+ "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913918","type": "card_error"}},diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.jsonindex bd63b42ebfb..1571930902b 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.jsonindex 046c6a84786..7b6f61afc96 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.json@@ -8,6 +8,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","param": null,"payment_intent": null,"payment_method": {@@ -61,7 +62,7 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899381",+ "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913913","setup_intent": {"application": null,"automatic_payment_methods": null,@@ -78,6 +79,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {@@ -165,23 +167,23 @@"Access-Control-Max-Age": "300","Cache-Control": "no-cache, no-store","Connection": "keep-alive",- "Content-Length": "4542",- "Content-Security-Policy": "base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=TukYFDLV2lHfmYsKO8QKy1Rs8CFOE-Ik92j0oi7ZNOKjRVL1NdvjDcjXu7lLN5teYlBHlKnXeBBeKYy1",+ "Content-Length": "4591",+ "Content-Security-Policy": "base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=irAykxLghuCmgqrIXf-pM0galma1w0YXzU99WaktruwmWPN8iPfQgKGBqdAaBd-GGagPQijh3O5rblPQ","Content-Type": "application/json","Date": "NORMALIZED DATETIME",- "Idempotency-Key": "3dbc2960-cd2f-442e-b6a0-2340e8fd46c7",+ "Idempotency-Key": "bd89dd3c-ca97-485e-b5a4-fb5457e24a64","Original-Request": "req_NORMALIZED","Request-Id": "req_NORMALIZED","Server": "nginx","Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload","Stripe-Should-Retry": "false",- "Stripe-Version": "2025-04-30.basil",+ "Stripe-Version": "2025-09-30.clover","Vary": "Origin","X-Stripe-Priority-Routing-Enabled": "true","X-Stripe-Routing-Context-Priority-Tier": "api-testmode",- "X-Wc": "ABGHI"+ "X-Wc": "ABGHIJ"},- "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2026,\n \"fingerprint\": \"D5bwp1hJalF8jxeQ\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"livemode\": false,\n \"metadata\": {\n },\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899381\",\n \"setup_intent\": {\n \"id\": \"replace_payment_method--SetupIntent.create.2.json\",\n \"object\": \"setup_intent\",\n \"application\": null,\n \"automatic_payment_methods\": null,\n \"cancellation_reason\": null,\n \"client_secret\": \"replace_payment_method--SetupIntent.create.2.json_secret_SHrFXdsjvZJ3KImUJYY5smbmnfFiAQ6\",\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"description\": null,\n \"flow_directions\": null,\n \"last_setup_error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2026,\n \"fingerprint\": \"D5bwp1hJalF8jxeQ\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"livemode\": false,\n \"metadata\": {\n },\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_attempt\": \"setatt_NORMALIZED\",\n \"livemode\": false,\n \"mandate\": null,\n \"metadata\": {\n },\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n }\n },\n \"payment_method_types\": [\n \"card\"\n ],\n \"single_use_mandate\": null,\n \"status\": \"requires_payment_method\",\n \"usage\": \"off_session\"\n },\n \"type\": \"card_error\"\n }\n}\n",+ "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 10,\n \"exp_year\": 2026,\n \"fingerprint\": \"D5bwp1hJalF8jxeQ\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913913\",\n \"setup_intent\": {\n \"id\": \"replace_payment_method--SetupIntent.create.2.json\",\n \"object\": \"setup_intent\",\n \"application\": null,\n \"automatic_payment_methods\": null,\n \"cancellation_reason\": null,\n \"client_secret\": \"replace_payment_method--SetupIntent.create.2.json_secret_TCHmLweCuH2mQ9rglUcLGXULYgxnPF3\",\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"description\": null,\n \"flow_directions\": null,\n \"last_setup_error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 10,\n \"exp_year\": 2026,\n \"fingerprint\": \"D5bwp1hJalF8jxeQ\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_attempt\": \"setatt_NORMALIZED\",\n \"livemode\": false,\n \"mandate\": null,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n }\n },\n \"payment_method_types\": [\n \"card\"\n ],\n \"single_use_mandate\": null,\n \"status\": \"requires_payment_method\",\n \"usage\": \"off_session\"\n },\n \"type\": \"card_error\"\n }\n}\n","http_status": 402,"json_body": {"error": {@@ -190,6 +192,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {@@ -241,7 +244,7 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1746899381",+ "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1759913913","setup_intent": {"application": null,"automatic_payment_methods": null,@@ -258,6 +261,7 @@"decline_code": "generic_decline","doc_url": "https://stripe.com/docs/error-codes/card-declined","message": "Your card was declined.",+ "network_decline_code": "01","payment_method": {"allow_redisplay": "unspecified","billing_details": {diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.1.jsonindex 45b53894bf0..eec1a952c9c 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.2.jsonindex 5a45d7d2bf8..7ce52f4a672 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.2.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/billing/","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.3.jsonindex f86c37591c7..af70b54ffa0 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.3.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/billing/","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.4.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.4.jsonindex 85ad38bbd6a..162877f1be5 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.4.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.4.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/billing/","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.jsonindex a5adcd4d567..2af6b9b08dc 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=true&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.1.jsonindex 860dd69b38b..dd4516fe45e 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.2.jsonindex 2b02cc25312..a4fa0b2ac32 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.2.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/billing/","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.3.jsonindex 1c6bd0b489a..9b278ad21ca 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.list.3.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/billing/","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.jsonindex 22a843526da..780042445c5 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.modify.1.jsonindex e946efcc454..3a954bf6f55 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.1.jsonindex 2506553d6c0..917710de24b 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.2.jsonindex 2506553d6c0..917710de24b 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.3.jsonindex 2506553d6c0..917710de24b 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.4.jsonindex 2506553d6c0..917710de24b 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.5.jsonindex 2506553d6c0..917710de24b 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.jsonindex 1df5d59d4d9..092a194f194 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.jsonindex bce35b960fc..f7a5e6e48d9 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.jsonindex 36ab8c4c8dc..f7dafa16d35 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.jsonindex 06a06c1afa0..0570a461565 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.jsonindex 2e343550ac1..b72ea85b07f 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.modify.1.jsonindex f25f00461cc..56aa3bcc595 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.1.jsonindex a55d7926012..201616ea55c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.2.jsonindex a55d7926012..201616ea55c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.3.jsonindex a55d7926012..201616ea55c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.4.jsonindex a55d7926012..201616ea55c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.5.jsonindex a55d7926012..201616ea55c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.jsonindex 695c14d63ea..72998735df0 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.jsonindex 28b119a06b7..0df9ce22142 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -171,7 +171,7 @@"id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json",@@ -250,7 +251,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -311,7 +312,7 @@"payment_method_details": {"card": {"amount_authorized": 10000,- "authorization_code": null,+ "authorization_code": "969509","brand": "visa","checks": {"address_line1_check": "pass",@@ -377,7 +378,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -545,7 +546,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -729,7 +730,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -751,6 +752,7 @@"currency": "usd","customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -800,7 +802,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -980,7 +982,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -995,6 +997,7 @@"invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {@@ -1026,7 +1029,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1139,7 +1142,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.2.json",@@ -1153,7 +1156,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1163,7 +1166,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",@@ -1177,7 +1180,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.3.jsonindex 06b82aaac2a..07aa9f232b7 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -169,7 +169,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.1.jsonindex fb6f6a135af..a408ce9a791 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.10.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.10.jsonindex c27c9a0f3d2..e89f255431f 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.10.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.10.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.11.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.11.jsonindex 45008f8fefe..76b31aeec99 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.11.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.11.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.12.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.12.jsonindex b54bd8dee1f..0c9b2403bc7 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.12.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.12.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.13.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.13.jsonindex aa34ad28b0a..bb177aa79fe 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.13.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.13.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.2.jsonindex 7dbb533f719..2fc7788a41c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.3.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.3.jsonindex 2ee48166d07..67e151c50bb 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.4.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.4.jsonindex ef3245747b6..03ce54e16b9 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.4.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.4.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.5.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.5.jsonindex 51624236a96..d8088426ba5 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.5.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.5.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.6.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.6.jsonindex fca588c1a1c..15bbbc00789 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.6.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.6.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.7.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.7.jsonindex 8fe6ca52b2c..bd47287049e 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.7.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.7.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.8.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.8.jsonindex e59d408df51..d345fab394d 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.8.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.8.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.9.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.9.jsonindex 1fd2971db34..a39a128e25b 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.9.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.create.9.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.jsonindex 8c8e8897770..1edc8a98ce4 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.json@@ -142,5 +142,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.jsonindex ffe718d9995..0fa75fe9b7f 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.json@@ -142,5 +142,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.jsonindex ef4b91e907b..62928a7a734 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.jsonindex b0f7efaeb11..0f7927e2412 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.jsonindex 2e5a2ee3b10..7f121858786 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.jsonindex 73565623d88..abb758139e4 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.jsonindex 975c908b5e0..8d5da0c0e21 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 14166,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.jsonindex a0c3fd299d8..10f89f2a50b 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.jsonindex 555f151b434..c72d1df5e75 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.jsonindex bbb9dc1308c..c6a360a909a 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.jsonindex c18ec7c605c..9a59f5db6dd 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.jsonindex 1b3dc0f5a41..c4c080e5f10 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.jsonindex 3a191aef554..07239f4ab95 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.jsonindex 74a2a8f3223..322f72daae8 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.jsonindex 32fb8514ed5..e34bcc2f13e 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.create.1.jsonindex 288e14393c2..1b054e18d55 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.list.1.jsonindex 52ae7b10061..23406852350 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.jsonindex 5c1b6d846c0..faa708e7de8 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.jsonindex 7584b60d8e1..02c54455bd1 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json@@ -142,5 +142,5 @@"total_excluding_tax": 120000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.jsonindex aec4ccdc139..847398d1bef 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.jsonindex 97e2ef91323..60396dd9da4 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.jsonindex 7629da5325a..5d3bd5efc63 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.jsonindex 13124f441cb..eefa42e5b69 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.jsonindex 2e6218fd009..7dbdfb97e8e 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 51600,- "authorization_code": null,+ "authorization_code": "221320","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 75600,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.3.jsonindex 93ede6c6141..8c28a0c72a4 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.1.jsonindex 79657cbb05c..f5d55baf748 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.2.jsonindex 8118f178722..4324b6f7f75 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.jsonindex 4d5cfe87e6c..08db05d547f 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.json@@ -142,5 +142,5 @@"total_excluding_tax": 120000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.jsonindex da74bc0cf23..18737802709 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 75600,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.jsonindex 51dc82ab965..603a29591d7 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.jsonindex fbc6b9d4a9b..d4faf8b5bde 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.create.1.jsonindex 7b5e82f5e6b..23a7f6edc26 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.list.1.jsonindex 24957532c1a..76de90bcfb9 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.jsonindex 17e52236eff..78659b84ddd 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.modify.1.jsonindex 1c1405e582e..06c7f5437fc 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.1.jsonindex 755a6968c02..f4f12a5c636 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.2.jsonindex 755a6968c02..f4f12a5c636 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.3.jsonindex 755a6968c02..f4f12a5c636 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.4.jsonindex 755a6968c02..f4f12a5c636 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.5.jsonindex 755a6968c02..f4f12a5c636 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.6.jsonindex e23b221d035..7b7cc687f4b 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 3,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.jsonindex 93265da0297..e251fb4a2e6 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.jsonindex fec608d3fca..82d238236bb 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 22200,- "authorization_code": null,+ "authorization_code": "287609","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 46200,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 46200,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1301,7 +1304,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",@@ -1315,7 +1318,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.3.jsonindex 9e8331889bd..222f981ed5c 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.1.jsonindex 5892e0d8cc5..eddf5c42b60 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.2.jsonindex 814b61bbe94..1a181200e2b 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.jsonindex a0393874294..7b45d074751 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 46200,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.jsonindex d523ba05ae8..14d9d695455 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.jsonindex 7bbe74ef1ae..ac4959d755d 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.create.1.jsonindex 2d85c829724..070861b6953 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.list.1.jsonindex 3cd115d703d..b05e617b498 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.jsonindex 031ffd6e69c..86b97497db3 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.2.jsonindex 4513f9d2221..2eea884c4e7 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.2.json@@ -1,186 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 48000,- "amount_overpaid": 0,- "amount_paid": 48000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 48000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",- "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 6,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "6",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 48000,- "subtotal_excluding_tax": 48000,- "test_clock": null,- "total": 48000,- "total_discount_amounts": [],- "total_excluding_tax": 48000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- },- "previous_attributes": {- "amount_paid": 0,- "amount_remaining": 48000,- "attempt_count": 0,- "attempted": false,- "status": "open",- "status_transitions": {- "paid_at": null- }- }- },- "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +23,7 @@"currency": "usd","customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",@@ -251,7 +73,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +134,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "921009","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +200,42 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 48000,+ "amount_requested": 48000,+ "created": 1000000000,+ "currency": "usd",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -533,7 +390,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",@@ -547,7 +404,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -702,7 +559,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"effective_at": null,@@ -732,7 +589,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +611,7 @@"currency": "usd","customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +661,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +816,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +842,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +857,7 @@"invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +889,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1003,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",@@ -1158,7 +1017,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.3.jsonindex 9d42eff1db5..c8308032971 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.3.json@@ -1,7 +1,42 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 5000,+ "amount_requested": 5000,+ "created": 1000000000,+ "currency": "usd",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.3.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +191,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "sponsorship_access_for_realms_on_paid_plan--Event.list.3.json",@@ -170,7 +205,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -325,7 +360,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "sponsorship_access_for_realms_on_paid_plan--Event.list.3.json",@@ -337,6 +372,185 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.create.1.jsonindex a6be0925c80..825d01400b5 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.jsonindex 0b9021cc5d3..15bb202a234 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.jsonindex 83f56299c29..e2fcffc4322 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.jsonindex 9ae0578f3fc..90bb6f73f46 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.create.1.jsonindex 388177fd59c..059dc286d61 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.list.1.jsonindex cbc3a5fe5e0..0052e9dfa81 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.jsonindex 9099b9de143..ddd28585785 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.json@@ -1,32 +1,39 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "configuration": "bpc_NORMALIZED",+ "amount_paid": 48000,+ "amount_requested": 48000,"created": 1000000000,- "customer": "cus_NORMALIZED",- "flow": null,+ "currency": "usd","id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "locale": null,- "object": "billing_portal.session",- "on_behalf_of": null,- "return_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1&setup_payment_by_invoice=false",- "url": "https://billing.stripe.com/p/session/test_NORMALIZED"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }}},"id": "stripe_billing_portal_urls--Event.list.1.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {- "id": "stripe_billing_portal_urls--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "billing_portal.session.created"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.2.jsonindex 47806d79f4b..6c49d8ec6b1 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,13 +156,13 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "stripe_billing_portal_urls--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "stripe_billing_portal_urls--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -170,7 +170,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -325,7 +325,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -348,7 +348,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -370,6 +370,7 @@"currency": "usd","customer": "stripe_billing_portal_urls--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "stripe_billing_portal_urls--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -419,7 +420,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -574,7 +575,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "stripe_billing_portal_urls--Event.list.2.json",@@ -588,7 +589,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -743,7 +744,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"automatically_finalizes_at": 1000000000,@@ -774,7 +775,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -796,6 +797,7 @@"currency": "usd","customer": "stripe_billing_portal_urls--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "stripe_billing_portal_urls--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -845,7 +847,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1000,7 +1002,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1026,7 +1028,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1041,6 +1043,7 @@"invoice": "stripe_billing_portal_urls--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {@@ -1072,7 +1075,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1186,7 +1189,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "stripe_billing_portal_urls--Event.list.2.json",@@ -1200,7 +1203,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.create.1.jsonindex c64599fd225..379fe48549b 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.jsonindex 99211a70bcf..e60557b0c75 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.jsonindex 5643837f7c4..384c66f8af1 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.jsonindex 4da62f34e5e..7935b1fe84b 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.1.jsonindex 595619cb41f..9c16cb05d7d 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.1.json@@ -47,7 +47,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls--billing_portal.Configuration.create.1.json",@@ -58,6 +59,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.2.jsonindex 61ee6cc28f8..59b72a4484f 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.2.json@@ -47,7 +47,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls--billing_portal.Configuration.create.2.json",@@ -58,6 +59,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.3.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.3.jsonindex abc694b2ac9..1818b5b71eb 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.3.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Configuration.create.3.json@@ -43,7 +43,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls--billing_portal.Configuration.create.3.json",@@ -54,6 +55,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Session.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Session.create.1.jsonindex 8418f162726..758dd148299 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--billing_portal.Session.create.1.json@@ -3,7 +3,7 @@"created": 1000000000,"customer": "cus_NORMALIZED","flow": null,- "id": "stripe_billing_portal_urls--Event.list.1.json",+ "id": "stripe_billing_portal_urls--billing_portal.Session.create.1.json","livemode": false,"locale": null,"object": "billing_portal.session",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.create.1.jsonindex 9b6d43bdb33..d70cc62057c 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.list.1.jsonindex 2768b453f8c..b25fd55e9a4 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.create.1.jsonindex 3e72230504e..e02796cc43c 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.modify.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.modify.1.jsonindex 35fef85e46c..531841e5fa4 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.1.jsonindex c74d84222b7..54d2205787a 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.2.jsonindex c74d84222b7..54d2205787a 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.3.jsonindex c74d84222b7..54d2205787a 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.4.jsonindex c74d84222b7..54d2205787a 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.5.jsonindex c74d84222b7..54d2205787a 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.jsonindex cadf89d7b36..d1c126daf8f 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.2.jsonindex c2067743ada..c8d07dd7717 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": null,+ "authorization_code": "927776","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "stripe_billing_portal_urls_for_remote_realm--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 200000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "stripe_billing_portal_urls_for_remote_realm--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1301,7 +1304,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",@@ -1315,7 +1318,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.3.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.3.jsonindex ce525983719..d369e255c37 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "stripe_billing_portal_urls_for_remote_realm--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.create.1.jsonindex ff39b9b35f6..2e1f8be4260 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.jsonindex cdbebcf3da6..41bc0c163e5 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.jsonindex 598e0f31e31..07543cd4097 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.1.jsonindex 5426112ca19..30c1e4aaeb4 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.1.json@@ -43,7 +43,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.1.json",@@ -54,6 +55,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.2.jsonindex 88427f8b774..76b87076122 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.2.json@@ -47,7 +47,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls_for_remote_realm--billing_portal.Configuration.create.2.json",@@ -58,6 +59,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.1.jsonindex 2dfbd1f9974..89d626e26da 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.1.json@@ -8,6 +8,6 @@"locale": null,"object": "billing_portal.session","on_behalf_of": null,- "return_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/",+ "return_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/","url": "https://billing.stripe.com/p/session/test_NORMALIZED"}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.2.jsonindex 7ade923ab45..4e89af4f3d1 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--billing_portal.Session.create.2.json@@ -8,6 +8,6 @@"locale": null,"object": "billing_portal.session","on_behalf_of": null,- "return_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/",+ "return_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/","url": "https://billing.stripe.com/p/session/test_NORMALIZED"}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.create.1.jsonindex e91c1a31f10..85055ef11da 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.list.1.jsonindex 466e5870574..6048eb08dc4 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.jsonindex 6efaee5c571..5bd29f916b1 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.2.jsonindex 14a552564d9..16c8895a6ce 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": null,+ "authorization_code": "757123","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "stripe_billing_portal_urls_for_remote_server--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1092,7 +1094,7 @@"total_excluding_tax": 200000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "stripe_billing_portal_urls_for_remote_server--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.3.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.3.jsonindex cd085c5cc70..c1c42e0eb8d 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "stripe_billing_portal_urls_for_remote_server--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.create.1.jsonindex e3e60bfd97e..31be3aece49 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.jsonindex 3a6be455153..dcca97807da 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.jsonindex 7bac0c651f1..253ed376e52 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.1.jsonindex 604b216a113..f77bf5537c7 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.1.json@@ -43,7 +43,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.1.json",@@ -54,6 +55,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.2.jsonindex 6109d157e47..a818fc1a86f 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.2.json@@ -47,7 +47,8 @@"proration_behavior": "none","schedule_at_period_end": {"conditions": []- }+ },+ "trial_update_behavior": "end_trial"}},"id": "stripe_billing_portal_urls_for_remote_server--billing_portal.Configuration.create.2.json",@@ -58,6 +59,7 @@"url": null},"metadata": {},+ "name": null,"object": "billing_portal.configuration","updated": 1000000000}diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.create.1.jsonindex 758f2f7c583..877050786b3 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.list.1.jsonindex 7b10e559aaf..1f33b38a385 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.jsonindex 5446d34730b..f2210c50ee9 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.jsonindex b49c89778cd..88ea6eda70d 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json","last_payment_error": null,"latest_charge": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "858918","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.3.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.3.jsonindex 0b64d959f60..87ad37573b2 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.1.jsonindex 8d6558ed9e4..cf622e97ecf 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.2.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.2.jsonindex 57f98c7c3bd..bcd1721bc06 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.3.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.3.jsonindex e82417c338a..2b3237f17a3 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.jsonindex 466e9099e9f..bd529933ae4 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.jsonindex 07f558bf897..dc3752b828f 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 112000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.jsonindex 31cabd9992b..6472e29d4f3 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 36610,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.jsonindex c3a682da853..bb293eb50c4 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 20000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.create.1.jsonindex 49a7a654add..782e30b09b8 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.list.1.jsonindex e209dae952a..cf796e9ee29 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.jsonindex c260f16dfaf..6b1a6424871 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.jsonindex b13ada9699f..2fe9d5c280a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","last_payment_error": null,"latest_charge": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 4800,- "authorization_code": null,+ "authorization_code": "672739","brand": "visa","checks": {"address_line1_check": "pass",@@ -370,7 +371,7 @@"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +960,7 @@"total_excluding_tax": 4800,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 4800,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": true,+ "has_more": false,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.3.jsonindex 6ecaebedec8..a3128c0599a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.1.jsonindex 1cecd0ac1bc..06a325a5da8 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.2.jsonindex 39d7368c4f7..e0d9ceeb788 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.3.jsonindex 95569b021de..1d1aecbf87f 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.4.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.4.jsonindex d4d747858ac..a3fb449dbae 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.4.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.5.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.5.jsonindex 7982ecef262..028097f00f7 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.5.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.create.5.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.jsonindex 9bdf8d1eecf..1e66c1ac20b 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json@@ -142,5 +142,5 @@"total_excluding_tax": 11200,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.jsonindex 5648f8ad0cd..4fc4ccc3965 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.json@@ -142,5 +142,5 @@"total_excluding_tax": 240000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.jsonindex 3e07164919a..7d616c49224 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.json@@ -144,7 +144,7 @@"total_excluding_tax": 240000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},{"account_country": "US",diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.jsonindex 477456d9985..acc0f29ccae 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 4800,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.jsonindex 98ff3ef8d5c..cc534eac5e1 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 11200,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.jsonindex e0b8bb5ba4b..a32b76e788a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 160000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.jsonindex fa299921217..49162e021b2 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 40000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.jsonindex 74dc694dd64..be49a8761ce 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 36830,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.jsonindex 4df51b44a78..84ae17110bf 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 240000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.create.1.jsonindex ab5951efb5a..fecf90a6e7c 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.list.1.jsonindex 3d410ae3083..ab0b0c7969a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.jsonindex d794ef44107..24d1758b12d 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.jsonindex 0da4b8e3499..a2e2431142f 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json","last_payment_error": null,"latest_charge": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 28000,- "authorization_code": null,+ "authorization_code": "805162","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 28000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.3.jsonindex cedea67e0ef..149b147e54e 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.1.jsonindex 901d7607a07..f01719f54f7 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.2.jsonindex 5e692706375..1964beeacf8 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.3.jsonindex 031f110e676..5d012168db6 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.jsonindex 34507e4d81b..2a9f3651a00 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 28000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.jsonindex e502a5001ca..d533791352f 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 280000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.jsonindex 731aec84427..b9f7b76a359 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 280000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.create.1.jsonindex fbc28781cb1..37bcfac01e1 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.list.1.jsonindex ca58701d03e..510b42f7b34 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--Event.list.1.jsonindex cc8e7e40080..9aea1b72df3 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 4800,+ "amount_requested": 4800,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "switch_now_free_trial_from_annual_to_monthly--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "currency": "usd",+ "id": "switch_now_free_trial_from_annual_to_monthly--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "switch_now_free_trial_from_annual_to_monthly--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.create.1.jsonindex 56fc574a886..d042054e404 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.list.1.jsonindex 610e5580bbe..d3bb14aeb2e 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--Event.list.1.jsonindex dd7b1e287ac..09d49066cf0 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.create.1.jsonindex f426578d75d..c1dd27230cb 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.list.1.jsonindex 961ba00070d..210fb95eadb 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Customer.create_balance_transaction.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Customer.create_balance_transaction.1.jsonindex 83d765d497a..78ab15921a5 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Customer.create_balance_transaction.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Customer.create_balance_transaction.1.json@@ -1,12 +1,12 @@{- "amount": -2219,+ "amount": -805,"checkout_session": null,"created": 1000000000,"credit_note": null,"currency": "usd","customer": "cus_NORMALIZED","description": "Credit from early termination of active plan",- "ending_balance": -2219,+ "ending_balance": -805,"id": "switch_realm_from_standard_to_plus_plan--Customer.create_balance_transaction.1.json","invoice": null,"livemode": false,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.jsonindex c62110833e2..fe39b17f8d4 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.json@@ -1,44 +1,27 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount_paid": 7200,+ "amount_requested": 7200,"created": 1000000000,- "currency": null,- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "currency": "usd",+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "invoice_settings": {- "default_payment_method": null+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000}}},@@ -47,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "customer.updated"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.2.jsonindex 860251a5093..973263cb04a 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -172,7 +172,7 @@"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "switch_realm_from_standard_to_plus_plan--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "330222","brand": "visa","checks": {"address_line1_check": "pass",@@ -370,7 +371,7 @@"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -533,7 +534,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json",@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -702,7 +703,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"effective_at": null,@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +960,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "switch_realm_from_standard_to_plus_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_realm_from_standard_to_plus_plan--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.3.jsonindex dd1e109a9d0..66d419aa4c1 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_realm_from_standard_to_plus_plan--Event.list.3.json",@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -325,7 +325,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "switch_realm_from_standard_to_plus_plan--Event.list.3.json",diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.1.jsonindex 9c8fd4c1d24..f5f7718ad23 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.2.jsonindex dc00d9a35c0..a105a40229d 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.create.2.json@@ -84,7 +84,7 @@},"shipping_cost": null,"shipping_details": null,- "starting_balance": -2219,+ "starting_balance": -805,"statement_descriptor": "Zulip Cloud Plus","status": "draft","status_transitions": {@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.jsonindex a3a3a2bc007..b0307cad51c 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.jsonindex 3a3058e5b72..daac9cd3400 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.json@@ -2,10 +2,10 @@"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 117781,+ "amount_due": 119195,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 117781,+ "amount_remaining": 119195,"amount_shipping": 0,"application": null,"attempt_count": 0,@@ -125,7 +125,7 @@},"shipping_cost": null,"shipping_details": null,- "starting_balance": -2219,+ "starting_balance": -805,"statement_descriptor": "Zulip Cloud Plus","status": "open","status_transitions": {diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.jsonindex 4dfb40b9ca6..9817eee0386 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.jsonindex 0fa9ae384ee..2bf715cbc6d 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.jsonindex 032a68c4f50..7c9fa5072ee 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.create.1.jsonindex 8beaf07902b..16959bd4874 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.list.1.jsonindex 16d17c2f7c9..9ac545cccf6 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.jsonindex e2fcc8562d1..c524c022e60 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.2.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.2.jsonindex fa736801fe6..3f34f9ab670 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.2.json@@ -1,185 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 800000,- "amount_overpaid": 0,- "amount_paid": 800000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 800000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",- "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 100,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "manual",- "licenses": "100",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 800000,- "subtotal_excluding_tax": 800000,- "test_clock": null,- "total": 800000,- "total_discount_amounts": [],- "total_excluding_tax": 800000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- },- "previous_attributes": {- "amount_paid": 0,- "amount_remaining": 800000,- "auto_advance": true,- "status": "open",- "status_transitions": {- "paid_at": null- }- }- },- "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +23,7 @@"currency": "usd","customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +73,42 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 28000,+ "amount_requested": 28000,+ "created": 1000000000,+ "currency": "usd",+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -419,7 +277,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -605,7 +463,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +485,7 @@"currency": "usd","customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +535,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -857,7 +716,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +731,7 @@"invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 800000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +763,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +877,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",@@ -1031,7 +891,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +941,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.3.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.3.jsonindex 564477a4165..aa4d6e79a09 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -168,6 +168,184 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 800000,+ "amount_overpaid": 0,+ "amount_paid": 800000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 800000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 100,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 800000,+ "subtotal_excluding_tax": 800000,+ "test_clock": null,+ "total": 800000,+ "total_discount_amounts": [],+ "total_excluding_tax": 800000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": 1000000000+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 800000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.1.jsonindex fdb39228d75..338d4004e6e 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.2.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.2.jsonindex 8e3b78f60d4..aa3a65bb17c 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.3.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.3.jsonindex e63190bbedb..86943d38fd4 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.3.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.4.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.4.jsonindex f716d8964d8..3e7cf935748 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.4.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.create.4.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.jsonindex b0eab6bdef2..904292e11b7 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 800000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.jsonindex a32bd3a3e0a..3418aa34151 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 400000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.jsonindex 207173d5c67..60f2195b846 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 1200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.jsonindex a3dec6b01b4..ae39c3ad484 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 960000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.jsonindex 29955545eba..6ef6f5a748c 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "037102","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.jsonindex f97c0740106..ed6c9753aac 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.2.jsonindex 71f23182131..0a4d394cef2 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.3.jsonindex 6e7252ae648..bbd1f6a727d 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "upgrade_by_card--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card--Event.list.3.json","last_payment_error": null,"latest_charge": "upgrade_by_card--Charge.list.1.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "037102","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "upgrade_by_card--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card--Event.list.3.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +960,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "upgrade_by_card--Event.list.3.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card--Event.list.3.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1211,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.4.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.4.jsonindex f6e3f564b9e..9794ee70bc0 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.4.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Invoice.create.1.jsonindex 25b128b92c4..10d88b5437e 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--InvoiceItem.create.1.jsonindex fdb49752ec9..232c1628709 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.create.1.jsonindex 6f9ecc5ef76..ea9d51b2b6b 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.list.1.jsonindex 6e3d005a866..67c04bc1da3 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.jsonindex 816bd03a32b..54c9ef48e5b 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 120000,- "authorization_code": null,+ "authorization_code": "356934","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.jsonindex c886dbcb8c5..14ddb62185b 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.2.jsonindex e20ab420362..1e3c9a7057f 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -172,7 +172,7 @@"id": "upgrade_by_card_to_plus_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "upgrade_by_card_to_plus_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_to_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "upgrade_by_card_to_plus_plan--Charge.list.1.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 120000,- "authorization_code": null,+ "authorization_code": "356934","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_to_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "upgrade_by_card_to_plus_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_to_plus_plan--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.3.jsonindex 86f85fd6285..88b7edc36f4 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.create.1.jsonindex f896bad5fbc..a9b587d4eb5 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.jsonindex 2af6727d3a8..6e33e18a0c3 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 120000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.create.1.jsonindex e897753745f..98d11f099ac 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.list.1.jsonindex 3ae04ecd0e0..c3f658ccf42 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.jsonindex 2bc392b1716..888640a3605 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "433764","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.jsonindex 0e6fc13b8df..fede5e2a0f0 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.jsonindex 0fdf4cbe1c1..2c518070a88 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "433764","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,22 +128,22 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 48000,+ "amount_due": 1200000,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 48000,+ "amount_remaining": 1200000,"amount_shipping": 0,"application": null,"attempt_count": 0,"attempted": false,- "auto_advance": false,+ "auto_advance": true,"automatic_tax": {"disabled_reason": null,"enabled": false,@@ -153,11 +153,11 @@},"automatically_finalizes_at": null,"billing_reason": "manual",- "collection_method": "charge_automatically",+ "collection_method": "send_invoice","created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer": "cus_NORMALIZED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -170,7 +170,7 @@"default_tax_rates": [],"description": null,"discounts": [],- "due_date": null,+ "due_date": 1000000000,"effective_at": 1000000000,"ending_balance": 0,"footer": null,@@ -186,9 +186,9 @@"lines": {"data": [{- "amount": 48000,+ "amount": 1200000,"currency": "usd",- "description": "Zulip Cloud Standard",+ "description": "Zulip Cloud Standard - renewal","discount_amounts": [],"discountable": false,"discounts": [],@@ -199,7 +199,7 @@"object": "line_item","parent": {"invoice_item_details": {- "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "invoice_item": "ii_NORMALIZED","proration": false,"proration_details": {"credited_items": null@@ -210,8 +210,8 @@"type": "invoice_item_details"},"period": {- "end": 1357095845,- "start": 1325473445+ "end": 1388631845,+ "start": 1357095845},"pretax_credit_amounts": [],"pricing": {@@ -222,7 +222,7 @@"type": "price_details","unit_amount_decimal": "8000"},- "quantity": 6,+ "quantity": 150,"taxes": []}],@@ -232,15 +232,7 @@"url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json/lines"},"livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "6",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },+ "metadata": {},"next_payment_attempt": null,"number": "NORMALIZED","object": "invoice",@@ -275,12 +267,12 @@"paid_at": null,"voided_at": null},- "subtotal": 48000,- "subtotal_excluding_tax": 48000,+ "subtotal": 1200000,+ "subtotal_excluding_tax": 1200000,"test_clock": null,- "total": 48000,+ "total": 1200000,"total_discount_amounts": [],- "total_excluding_tax": 48000,+ "total_excluding_tax": 1200000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": 1000000000@@ -291,13 +283,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "invoice.finalized"+ "type": "invoice.sent"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -453,93 +445,6 @@"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": 1000000000- },- "previous_attributes": {- "effective_at": null,- "ending_balance": null,- "hosted_invoice_url": null,- "invoice_pdf": null,- "number": null,- "rendering": {- "pdf": {- "page_size": "auto"- }- },- "status": "draft",- "status_transitions": {- "finalized_at": null- }- }- },- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"- },- {- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "amount": 48000,- "amount_capturable": 0,- "amount_details": {- "tip": {}- },- "amount_received": 0,- "application": null,- "application_fee_amount": null,- "automatic_payment_methods": null,- "canceled_at": null,- "cancellation_reason": null,- "capture_method": "automatic",- "client_secret": "NORMALIZED",- "confirmation_method": "automatic",- "created": 1000000000,- "currency": "usd",- "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",- "description": "Payment for Invoice",- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "last_payment_error": null,- "latest_charge": null,- "livemode": false,- "metadata": {},- "next_action": null,- "object": "payment_intent",- "on_behalf_of": null,- "payment_method": null,- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "installments": null,- "mandate_options": null,- "network": null,- "request_three_d_secure": "automatic"- },- "link": {- "persistent_token": null- }- },- "payment_method_types": [- "card",- "link"- ],- "processing": null,- "receipt_email": "[email protected]",- "review": null,- "setup_future_usage": null,- "shipping": null,- "source": null,- "statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "requires_payment_method",- "transfer_data": null,- "transfer_group": null}},"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",@@ -550,10 +455,10 @@"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "payment_intent.created"+ "type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -596,13 +501,13 @@"description": null,"discounts": [],"due_date": null,- "effective_at": null,- "ending_balance": null,+ "effective_at": 1000000000,+ "ending_balance": 0,"footer": null,"from_invoice": null,- "hosted_invoice_url": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap","id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "invoice_pdf": null,+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap","issuer": {"type": "self"},@@ -667,7 +572,7 @@"user_id": "10"},"next_payment_attempt": null,- "number": null,+ "number": "NORMALIZED","object": "invoice","on_behalf_of": null,"parent": null,@@ -684,7 +589,7 @@"rendering": {"amount_tax_display": null,"pdf": {- "page_size": "auto"+ "page_size": "letter"},"template": null,"template_version": null@@ -693,9 +598,9 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "draft",+ "status": "open","status_transitions": {- "finalized_at": null,+ "finalized_at": 1000000000,"marked_uncollectible_at": null,"paid_at": null,"voided_at": null@@ -711,16 +616,20 @@"webhooks_delivered_at": 1000000000},"previous_attributes": {- "amount_due": 0,- "amount_remaining": 0,- "lines": {- "data": [],- "total_count": 0+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }},- "subtotal": 0,- "subtotal_excluding_tax": 0,- "total": 0,- "total_excluding_tax": 0+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }}},"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",@@ -734,63 +643,17 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "amount": 48000,- "currency": "usd",- "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",- "date": 1000000000,- "description": "Zulip Cloud Standard",- "discountable": false,- "discounts": [],- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "invoiceitem",- "parent": null,- "period": {- "end": 1357095845,- "start": 1325473445- },- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "proration": false,- "quantity": 6,- "tax_rates": [],- "test_clock": null- }- },- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoiceitem.created"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 400000,+ "amount_due": 960000,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 400000,+ "amount_remaining": 960000,"amount_shipping": 0,"application": null,"attempt_count": 0,@@ -838,9 +701,9 @@"lines": {"data": [{- "amount": 400000,+ "amount": 960000,"currency": "usd",- "description": "Additional license (Jan 2, 2012 - Jan 2, 2013)",+ "description": "Zulip Cloud Standard - renewal","discount_amounts": [],"discountable": false,"discounts": [],@@ -862,8 +725,8 @@"type": "invoice_item_details"},"period": {- "end": 1357095845,- "start": 1325473445+ "end": 1420167845,+ "start": 1388631845},"pretax_credit_amounts": [],"pricing": {@@ -874,7 +737,7 @@"type": "price_details","unit_amount_decimal": "8000"},- "quantity": 50,+ "quantity": 120,"taxes": []}],@@ -919,12 +782,12 @@"paid_at": null,"voided_at": null},- "subtotal": 400000,- "subtotal_excluding_tax": 400000,+ "subtotal": 960000,+ "subtotal_excluding_tax": 960000,"test_clock": null,- "total": 400000,+ "total": 960000,"total_discount_amounts": [],- "total_excluding_tax": 400000,+ "total_excluding_tax": 960000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": 1000000000@@ -941,32 +804,104 @@"type": "invoice.sent"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 0,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}},- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",+ "amount_received": 0,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_method": null,+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "link": {+ "persistent_token": null+ }+ },+ "payment_method_types": [+ "card",+ "link"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically","created": 1000000000,"currency": "usd","custom_fields": null,@@ -997,10 +932,51 @@"last_finalization_error": null,"latest_revision": null,"lines": {- "data": [],+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "taxes": []+ }+ ],"has_more": false,"object": "list",- "total_count": 0,+ "total_count": 1,"url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json/lines"},"livemode": false,@@ -1047,15 +1023,27 @@"paid_at": null,"voided_at": null},- "subtotal": 0,- "subtotal_excluding_tax": 0,+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,"test_clock": null,- "total": 0,+ "total": 48000,"total_discount_amounts": [],- "total_excluding_tax": 0,+ "total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": 1000000000+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0}},"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",@@ -1066,46 +1054,43 @@"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.created"+ "type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,- "created": 1000000000,+ "amount": 48000,"currency": "usd",- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json","livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "tax_rates": [],"test_clock": null- },- "previous_attributes": {- "currency": null}},"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",@@ -1116,25 +1101,25 @@"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "customer.updated"+ "type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 1200000,+ "amount_due": 0,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 1200000,+ "amount_remaining": 0,"amount_shipping": 0,"application": null,"attempt_count": 0,"attempted": false,- "auto_advance": true,+ "auto_advance": false,"automatic_tax": {"disabled_reason": null,"enabled": false,@@ -1144,11 +1129,11 @@},"automatically_finalizes_at": null,"billing_reason": "manual",- "collection_method": "send_invoice",+ "collection_method": "charge_automatically","created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -1161,71 +1146,38 @@"default_tax_rates": [],"description": null,"discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,"footer": null,"from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "hosted_invoice_url": null,"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "invoice_pdf": null,"issuer": {"type": "self"},"last_finalization_error": null,"latest_revision": null,"lines": {- "data": [- {- "amount": 1200000,- "currency": "usd",- "description": "Zulip Cloud Standard - renewal",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1388631845,- "start": 1357095845- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 150,- "taxes": []- }- ],+ "data": [],"has_more": false,"object": "list",- "total_count": 1,+ "total_count": 0,"url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json/lines"},"livemode": false,- "metadata": {},+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },"next_payment_attempt": null,- "number": "NORMALIZED",+ "number": null,"object": "invoice","on_behalf_of": null,"parent": null,@@ -1242,7 +1194,7 @@"rendering": {"amount_tax_display": null,"pdf": {- "page_size": "letter"+ "page_size": "auto"},"template": null,"template_version": null@@ -1251,22 +1203,22 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "open",+ "status": "draft","status_transitions": {- "finalized_at": 1000000000,+ "finalized_at": null,"marked_uncollectible_at": null,"paid_at": null,"voided_at": null},- "subtotal": 1200000,- "subtotal_excluding_tax": 1200000,+ "subtotal": 0,+ "subtotal_excluding_tax": 0,"test_clock": null,- "total": 1200000,+ "total": 0,"total_discount_amounts": [],- "total_excluding_tax": 1200000,+ "total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",@@ -1274,10 +1226,60 @@"object": "event","pending_webhooks": 0,"request": {- "id": null,- "idempotency_key": null+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.sent"+ "type": "invoice.created"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "pm_NORMALIZED",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.3.jsonindex e22668760e8..2bd6facc064 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -339,7 +339,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -518,7 +518,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -540,6 +540,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.jsonindex 6277a387477..6d922067afe 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json@@ -1,167 +1,5 @@{- "data": [- {- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 960000,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 960000,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": true,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 960000,- "currency": "usd",- "description": "Zulip Cloud Standard - renewal",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json",- "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1420167845,- "start": 1388631845- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 120,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json/lines"- },- "livemode": false,- "metadata": {},- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "open",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 960000,- "subtotal_excluding_tax": 960000,- "test_clock": null,- "total": 960000,- "total_discount_amounts": [],- "total_excluding_tax": 960000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- }- },- "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.4.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": null,- "idempotency_key": null- },- "type": "invoice.sent"- }- ],+ "data": [],"has_more": false,"object": "list","url": "/v1/events"diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.5.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.5.jsondeleted file mode 100644index 6d922067afe..00000000000--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.5.json+++ /dev/null@@ -1,6 +0,0 @@-{- "data": [],- "has_more": false,- "object": "list",- "url": "/v1/events"-}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.create.1.jsonindex 50eeee48e10..6a0e0b48477 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.jsonindex 7ce2accd70f..955f25b8251 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.create.1.jsonindex 67daaac56fd..056a596b4db 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.list.1.jsonindex 08c7f521f44..5875a147f8d 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.jsonindex eb92ab94c5d..aa1bb46f3df 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "989631","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.jsonindex d876497a37e..1afca1fc9d2 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.2.jsonindex 0f880d3cf76..eefa27e8ab9 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_with_outdated_seat_count--Event.list.2.json","last_payment_error": null,"latest_charge": "upgrade_by_card_with_outdated_seat_count--Charge.list.1.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "989631","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -533,7 +534,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count--Event.list.2.json",@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -702,7 +703,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"effective_at": null,@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_with_outdated_seat_count--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +960,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.3.jsonindex 9056e54df0a..1a05c7381d3 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count--Event.list.3.json",@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -325,7 +325,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count--Event.list.3.json",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.4.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.4.jsonindex d87a45b377d..ed166e6adbf 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.4.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -162,7 +162,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -332,7 +332,7 @@"id": "upgrade_by_card_with_outdated_seat_count--Event.list.4.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "upgrade_by_card_with_outdated_seat_count--Event.list.4.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -340,7 +340,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -362,6 +362,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_with_outdated_seat_count--Event.list.4.json","last_payment_error": null,"latest_charge": null,@@ -411,7 +412,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -584,7 +585,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -599,6 +600,7 @@"invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.4.json","livemode": false,"metadata": {},+ "net_amount": 136000,"object": "invoiceitem","parent": null,"period": {@@ -630,7 +632,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -736,7 +738,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count--Event.list.4.json",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.1.jsonindex 9060c096f6b..ac549492e1a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.2.jsonindex 2924205a98b..a7880ac555a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.jsonindex 831b6130637..2e18d095637 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.jsonindex f07f0f57ab0..55b8b970962 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.json@@ -298,7 +298,7 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.jsonindex 6849c6248c8..1f963f3aaee 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 48000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.jsonindex dc1243d991e..ed024ae74c3 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.jsonindex 9255dcc2e0b..3a186159807 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 136000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.create.1.jsonindex f9cf9b7f696..8a9ab49e6e0 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.list.1.jsonindex e8ab8c693c3..71c3be10ad0 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.jsonindex 828d6a085f4..49b8aa745e2 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json@@ -58,7 +58,7 @@"payment_method_details": {"card": {"amount_authorized": 40000,- "authorization_code": null,+ "authorization_code": "409943","brand": "visa","checks": {"address_line1_check": "pass",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.jsonindex f6f739a97ab..fdb61e6cdef 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.jsonindex 939bb7eaa78..9b49a8ce7a1 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json@@ -1,186 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 40000,- "amount_overpaid": 0,- "amount_paid": 40000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 40000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",- "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 5,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "5",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 40000,- "subtotal_excluding_tax": 40000,- "test_clock": null,- "total": 40000,- "total_discount_amounts": [],- "total_excluding_tax": 40000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- },- "previous_attributes": {- "amount_paid": 0,- "amount_remaining": 40000,- "attempt_count": 0,- "attempted": false,- "status": "open",- "status_transitions": {- "paid_at": null- }- }- },- "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +23,7 @@"currency": "usd","customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json","last_payment_error": null,"latest_charge": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json",@@ -251,7 +73,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +134,7 @@"payment_method_details": {"card": {"amount_authorized": 40000,- "authorization_code": null,+ "authorization_code": "409943","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +200,42 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 48000,+ "amount_requested": 48000,+ "created": 1000000000,+ "currency": "usd",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -533,7 +390,7 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",@@ -547,7 +404,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -702,7 +559,7 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"effective_at": null,@@ -732,7 +589,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +611,7 @@"currency": "usd","customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +661,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -958,7 +816,7 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -984,7 +842,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +857,7 @@"invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 40000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +889,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1003,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",@@ -1158,7 +1017,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1208,7 +1067,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.jsonindex fad6a6d07d3..35543e58f30 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json@@ -1,7 +1,42 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 120000,+ "amount_requested": 120000,+ "created": 1000000000,+ "currency": "usd",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +191,7 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json",@@ -170,7 +205,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -325,7 +360,7 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json",@@ -337,6 +372,185 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 40000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 40000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.create.1.jsonindex 23de27d530e..8d666e3ae44 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.jsonindex 5e5e9ce45f6..39bfc09f805 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.jsonindex 16264418a79..d0a9d9a09d7 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.json@@ -152,7 +152,7 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.jsonindex eaee219c302..b5006f8fb0e 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 40000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.jsonindex 92f5d64305d..8ebb6928568 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 40000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.create.1.jsonindex e625423a750..35fcc86cea5 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.list.1.jsonindex d9f0276bcbd..2b537308c11 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.jsonindex 0bd79d8b86a..8397990a781 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.json@@ -1,162 +1,28 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 40000,- "amount_overpaid": 0,- "amount_paid": 40000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",+ "amount_paid": 120000,+ "amount_requested": 120000,"created": 1000000000,"currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap","id": "upgrade_by_invoice--Event.list.1.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 40000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "upgrade_by_invoice--Event.list.1.json",- "invoice": "upgrade_by_invoice--Event.list.1.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 5,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/upgrade_by_invoice--Event.list.1.json/lines"- },+ "invoice": "in_NORMALIZED",+ "is_default": true,"livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "5",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"},- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard","status": "paid","status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 40000,- "subtotal_excluding_tax": 40000,- "test_clock": null,- "total": 40000,- "total_discount_amounts": [],- "total_excluding_tax": 40000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000+ "canceled_at": null,+ "paid_at": 1000000000+ }}},"id": "upgrade_by_invoice--Event.list.1.json",@@ -164,10 +30,10 @@"object": "event","pending_webhooks": 0,"request": {- "id": "upgrade_by_invoice--Event.list.1.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"+ "id": null,+ "idempotency_key": null},- "type": "invoice.payment_succeeded"+ "type": "invoice_payment.paid"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.2.jsonindex 5845f9a5ee5..ffc7d1c256b 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -171,7 +171,7 @@"id": "upgrade_by_invoice--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "upgrade_by_invoice--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "upgrade_by_invoice--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_invoice--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +251,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -419,7 +420,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -605,7 +606,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +628,7 @@"currency": "usd","customer": "upgrade_by_invoice--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_invoice--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +678,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -831,7 +833,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -857,7 +859,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +874,7 @@"invoice": "upgrade_by_invoice--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +906,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +1020,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_invoice--Event.list.2.json",@@ -1031,7 +1034,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +1084,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.3.jsonindex a62e20ba83c..f8105334634 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.create.1.jsonindex 751a5970e9e..dea39f9c159 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.jsonindex dfdd4bbff66..1a5f1b4fedc 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.jsonindex 65e9dcd6486..6c8c0952aff 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.2.jsonindex e72a6aa2728..348e28d71d9 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -171,7 +171,7 @@"id": "upgrade_by_invoice_to_plus_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "upgrade_by_invoice_to_plus_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_invoice_to_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +251,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -405,7 +406,7 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_invoice_to_plus_plan--Event.list.2.json",@@ -419,7 +420,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -574,7 +575,7 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"automatically_finalizes_at": 1000000000,@@ -605,7 +606,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +628,7 @@"currency": "usd","customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_by_invoice_to_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +678,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -831,7 +833,7 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -857,7 +859,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +874,7 @@"invoice": "upgrade_by_invoice_to_plus_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 1476000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +906,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +1020,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_invoice_to_plus_plan--Event.list.2.json",@@ -1031,7 +1034,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +1084,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.3.jsonindex ad5dd1ad531..c333436bd9a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_by_invoice_to_plus_plan--Event.list.3.json",diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.create.1.jsonindex 54da755b30f..6f9e133171c 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.jsonindex f6088207e43..70aa5bca0f4 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.jsonindex afbcc08bee5..30b0cf647c8 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.json@@ -152,7 +152,7 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.jsonindex ee152bddced..5ca76e6496a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 1476000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.jsonindex c5f4bd2f977..83e2509ba4f 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 1476000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.create.1.jsonindex 02b847874b9..3e52bcfd223 100644--- a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.list.1.jsonindex 6d51d4ab032..d1c0f1fea8b 100644--- a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.create.1.jsonindex 69f35a3e628..d1fb95e32c3 100644--- a/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.list.1.jsonindex bbd7b382d5d..9b6fae0bd0d 100644--- a/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_license_counts--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.create.1.jsonindex 1b40986dbbc..891fe1abfa3 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.jsonindex 62e378ae9b0..f6c1f262e1e 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 320000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.jsonindex 62e378ae9b0..f6c1f262e1e 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 320000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.jsonindex 62e378ae9b0..f6c1f262e1e 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 320000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.jsonindex a3c73d4705a..0ae07de2866 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 320000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.jsonindex 636bb03d2f9..dfe1bfd1203 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.2.jsonindex 15e75fc3d26..1cbdd76def0 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -180,7 +180,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -202,6 +202,7 @@"currency": "usd","customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_race_condition_during_card_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": "upgrade_race_condition_during_card_upgrade--Event.list.2.json",@@ -251,7 +252,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +313,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": null,+ "authorization_code": "070062","brand": "visa","checks": {"address_line1_check": "pass",@@ -378,7 +379,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -547,7 +548,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -732,7 +733,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -754,6 +755,7 @@"currency": "usd","customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_race_condition_during_card_upgrade--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -803,7 +805,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -984,7 +986,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -999,6 +1001,7 @@"invoice": "upgrade_race_condition_during_card_upgrade--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {@@ -1030,7 +1033,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1144,7 +1147,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_race_condition_during_card_upgrade--Event.list.2.json",@@ -1158,7 +1161,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.3.jsonindex 0cd4cb90e84..3c30679c70b 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -170,7 +170,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.create.1.jsonindex a7c2ac44301..27f88242b92 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.jsonindex 02ae3239fe4..de70be3810e 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 48000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.create.1.jsonindex 0db606afc16..5a56f7cc04b 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.list.1.jsonindex 1f469558704..f116e4db119 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.jsonindex c93e52770db..cbf422a0df3 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.modify.1.jsonindex c37581e3729..417f384c282 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.1.jsonindex fa4cc1317db..5b6f56e4ab5 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.2.jsonindex fa4cc1317db..5b6f56e4ab5 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.3.jsonindex fa4cc1317db..5b6f56e4ab5 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.4.jsonindex fa4cc1317db..5b6f56e4ab5 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.5.jsonindex fa4cc1317db..5b6f56e4ab5 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.6.jsonindex 1f99eb86a5d..7d61fb1c45f 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 2,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.7.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.7.jsonindex 1f99eb86a5d..7d61fb1c45f 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.7.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.7.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 2,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.jsonindex 900fc12031d..de156483c38 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.jsonindex 31530d8cf53..24389412a97 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json@@ -1,134 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "amount": 1850,- "amount_captured": 1850,- "amount_refunded": 0,- "application": null,- "application_fee": null,- "application_fee_amount": null,- "balance_transaction": "txn_NORMALIZED",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "calculated_statement_descriptor": "ZULIP BASIC",- "captured": true,- "created": 1000000000,- "currency": "usd",- "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",- "description": "Payment for Invoice",- "destination": null,- "dispute": null,- "disputed": false,- "failure_balance_transaction": null,- "failure_code": null,- "failure_message": null,- "fraud_details": {},- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "charge",- "on_behalf_of": null,- "order": null,- "outcome": {- "advice_code": null,- "network_advice_code": null,- "network_decline_code": null,- "network_status": "approved_by_network",- "reason": null,- "risk_level": "normal",- "risk_score": 0,- "seller_message": "Payment complete.",- "type": "authorized"- },- "paid": true,- "payment_intent": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",- "payment_method": "pm_NORMALIZED",- "payment_method_details": {- "card": {- "amount_authorized": 1850,- "authorization_code": null,- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "exp_month": 1,- "exp_year": 9999,- "extended_authorization": {- "status": "disabled"- },- "fingerprint": "NORMALIZED",- "funding": "credit",- "incremental_authorization": {- "status": "unavailable"- },- "installments": null,- "last4": "4242",- "mandate": null,- "multicapture": {- "status": "unavailable"- },- "network": "visa",- "network_token": {- "used": false- },- "network_transaction_id": "100110997670110",- "overcapture": {- "maximum_amount_capturable": 1850,- "status": "unavailable"- },- "regulated_status": "unregulated",- "three_d_secure": null,- "wallet": null- },- "type": "card"- },- "radar_options": {},- "receipt_email": "[email protected]",- "receipt_number": null,- "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",- "refunded": false,- "review": null,- "shipping": null,- "source": null,- "source_transfer": null,- "statement_descriptor": "Zulip Basic",- "statement_descriptor_suffix": null,- "status": "succeeded",- "transfer_data": null,- "transfer_group": null- }- },- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "charge.succeeded"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +209,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +433,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +455,7 @@"currency": "usd","customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +505,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +766,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +781,7 @@"invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +813,42 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 22200,+ "amount_requested": 22200,+ "created": 1000000000,+ "currency": "usd",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1118,7 +1028,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1043,7 @@"invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 3850,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1075,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1188,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",@@ -1291,7 +1202,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1301,7 +1212,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",@@ -1315,7 +1226,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.jsonindex c0d9a8de9c8..0e1736cfdaf 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -203,13 +203,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -411,13 +411,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -629,13 +629,13 @@"object": "event","pending_webhooks": 0,"request": {- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,9 +657,10 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json","last_payment_error": null,- "latest_charge": "ch_NORMALIZED",+ "latest_charge": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json","livemode": false,"metadata": {},"next_action": null,@@ -700,10 +701,137 @@"object": "event","pending_webhooks": 0,"request": {- "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_captured": 1850,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "cus_NORMALIZED",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.2.json",+ "payment_method": "pm_NORMALIZED",+ "payment_method_details": {+ "card": {+ "amount_authorized": 1850,+ "authorization_code": "212474",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "100110997670110",+ "overcapture": {+ "maximum_amount_capturable": 1850,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.3.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.create.1.jsonindex 0d11b3f91e6..2e6f5be607f 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.jsonindex fbe10018623..7417d7d04f9 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 3850,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.jsonindex 3c919e0a770..cd2dfb22154 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.create.1.jsonindex 0bad1b57dc4..636a7ef97d0 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.list.1.jsonindex 861c5bd3b8e..ef674a816c2 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.jsonindex 3226a61ce1e..ef9d11a5307 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.jsonindex bd0afdb92a5..f79fef771c6 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json@@ -1,185 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 10000,- "amount_overpaid": 0,- "amount_paid": 10000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 10000,- "currency": "usd",- "description": "Zulip Basic",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",- "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "10000"- },- "quantity": 1,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "2",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "18",- "on_free_trial": "False",- "plan_tier": "103"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Basic",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 10000,- "subtotal_excluding_tax": 10000,- "test_clock": null,- "total": 10000,- "total_discount_amounts": [],- "total_excluding_tax": 10000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": null- },- "previous_attributes": {- "amount_paid": 0,- "amount_remaining": 10000,- "attempt_count": 0,- "attempted": false,- "status": "open",- "status_transitions": {- "paid_at": null- }- }- },- "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 2,- "request": {- "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -243,7 +65,7 @@"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 1,+ "pending_webhooks": 0,"request": {"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -251,7 +73,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -312,7 +134,7 @@"payment_method_details": {"card": {"amount_authorized": 10000,- "authorization_code": "858239",+ "authorization_code": "643507","brand": "visa","checks": {"address_line1_check": "pass",@@ -340,7 +162,7 @@"network_token": {"used": false},- "network_transaction_id": "749857738210088",+ "network_transaction_id": "100110997670110","overcapture": {"maximum_amount_capturable": 10000,"status": "unavailable"@@ -370,7 +192,7 @@"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 2,+ "pending_webhooks": 0,"request": {"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -378,7 +200,42 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount_paid": 176000,+ "amount_requested": 176000,+ "created": 1000000000,+ "currency": "usd",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",+ "invoice": "in_NORMALIZED",+ "is_default": true,+ "livemode": false,+ "object": "invoice_payment",+ "payment": {+ "payment_intent": "pi_NORMALIZED",+ "type": "payment_intent"+ },+ "status": "paid",+ "status_transitions": {+ "canceled_at": null,+ "paid_at": 1000000000+ }+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice_payment.paid"+ },+ {+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -418,7 +275,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,@@ -532,7 +389,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}},"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",@@ -546,7 +403,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -586,7 +443,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,@@ -700,7 +557,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000},"previous_attributes": {"effective_at": null,@@ -730,7 +587,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -802,7 +659,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -842,7 +699,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": null,@@ -956,7 +813,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000},"previous_attributes": {"amount_due": 0,@@ -982,7 +839,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -997,6 +854,7 @@"invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {@@ -1028,7 +886,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1068,7 +926,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": null,@@ -1155,7 +1013,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1205,7 +1063,7 @@"type": "customer.updated"}],- "has_more": false,+ "has_more": true,"object": "list","url": "/v1/events"}diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.jsonindex ca1da9db166..49525538069 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -41,7 +41,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,@@ -155,13 +155,13 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}},"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 2,+ "pending_webhooks": 0,"request": {"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -169,7 +169,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,@@ -323,18 +323,196 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}},"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.json","livemode": false,"object": "event",- "pending_webhooks": 1,+ "pending_webhooks": 0,"request": {"id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": 1000000000+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 10000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.1.jsonindex b36ec163cab..1e041caa6ae 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.1.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.2.jsonindex b5c581a40ba..c04cc144ea1 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.2.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.3.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.3.jsonindex 7abdad728f2..1f0e86cfdd1 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.create.3.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.jsonindex aba3c72ca04..c6c6eef03e4 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,@@ -149,5 +149,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.jsonindex 08b13a9a7df..3f3315e0d3a 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.jsonindex 13b099138d4..32b728c1bf9 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.jsonindex b4d3a5d361f..2765e195900 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json@@ -35,7 +35,7 @@"default_payment_method": null,"default_source": null,"default_tax_rates": [],- "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "description": null,"discounts": [],"due_date": null,"effective_at": 1000000000,@@ -149,5 +149,5 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": null+ "webhooks_delivered_at": 1000000000}diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.jsonindex 94d1ace399c..d8c96e20d53 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.jsonindex 329eff414b7..2ac0d71e173 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.jsonindex 165877e0033..047ac7aeaa1 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.jsonindex 8e74c672f62..eb5f3ab603c 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.json@@ -13,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -50,7 +69,7 @@"livemode": false,"locale": null,"metadata": {- "remote_server_user_id": "1",+ "remote_server_user_id": "15","type": "card_update"},"mode": "setup",diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.jsonindex c385d9e6c8e..9716ef286ed 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.json@@ -15,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -37,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -52,7 +71,7 @@"livemode": false,"locale": null,"metadata": {- "remote_server_user_id": "1",+ "remote_server_user_id": "15","type": "card_update"},"mode": "setup",diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.jsonindex 456c0df1c7d..73e2837af07 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.2.jsonindex 96fb5787209..6694898af29 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": null,+ "authorization_code": "869905","brand": "visa","checks": {"address_line1_check": "pass",@@ -120,7 +120,7 @@"id": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.3.jsonindex 286179a9696..dafdd76d3bf 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_server_user_to_monthly_basic_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.create.1.jsonindex 4214192451c..4f6e3fd15cc 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.jsonindex a7b705d8a83..c5c6931c5a3 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6300,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.jsonindex b003ab35251..9dd6f26f178 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -2000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.create.1.jsonindex 4546b28023e..0aee63066a2 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.list.1.jsonindex d90b8ef18a1..1035dd273fd 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.jsonindex e550129a349..6b636b7e5e3 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.2.jsonindex 8a3ceb3f3a7..4c90db86c02 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.2.json@@ -1,185 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 984000,- "amount_overpaid": 0,- "amount_paid": 984000,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "send_invoice",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "customer_name": null,- "customer_phone": null,- "customer_shipping": null,- "customer_tax_exempt": "none",- "customer_tax_ids": [],- "default_payment_method": null,- "default_source": null,- "default_tax_rates": [],- "description": null,- "discounts": [],- "due_date": 1000000000,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 984000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",- "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "8000"- },- "quantity": 123,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "manual",- "licenses": "123",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "letter"- },- "template": null,- "template_version": null- },- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,- "statement_descriptor": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 984000,- "subtotal_excluding_tax": 984000,- "test_clock": null,- "total": 984000,- "total_discount_amounts": [],- "total_excluding_tax": 984000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": 1000000000- },- "previous_attributes": {- "amount_paid": 0,- "amount_remaining": 984000,- "auto_advance": true,- "status": "open",- "status_transitions": {- "paid_at": null- }- }- },- "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.updated"- },- {- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +23,7 @@"currency": "usd","customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +73,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -419,7 +242,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -605,7 +428,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +450,7 @@"currency": "usd","customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +500,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -831,7 +655,7 @@"total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -857,7 +681,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +696,7 @@"invoice": "upgrade_to_fixed_price_plus_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +728,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +842,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",@@ -1031,7 +856,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +906,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1126,6 +951,167 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.created"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 100,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100,+ "currency": "usd",+ "description": "Zulip Cloud Standard - renewal",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1388631845,+ "start": 1357095845+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "100"+ },+ "quantity": 1,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {},+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 100,+ "subtotal_excluding_tax": 100,+ "test_clock": null,+ "total": 100,+ "total_discount_amounts": [],+ "total_excluding_tax": 100,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": null,+ "idempotency_key": null+ },+ "type": "invoice.sent"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.3.jsonindex f2ebafd6cc7..31c3dd04440 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -168,6 +168,184 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoice.paid"+ },+ {+ "api_version": "2025-09-30.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "cus_NORMALIZED",+ "customer_address": null,+ "customer_email": "[email protected]",+ "customer_name": null,+ "customer_phone": null,+ "customer_shipping": null,+ "customer_tax_exempt": "none",+ "customer_tax_ids": [],+ "default_payment_method": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": null,+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"+ },+ "template": null,+ "template_version": null+ },+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,+ "statement_descriptor": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": 1000000000+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.3.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.1.jsonindex 218270b1794..cd1a46af9c6 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.2.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.2.jsonindex 2456be69666..bf9e2c2e982 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.jsonindex bfd25f964c3..a912eccdc5a 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.json@@ -142,5 +142,5 @@"total_excluding_tax": 36000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.jsonindex cf7aade69d7..1bd6a15401c 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 984000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.jsonindex c1ebb00b035..50a5a50e8fd 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 36000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.create.1.jsonindex 93c318e5f2c..1ad2d57b8a4 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.modify.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.modify.1.jsonindex b07603b25e2..4efee36be92 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.1.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.2.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.3.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.4.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.5.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.6.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.7.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.7.jsonindex 60ff9393b25..ce78f48418a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.7.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Customer.retrieve.7.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Event.list.1.jsonindex 12cd20e13b3..1c758b8b3e9 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_basic_plan_free_trial--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.create.1.jsonindex 6a589602338..0942d272125 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.list.1.jsonindex 59f4ed53be1..55cd3fe437e 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--Event.list.1.jsonindex 780f666769e..610db6e4870 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.create.1.jsonindex 952395a0c9f..61123cb8ee8 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.list.1.jsonindex 0d7adf81d3a..36ff164e3a8 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://selfhosting.testserver/server/6cde5f7a-1f7e-4978-9716-49f69ebfc9fe/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.create.1.jsonindex bb120a0da78..3ed6676b504 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.modify.1.jsonindex b64cbaf5497..59fbb497d0a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.1.jsonindex 04178565182..ff6332a1dce 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.2.jsonindex 04178565182..ff6332a1dce 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.3.jsonindex 04178565182..ff6332a1dce 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.4.jsonindex 04178565182..ff6332a1dce 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.5.jsonindex 04178565182..ff6332a1dce 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.6.jsonindex 1dc7a580229..c4013aff9ea 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 2,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.7.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.7.jsonindex 1dc7a580229..c4013aff9ea 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.7.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Customer.retrieve.7.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 2,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.jsonindex 670f5f064a1..0443a808978 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.2.jsonindex 5a5483b5b50..7ab8bc7de61 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": null,+ "authorization_code": "997175","brand": "visa","checks": {"address_line1_check": "pass",@@ -128,7 +128,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -336,7 +336,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -560,7 +560,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -582,6 +582,7 @@"currency": "usd","customer": "upgrade_user_to_business_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_user_to_business_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -631,7 +632,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -892,7 +893,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -907,6 +908,7 @@"invoice": "upgrade_user_to_business_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {@@ -938,7 +940,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1118,7 +1120,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1133,6 +1135,7 @@"invoice": "upgrade_user_to_business_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {@@ -1164,7 +1167,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1277,7 +1280,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_user_to_business_plan--Event.list.2.json",@@ -1291,7 +1294,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1301,7 +1304,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_business_plan--Customer.create.1.json",@@ -1315,7 +1318,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.3.jsonindex 6fe19ef62e3..db1c3db39d4 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -209,7 +209,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -417,7 +417,7 @@"type": "invoice.paid"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -635,7 +635,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -657,6 +657,7 @@"currency": "usd","customer": "cus_NORMALIZED","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_user_to_business_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "ch_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.create.1.jsonindex 72a1221d98e..2a48b14f4e1 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.jsonindex e6576d31b75..fa115a34525 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 200000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.jsonindex b3adb22ca5d..de10a7bb0f7 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": -24000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.create.1.jsonindex 561547361a4..f11ed6fa385 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.list.1.jsonindex 30984dc4fdf..c33339353e6 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.jsonindex 8eba66ff467..36219b6ef05 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.modify.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.modify.1.jsonindex 916468a4814..807f8b9697e 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.modify.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.modify.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -19,7 +19,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.jsonindex edc495ca62e..eba576bef98 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.2.jsonindex edc495ca62e..eba576bef98 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.2.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.3.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.3.jsonindex edc495ca62e..eba576bef98 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.3.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.4.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.4.jsonindex edc495ca62e..eba576bef98 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.4.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.4.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.5.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.5.jsonindex edc495ca62e..eba576bef98 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.5.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.5.json@@ -5,7 +5,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.6.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.6.jsonindex dfed9ea689e..9ebaa5d8b6a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.6.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.6.json@@ -5,7 +5,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -69,7 +69,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 2,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.jsonindex 44d01c7197b..ce919765ccd 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -11,7 +11,7 @@"currency": null,"default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -25,7 +25,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.jsonindex e3d36060c06..def7d8c3586 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -171,7 +171,7 @@"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","last_payment_error": null,"latest_charge": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json",@@ -250,7 +251,7 @@"type": "payment_intent.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -311,7 +312,7 @@"payment_method_details": {"card": {"amount_authorized": 10000,- "authorization_code": null,+ "authorization_code": "832068","brand": "visa","checks": {"address_line1_check": "pass",@@ -369,7 +370,7 @@"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 2,"request": {"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -377,7 +378,7 @@"type": "charge.succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -545,7 +546,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -729,7 +730,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -751,6 +752,7 @@"currency": "usd","customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -800,7 +802,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -954,7 +956,7 @@"total_excluding_tax": 10000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -980,7 +982,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -995,6 +997,7 @@"invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {@@ -1026,7 +1029,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1139,7 +1142,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.2.json",@@ -1153,7 +1156,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1163,7 +1166,7 @@"currency": "usd","default_source": null,"delinquent": false,- "description": "zulip.testserver 5ae8113e-cd0",+ "description": "zulip.testserver 1b9e1a25-900","discount": null,"email": "[email protected]","id": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",@@ -1177,7 +1180,7 @@"livemode": false,"metadata": {"remote_realm_host": "zulip.testserver",- "remote_realm_uuid": "5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8"+ "remote_realm_uuid": "1b9e1a25-9000-419d-bb13-59cab3446e68"},"name": null,"next_invoice_sequence": 1,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.3.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.3.jsonindex b017c3f3893..50efeb39ebf 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -169,7 +169,7 @@"type": "invoice.payment_succeeded"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.create.1.jsonindex e83663ca796..3c50899c344 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.create.1.json@@ -108,5 +108,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.jsonindex c4ea208359d..aa7b4e7560d 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 10000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.jsonindex 498c641e507..95943ca6877 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -79,7 +101,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.jsonindex 233fefa090c..b1582de0e4d 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",- "cancel_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/upgrade/?manual_license_management=false&tier=1",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },+ "cancel_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",@@ -81,7 +103,7 @@"status": "open","submit_type": null,"subscription": null,- "success_url": "http://selfhosting.testserver/realm/5ae8113e-cd0a-4aaf-990c-a2ddb35b37d8/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}",+ "success_url": "http://selfhosting.testserver/realm/1b9e1a25-9000-419d-bb13-59cab3446e68/billing/event_status/?stripe_session_id={CHECKOUT_SESSION_ID}","total_details": null,"ui_mode": "hosted","url": "https://checkout.stripe.com/c/pay/cs_test_NORMALIZED",diff --git a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.create.1.json b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.create.1.jsonindex 4bec5513cfa..e70722be953 100644--- a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.create.1.json@@ -1,5 +1,7 @@{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -11,10 +13,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -33,7 +52,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -53,6 +74,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.list.1.json b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.list.1.jsonindex 4e368da20bb..c3462671229 100644--- a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--checkout.Session.list.1.json@@ -1,7 +1,9 @@{"data": [{- "adaptive_pricing": null,+ "adaptive_pricing": {+ "enabled": false+ },"after_expiration": null,"allow_promotion_codes": null,"amount_subtotal": null,@@ -13,10 +15,27 @@"status": null},"billing_address_collection": "required",+ "branding_settings": {+ "background_color": "#ffffff",+ "border_style": "rounded",+ "button_color": "#0074d4",+ "display_name": "Sandbox",+ "font_family": "default",+ "icon": {+ "file": "file_1RCGizRVfKEFJaqcFHPvd6rl",+ "type": "file"+ },+ "logo": {+ "file": "file_1RCGiyRVfKEFJaqc9ny0K376",+ "type": "file"+ }+ },"cancel_url": "http://zulip.testserver/upgrade/?manual_license_management=false&tier=1","client_reference_id": null,"client_secret": null,"collected_information": {+ "business_name": null,+ "individual_name": null,"shipping_details": null},"consent": null,@@ -35,7 +54,9 @@"customer_creation": null,"customer_details": {"address": null,+ "business_name": null,"email": "[email protected]",+ "individual_name": null,"name": null,"phone": null,"tax_exempt": null,@@ -55,6 +76,7 @@},"mode": "setup","object": "checkout.session",+ "origin_context": null,"payment_intent": null,"payment_link": null,"payment_method_collection": "always",diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.jsonindex 270fc20d459..b4568d13337 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -148,7 +148,7 @@"total_excluding_tax": 36000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "validate_licenses_for_manual_plan_management--Event.list.1.json",diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.2.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.2.jsonindex 488d9ecbe99..9ec813435cd 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.2.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_paid": 0,@@ -171,7 +171,7 @@"id": "validate_licenses_for_manual_plan_management--Event.list.2.json","livemode": false,"object": "event",- "pending_webhooks": 0,+ "pending_webhooks": 1,"request": {"id": "validate_licenses_for_manual_plan_management--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"@@ -179,7 +179,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -201,6 +201,7 @@"currency": "usd","customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "validate_licenses_for_manual_plan_management--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -250,7 +251,7 @@"type": "payment_intent.canceled"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -405,7 +406,7 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "validate_licenses_for_manual_plan_management--Event.list.2.json",@@ -419,7 +420,7 @@"type": "invoice.finalized"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -574,7 +575,7 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"automatically_finalizes_at": 1000000000,@@ -605,7 +606,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -627,6 +628,7 @@"currency": "usd","customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json","description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "validate_licenses_for_manual_plan_management--Event.list.2.json","last_payment_error": null,"latest_charge": null,@@ -676,7 +678,7 @@"type": "payment_intent.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -831,7 +833,7 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null},"previous_attributes": {"amount_due": 0,@@ -857,7 +859,7 @@"type": "invoice.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -872,6 +874,7 @@"invoice": "validate_licenses_for_manual_plan_management--Event.list.2.json","livemode": false,"metadata": {},+ "net_amount": 56000,"object": "invoiceitem","parent": null,"period": {@@ -903,7 +906,7 @@"type": "invoiceitem.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1017,7 +1020,7 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "validate_licenses_for_manual_plan_management--Event.list.2.json",@@ -1031,7 +1034,7 @@"type": "invoice.created"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -1081,7 +1084,7 @@"type": "customer.updated"},{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.3.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.3.jsonindex 8ddd9bbc4cd..b4131f5e385 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.3.json@@ -1,7 +1,7 @@{"data": [{- "api_version": "2025-04-30.basil",+ "api_version": "2025-09-30.clover","created": 1000000000,"data": {"object": {@@ -156,7 +156,7 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}},"id": "validate_licenses_for_manual_plan_management--Event.list.3.json",diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.create.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.create.1.jsonindex 0493e850896..135364cebe3 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.create.1.json@@ -109,5 +109,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.jsonindex b87fe777448..fa7ea3fd8ae 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.jsonindex 78c27e6df17..83bbec63c53 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.json@@ -150,5 +150,5 @@"total_excluding_tax": 56000,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.jsonindex 361bf4ca184..75bad22ce22 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 56000,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.1.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.1.jsonindex 792b528cdeb..0d5b19cd345 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.1.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.1.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.2.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.2.jsonindex c6bc825a039..d32817d3487 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.2.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.create.2.json@@ -101,5 +101,5 @@"total_excluding_tax": 0,"total_pretax_credit_amounts": [],"total_taxes": [],- "webhooks_delivered_at": 1000000000+ "webhooks_delivered_at": null}diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.jsonindex f060f791807..cc762d5c9d1 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6400,"object": "invoiceitem","parent": null,"period": {diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.jsonindex 50af32c8a44..ce6482f453c 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.json@@ -10,6 +10,7 @@"invoice": "in_NORMALIZED","livemode": false,"metadata": {},+ "net_amount": 6400,"object": "invoiceitem","parent": null,"period": {diff --git a/uv.lock b/uv.lockindex a4c64e29fbf..fbb66277672 100644--- a/uv.lock+++ b/uv.lock@@ -4959,15 +4959,15 @@ wheels = [[[package]]name = "stripe"-version = "12.5.1"+version = "13.0.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "requests" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/bd/92/f1b72783e13662026efc7d3f0fc201230edab55edd1604326a97162d8ce4/stripe-12.5.1.tar.gz", hash = "sha256:5407d092c355c31393e767d2dcb2d5a8c3980caa9a073acb32d0ccb3c01b04b5", size = 1432826, upload-time = "2025-09-05T13:27:07.976Z" }+sdist = { url = "https://files.pythonhosted.org/packages/d8/36/edac714e44a1a0048e74cc659b6070b42dd7027473e8f9f06a727b3860b6/stripe-13.0.1.tar.gz", hash = "sha256:5869739430ff73bd9cd81275abfb79fd4089e97e9fd98d306a015f5defd39a0d", size = 1263853, upload-time = "2025-10-03T19:37:17.335Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/1d/8d/f4c2f047eedc943aea573cb56af2c9481b2d97ee8de9819f8c5d87e9ba34/stripe-12.5.1-py2.py3-none-any.whl", hash = "sha256:39b47b331dfe933ce6cf6bd654e0ae9ba082caa9d1dd8d0ae9ae48293975f115", size = 1664067, upload-time = "2025-09-05T13:27:05.559Z" },+ { url = "https://files.pythonhosted.org/packages/3a/ac/a911f3c850420ab42447f5c049f570e55f34e0aa0b2e6a1d1a059a5656c4/stripe-13.0.1-py3-none-any.whl", hash = "sha256:7804cee14580ab37bbc1e5f6562e49dea0686ab3cb34384eb9386387ed8ebd0c", size = 1849008, upload-time = "2025-10-03T19:37:14.953Z" },][[package]]diff --git a/version.py b/version.pyindex 139a4a75e63..985661a7430 100644--- a/version.py+++ b/version.py@@ -50,4 +50,4 @@ API_FEATURE_LEVEL = 427# historical commits sharing the same major version, in which case a# minor version bump suffices.-PROVISION_VERSION = (354, 0) # bumped 2025-10-23 to upgrade Python requirements+PROVISION_VERSION = (355, 0) # bumped 2025-10-28 to upgrade stripe