From f00e9a89aaefa49f62a6eeca7884b381543e006e Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Tue, 16 Jan 2024 23:43:41 +0530 Subject: [PATCH] [req-change] Refresh radius token after successful payment --- client/utils/get-payment-status.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/utils/get-payment-status.js b/client/utils/get-payment-status.js index a4851dad..89d5b05c 100644 --- a/client/utils/get-payment-status.js +++ b/client/utils/get-payment-status.js @@ -52,6 +52,10 @@ const getPaymentStatusRedirectUrl = async ( is_verified: true, payment_url: null, mustLogin: true, + // For refreshing of radius_user_token which is required + // when the user is upgrading from the status modal after + // exhausting limits on their current plan. + radius_user_token: undefined, }); } return `/${orgSlug}/payment/${paymentStatus}`;