From e6181ff07b403050a762ab9f311aa3e609dda4e9 Mon Sep 17 00:00:00 2001 From: Zach Waterfield Date: Tue, 16 Jul 2024 12:08:07 -0400 Subject: [PATCH] feat: add billing error from url params (#23748) --- frontend/src/scenes/billing/billingLogic.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/scenes/billing/billingLogic.tsx b/frontend/src/scenes/billing/billingLogic.tsx index ec2d3718bc61d..964c00e3ee1c7 100644 --- a/frontend/src/scenes/billing/billingLogic.tsx +++ b/frontend/src/scenes/billing/billingLogic.tsx @@ -546,6 +546,13 @@ export const billingLogic = kea([ const products = _search.products.split(',') actions.setScrollToProductKey(products[0]) } + if (_search.billing_error) { + actions.setBillingAlert({ + status: 'error', + title: 'Error', + message: _search.billing_error, + }) + } actions.setRedirectPath() actions.setIsOnboarding() },