This commit is contained in:
adueck 2022-10-12 23:58:46 +05:00
parent af87faf9ed
commit f82173ee07
1 changed files with 15 additions and 15 deletions

View File

@ -38,8 +38,8 @@ paymentRouter.post("/create-checkout-session", async (req, res, next) => {
],
mode: 'subscription',
// TODO ADD URLS
success_url: `/`,
cancel_url: `/`,
success_url: `https://account.lingdocs.com/`,
cancel_url: `https://account.lingdocs.com/`,
});
if (!session.url) {
return next("error creating session url");