Update stripe_checkout.ts

This commit is contained in:
Rucknium
2023-11-13 16:07:13 +00:00
committed by GitHub
parent 7fc70393a2
commit b17d0846d4

View File

@@ -46,6 +46,7 @@ export default async function handler(
metadata: {
donor_email: email || null,
donor_name: name || null,
project_slug: project_slug || null,
},
success_url: `${req.headers.origin}/thankyou`,
cancel_url: `${req.headers.origin}/`,
@@ -54,6 +55,7 @@ export default async function handler(
metadata: {
donor_email: email || null,
donor_name: name || null,
project_slug: project_slug || null,
},
},
}