Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Clean up overly long event_status strings.
Tim Abbottd404febb29ad
diff --git a/web/src/billing/event_status.ts b/web/src/billing/event_status.tsindex e335a7733dd..7c388ae53a4 100644--- a/web/src/billing/event_status.ts+++ b/web/src/billing/event_status.ts@@ -51,13 +51,11 @@ function handle_session_complete_event(session: StripeSession): void {let redirect_to = "";switch (session.type) {case "card_update_from_billing_page":- message =- "Your card has been updated. You would be redirected to the billing page soon.";+ message = "Card successfully updated! Returning to billing…";redirect_to = "/billing#payment-method";break;case "card_update_from_upgrade_page":- message =- "Your card has been updated. You would be redirected to the upgrade page soon.";+ message = "Card successfully added! Returning to billing…";redirect_to = "/upgrade/";break;}