MERN Amazona User Profile
hello there, check this answer please: https://codingwithbasir.com/question/cast-to-objectid-failed-for-value-profile-type-string-at-path-_id-for-model-user/
Answer
hello there, check this answer please: https://codingwithbasir.com/question/cast-to-objectid-failed-for-value-profile-type-string-at-path-_id-for-model-user/
also for textual tutorial please check this link: https://dev.to/cyberwolves/razorpay-payment-gateway-integration-in-node-js-react-js-mern-stack-tutorial-5hba
hello there, thanks for your interest. I have a video to implement RazorPay on MERN project: https://youtu.be/Bagc1ug5rLI
hello there, in backend: npm i stripe then create stripeRouter.js like this: /* eslint-disable camelcase */ import Stripe from 'stripe'; import express from 'express'; import config from '../config.js'; import Order…
hello there, in backend: npm i stripe then create stripeRouter.js like this: /* eslint-disable camelcase */ import Stripe from 'stripe'; import express from 'express'; import config from '../config.js'; import Order…
I also notice that my img tags (src and alt) read undefined as well
hello there, 404 error comes from here: https://github.com/basir/next-tailwind-amazona/blob/main/pages/product/%5Bslug%5D.js#L16 if the product slug does not exist you get this error. check the db to see if you have product with that…
Change Line 6 to this: const { query } = useRouter();