mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 11:03:49 +00:00
docs(*): Update documentation
This commit is contained in:
@@ -26,5 +26,8 @@ export const POST: RequestHandler = async ({ request }) => {
|
||||
cancel_url: `${request.headers.get('origin')}/checkout/cancelled`
|
||||
});
|
||||
|
||||
// TODO - Store the checkout session.id for access from the frontend
|
||||
// https://docs.stripe.com/api/checkout/sessions/retrieve
|
||||
|
||||
return redirect(303, session.url as string);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user