diff --git a/api/src/billing/billing.service.ts b/api/src/billing/billing.service.ts index ac2c45b..71e1642 100644 --- a/api/src/billing/billing.service.ts +++ b/api/src/billing/billing.service.ts @@ -138,8 +138,8 @@ export class BillingService { selectedPlan.polarMonthlyProductId, selectedPlan.polarYearlyProductId, ], - successUrl: `${process.env.FRONTEND_URL}/dashboard?checkout-success=1&checkout_id={CHECKOUT_ID}`, - cancelUrl: `${process.env.FRONTEND_URL}/dashboard?checkout-cancel=1&checkout_id={CHECKOUT_ID}`, + successUrl: `${process.env.FRONTEND_URL}/dashboard/account?checkout-success=1&checkout_id={CHECKOUT_ID}`, + cancelUrl: `${process.env.FRONTEND_URL}/dashboard/account?checkout-cancel=1&checkout_id={CHECKOUT_ID}`, customerEmail: user.email, customerName: user.name, customerIpAddress: req.ip,