docs(*): Update documentation

This commit is contained in:
Josh Creek
2024-05-05 18:35:08 +01:00
parent cfb4ad77f7
commit cb6246bce0
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -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);
};