Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab: Cancel trials when they end with a missing payment method (#31018)
Marshall Bowers051f49ce9af1
diff --git a/crates/collab/src/stripe_billing.rs b/crates/collab/src/stripe_billing.rsindex 20803fa446f..1af341261d8 100644--- a/crates/collab/src/stripe_billing.rs+++ b/crates/collab/src/stripe_billing.rs@@ -278,7 +278,7 @@ impl StripeBilling {trial_period_days: Some(trial_period_days),trial_settings: Some(stripe::CreateCheckoutSessionSubscriptionDataTrialSettings {end_behavior: stripe::CreateCheckoutSessionSubscriptionDataTrialSettingsEndBehavior {- missing_payment_method: stripe::CreateCheckoutSessionSubscriptionDataTrialSettingsEndBehaviorMissingPaymentMethod::Pause,+ missing_payment_method: stripe::CreateCheckoutSessionSubscriptionDataTrialSettingsEndBehaviorMissingPaymentMethod::Cancel,}}),metadata: if !subscription_metadata.is_empty() {