diff --git a/apps/frontend/src/components/ui/servers/ServersUpgradeModalWrapper.vue b/apps/frontend/src/components/ui/servers/ServersUpgradeModalWrapper.vue index 4874339a..2e313c7b 100644 --- a/apps/frontend/src/components/ui/servers/ServersUpgradeModalWrapper.vue +++ b/apps/frontend/src/components/ui/servers/ServersUpgradeModalWrapper.vue @@ -162,7 +162,7 @@ async function initiatePayment(body: any): Promise { if (subscription.value) { const transformedBody = { interval: body.charge?.interval, - payment_method: body.id, + payment_method: body.type === 'confirmation_token' ? body.token : body.id, product: body.charge?.product_id, region: body.metadata?.server_region, }