Skip to content

Commit

Permalink
add clg to monitor incoming priceId in index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent 8c6ba1d commit fc97025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/controller/stripeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc97025

Please sign in to comment.