Skip to content

Commit

Permalink
#106 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
fdhhhdjd committed Nov 5, 2022
1 parent 28824fc commit cadd27a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ module.exports = {

// success_url: `${req.protocol}://${req.get("host")}/api/payment/stripe/success/{CHECKOUT_SESSION_ID}/${UserId._id}`,
// cancel_url: `${req.protocol}://${req.get("host")}/api/payment/cancel`,
success_url: `http://localhost:3000/payment/success/{CHECKOUT_SESSION_ID}`,
success_url: `http://localhost:3000/payment/stripe/success/{CHECKOUT_SESSION_ID}`,
cancel_url: `http://localhost:3000/cart`,
};
// Create Checkout Sessions from body params.
Expand Down

0 comments on commit cadd27a

Please sign in to comment.