Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

billing: Edit text of free trial end confirmation banner.

Alya Abbott06fd0c9c4b83
diff --git a/web/src/billing/billing.ts b/web/src/billing/billing.ts
index ffac4889a2c..4c00aaed320 100644
--- a/web/src/billing/billing.ts
+++ b/web/src/billing/billing.ts
@@ -212,7 +212,10 @@ export function initialize(): void {
$("#confirm-end-free-trial .dialog_submit_button").on("click", (e) => {
helpers.create_ajax_request("/json/billing/plan", "planchange", [], "PATCH", () =>
window.location.replace(
- "/billing/?success_message=" + encodeURIComponent("Successfully ended trial!"),
+ "/billing/?success_message=" +
+ encodeURIComponent(
+ "Your plan will be canceled at the end of the trial. Your card will not be charged.",
+ ),
),
);
e.preventDefault();