diff --git a/src/components/dao/settings-plans-billing.vue b/src/components/dao/settings-plans-billing.vue index f49778a5a..e62a71beb 100644 --- a/src/components/dao/settings-plans-billing.vue +++ b/src/components/dao/settings-plans-billing.vue @@ -78,6 +78,7 @@ export default { $priceId: String! $redirectDomain: String! $successUrl: String! + $cancelUrl: String! ) { createCheckoutSession( daoId: $daoId @@ -87,6 +88,7 @@ export default { priceId: $priceId redirectDomain: $redirectDomain successUrl: $successUrl + cancelUrl: $cancelUrl ) { id url @@ -100,7 +102,8 @@ export default { daoUrl: this.daoSettings.url, priceId: id, redirectDomain: ORIGIN, - successUrl: `/${this.daoSettings.url}/configuration?tab=PLANS_AND_BILLING` + successUrl: `/${this.daoSettings.url}/configuration?tab=PLANS_AND_BILLING`, + cancelUrl: `/${this.daoSettings.url}/configuration?tab=PLANS_AND_BILLING` } }) diff --git a/src/components/navigation/left-navigation.vue b/src/components/navigation/left-navigation.vue index 4d4acd538..470956fba 100644 --- a/src/components/navigation/left-navigation.vue +++ b/src/components/navigation/left-navigation.vue @@ -1,15 +1,45 @@