Skip to content

Commit

Permalink
feat: add billing error from url params (#23748)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield authored Jul 16, 2024
1 parent 791f087 commit e6181ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/src/scenes/billing/billingLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,13 @@ export const billingLogic = kea<billingLogicType>([
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()
},
Expand Down

0 comments on commit e6181ff

Please sign in to comment.