feat: add cancel url

This commit is contained in:
Nevo David 2024-08-17 11:35:36 +07:00
parent c1e84a3b62
commit 2c70c8c6e5
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ export class StripeService {
) {
const { url } = await stripe.checkout.sessions.create({
customer,
cancel_url: process.env['FRONTEND_URL'] + `/billing`,
success_url:
process.env['FRONTEND_URL'] +
`/launches?onboarding=true&check=${uniqueId}`,