diff --git a/docker-compose.accounts.yml b/docker-compose.accounts.yml index 93d17bf9..7ec78a04 100644 --- a/docker-compose.accounts.yml +++ b/docker-compose.accounts.yml @@ -21,7 +21,7 @@ services: accounts: # uncomment "build" and comment out "image" to build from sources - build: https://github.com/SkynetLabs/skynet-accounts.git#main + build: https://github.com/SkynetLabs/skynet-accounts.git#dashboard-v2-tests # image: skynetlabs/skynet-accounts:1.1.0 container_name: accounts restart: unless-stopped diff --git a/packages/dashboard-v2/src/pages/payments.js b/packages/dashboard-v2/src/pages/payments.js index b3dfbb13..adf2303b 100644 --- a/packages/dashboard-v2/src/pages/payments.js +++ b/packages/dashboard-v2/src/pages/payments.js @@ -112,17 +112,6 @@ const PlansSlider = () => { } }; - const manageSubscription = async () => { - try { - const response = await accountsService.post("stripe/billing", { throwHttpErrors: false, redirect: "manual" }); - console.log(response.headers.location); - debugger; - } catch (error) { - setShowPaymentError(true); - console.error(error); - } - }; - return (
@@ -173,7 +162,7 @@ const PlansSlider = () => {
{(!hasActivePlan || isHigherThanCurrent) && (isCurrentPlanPaid ? ( - ) : ( @@ -183,7 +172,7 @@ const PlansSlider = () => { ))} {isCurrent && } {isLower && ( - )}