From fc9702571b831a9e193345826893e78a87861fb2 Mon Sep 17 00:00:00 2001 From: Ratchet7x5 <36789694+Ratchet7x5@users.noreply.github.com> Date: Thu, 12 Dec 2024 20:03:53 +1300 Subject: [PATCH] add clg to monitor incoming priceId in index.ts --- api/controller/stripeController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/controller/stripeController.ts b/api/controller/stripeController.ts index b0568ad..5254e16 100644 --- a/api/controller/stripeController.ts +++ b/api/controller/stripeController.ts @@ -16,6 +16,7 @@ const endpointSecret: string = process.env.STRIPE_WEBHOOK_ENDPOINT as string; export const createCheckout = asyncHandler( async (req: Request, res: Response) => { + console.log("createCheckout: req.body", req.body); const { priceId, userTicketId } = req.body; const session = req.session!; let email;