Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_stripe: Normalize Stripe charge authorization codes.
Aman Agrawal5d97ecf7d46e
diff --git a/corporate/lib/test_stripe_class.py b/corporate/lib/test_stripe_class.pyindex b8cbd96f2c8..89488a954df 100644--- a/corporate/lib/test_stripe_class.py+++ b/corporate/lib/test_stripe_class.py@@ -245,6 +245,9 @@ def normalize_fixture_data(decorated_function: CallableT) -> None: # nocoveragefile_content = file_content.replace(match, normalized_values[pattern][match])file_content = re.sub(r'(?<="risk_score": )(\d+)', "0", file_content)file_content = re.sub(r'(?<="times_redeemed": )(\d+)', "0", file_content)+ file_content = re.sub(+ r'"authorization_code": "[0-9]+"', '"authorization_code": "000000"', file_content+ )# Idempotency keys appear as a lowercase JSON field ("idempotency_key") and# as a response-header field ("Idempotency-Key"). Stripe assigns a fresh# uuid for both on every call.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 87c392ce39e..eed02ea6ae1 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": "822248",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 a3ab5ae9264..e9c4920a5ab 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 100000,- "authorization_code": "822248",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 e6f71c69341..dcf32b3abbb 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": "691896",+ "authorization_code": "000000","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 17b5c4f6250..0d4ba2fe27c 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": "906978",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",@@ -170,7 +170,7 @@"payment_method_details": {"card": {"amount_authorized": 7200,- "authorization_code": "691896",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 8bd2cbb7937..be0950293ba 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@@ -317,7 +317,7 @@"payment_method_details": {"card": {"amount_authorized": 7200,- "authorization_code": "691896",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 ef15bcedc49..8885882d4bd 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "706017",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 ada62b17bae..dad08a5f6c5 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "643020",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 ae7b2e7a05d..691ff439f75 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 72000,- "authorization_code": "058785",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 a8693addb66..7b28d06212c 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": "405415",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 3544ecb838a..63ba902b902 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@@ -772,7 +772,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": "355352",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 1f36f025b21..6271e95a313 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "094499",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 50936ae4a11..05a4b33c2a4 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@@ -772,7 +772,7 @@"payment_method_details": {"card": {"amount_authorized": 1850,- "authorization_code": "809654",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 375962b2909..aa0bc7b74f6 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": "116061",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 048596083aa..384fbbed407 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "351208",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 b0f94acfcdd..4bf4dd89922 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@@ -772,7 +772,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": "665396",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 a0253fe01fa..4150ab26ca3 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": "336350",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 f93054ecd8c..ff6bc6c862b 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": "005140",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 6004eef317e..e40423af091 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "520871",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 370d30ea331..eef80f8648d 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@@ -316,7 +316,7 @@"payment_method_details": {"card": {"amount_authorized": 10000,- "authorization_code": "708128",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 faecaff69a8..3267b866526 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "925170",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 8d95b79bde0..c5aeeba3b90 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": "939138",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 df5039900ae..5845e3b1af7 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "384621",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 6bf36c321df..df11e1b80ca 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 28000,- "authorization_code": "669546",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 5800492683d..e0920056aee 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "819891",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 533f274d359..f8ef2ee453d 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": "050052",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 950f4568106..3587664e2c9 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "050052",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 7e50e535b05..86a3daa7130 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": "488881",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 57635549aad..5c68eaf2f41 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 120000,- "authorization_code": "488881",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 3c90256cb1f..e2b34c3f429 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": "007918",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 095b463767b..79dcc48a504 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "007918",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 1b55fbcc3a7..d51095d51fc 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": "137078",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 4fb22335363..6d8805f5da4 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "137078",+ "authorization_code": "000000","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--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 04abd320e7b..7ebcd4eff58 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": "192510",+ "authorization_code": "000000","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.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.2.jsonindex 187cf2e0c31..abb99be57ec 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 40000,- "authorization_code": "192510",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 51c5d735a70..d3eae1873c1 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@@ -317,7 +317,7 @@"payment_method_details": {"card": {"amount_authorized": 48000,- "authorization_code": "027548",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 8cb25d68f4b..5c7695ccf9d 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 1850,- "authorization_code": "381358",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 85211f2f177..b44aec0d085 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 10000,- "authorization_code": "098696",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 a0681c97d71..c8ab84373b6 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@@ -62,7 +62,7 @@"payment_method_details": {"card": {"amount_authorized": 4300,- "authorization_code": "658782",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 ece67be4848..f5c7a79010d 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@@ -772,7 +772,7 @@"payment_method_details": {"card": {"amount_authorized": 176000,- "authorization_code": "949547",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",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 30b51cd5bda..d249478b265 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@@ -138,7 +138,7 @@"payment_method_details": {"card": {"amount_authorized": 10000,- "authorization_code": "924141",+ "authorization_code": "000000","brand": "visa","checks": {"address_line1_check": "pass",