Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(stripe): handle all stripe subscription statuses for team subscription (#4389)
Will Hutchinsone4271300e16e
diff --git a/rust/cloud-storage/authentication_service/src/api/webhooks/user/stripe_webhook.rs b/rust/cloud-storage/authentication_service/src/api/webhooks/user/stripe_webhook.rsindex 4a54433ba5..fa54e6931c 100644--- a/rust/cloud-storage/authentication_service/src/api/webhooks/user/stripe_webhook.rs+++ b/rust/cloud-storage/authentication_service/src/api/webhooks/user/stripe_webhook.rs@@ -451,7 +451,7 @@ async fn handle_team_subscription_event<'a>(.await?;match subscription_status {- "active" => {+ "active" | "trialing" => {ctx.teams_service.restore_permissions_for_team_members(team_id).await?;@@ -467,7 +467,7 @@ async fn handle_team_subscription_event<'a>();Ok(())}- "canceled" | "past_due" | "paused" | "unpaid" => {+ "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "paused" | "unpaid" => {ctx.teams_service.revoke_permissions_for_team_members(team_id).await?;