mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 10:03:56 +00:00
billing: Clean up overly long event_status strings.
The "would be redirected" isn't proper American English grammar too.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user