79395375

Date: 2025-01-28 23:01:55
Score: 1.5
Natty:
Report link

when you try to log console.log("session", session) in your cart.js what is the output of the log? one other question: Did you check your connection string for mongoDB usually it is different on production from the one you use for development/staging the case might be that you have issue with the database connection, it may return null and triggering a redirect. try adding these logs inside the checkout.js: console.log("User from DB:", user); console.log("Cart from DB:", cart);

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when you
  • Low reputation (0.5):
Posted by: BlackSheep