From f2337bbed1d0ef6909ab8c8b8287ccdb27389063 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 14 Oct 2024 12:39:20 +0200 Subject: [PATCH] Redirect to checkout page when payment is required (#19179) Previously, we were redirecting to a non-existant page. Release Notes: - N/A --- crates/assistant/src/assistant_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs index 0439122cb4..943cbbb29f 100644 --- a/crates/assistant/src/assistant_panel.rs +++ b/crates/assistant/src/assistant_panel.rs @@ -4347,7 +4347,7 @@ impl ContextEditor { fn render_payment_required_error(&self, cx: &mut ViewContext) -> AnyElement { const ERROR_MESSAGE: &str = "Free tier exceeded. Subscribe and add payment to continue using Zed LLMs. You'll be billed at cost for tokens used."; - const SUBSCRIBE_URL: &str = "https://zed.dev/ai/subscribe"; + const SUBSCRIBE_URL: &str = "https://zed.dev/api/billing/initiate_checkout"; v_flex() .gap_0p5()