minor bug fixed

This commit is contained in:
Daniel
2023-07-19 18:30:22 -04:00
parent 18b0271462
commit 985687ca89
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ export default async function paymentCheckout(
],
mode: "subscription",
customer_email: isExistingCostomer ? undefined : email.toLowerCase(),
success_url: "http://localhost:3000?session_id={CHECKOUT_SESSION_ID}",
cancel_url: "http://localhost:3000/login",
success_url: `${process.env.BASE_URL}?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: `${process.env.BASE_URL}/login`,
automatic_tax: {
enabled: true,
},