remove update subscription flow overall from UI
This commit is contained in:
@@ -132,7 +132,9 @@ onMounted(handleInitialLoad);
|
||||
<BillingCard
|
||||
v-else
|
||||
:title="$t('BILLING_SETTINGS_V2.TOPUP_OPTIONS.TITLE')"
|
||||
:description="$t('BILLING_SETTINGS_V2.TOPUP_OPTIONS.UPGRADE_REQUIRED')"
|
||||
:description="
|
||||
$t('BILLING_SETTINGS_V2.TOPUP_OPTIONS.UPGRADE_REQUIRED')
|
||||
"
|
||||
>
|
||||
<div class="px-5 pb-5">
|
||||
<p class="text-sm text-n-600">
|
||||
|
||||
+8
-1
@@ -243,6 +243,7 @@ const handleUpdateQuantity = async () => {
|
||||
isUpdatingQuantity.value = true;
|
||||
try {
|
||||
const result = await store.dispatch('accounts/v2UpdateQuantity', {
|
||||
pricingPlanId: currentPlanId.value,
|
||||
quantity: newQuantity.value,
|
||||
});
|
||||
if (result.success) {
|
||||
@@ -270,7 +271,13 @@ const isCurrentPlan = plan => {
|
||||
v-if="hasActiveSubscription && !isCancellingAtPeriodEnd"
|
||||
#action
|
||||
>
|
||||
<ButtonV4 sm faded red :is-loading="isCanceling" @click="openCancelModal">
|
||||
<ButtonV4
|
||||
sm
|
||||
faded
|
||||
red
|
||||
:is-loading="isCanceling"
|
||||
@click="openCancelModal"
|
||||
>
|
||||
{{ $t('BILLING_SETTINGS_V2.PRICING_PLANS.CANCEL_SUBSCRIPTION') }}
|
||||
</ButtonV4>
|
||||
</template>
|
||||
|
||||
@@ -26,7 +26,9 @@ const {
|
||||
} = useCaptain();
|
||||
|
||||
const uiFlags = useMapGetter('accounts/getUIFlags');
|
||||
const isStripeBillingV2Enabled = useMapGetter('globalConfig/isStripeBillingV2Enabled');
|
||||
const isStripeBillingV2Enabled = useMapGetter(
|
||||
'globalConfig/isStripeBillingV2Enabled'
|
||||
);
|
||||
const store = useStore();
|
||||
|
||||
const BILLING_REFRESH_ATTEMPTED = 'billing_refresh_attempted';
|
||||
|
||||
Reference in New Issue
Block a user