devat-youtuber / mern-ecommerce

193 stars 128 forks source link

your demo page is not working #1

Open Mrchanghao opened 3 years ago

Mrchanghao commented 3 years ago

the demo site is somtething wrong

heroku error happened.... you should check the server status

devat-youtuber commented 3 years ago

Yes, I fixed it. Thank you

Vào Th 7, 31 thg 10, 2020 vào lúc 01:31 chang ho lee < notifications@github.com> đã viết:

the demo site is somtething wrong

heroku error happened.... you should check the server status

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/devat-youtuber/mern-ecommerce/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6VGMEOBVXBF3CQ3EU7XELSNMBBNANCNFSM4TFJONGA .

adityaFE commented 3 years ago

Why does the checkout option not working in the demo app?

devat-youtuber commented 3 years ago

because i deleted my paypal client id, you can manually create your own sandbox to test.

adityaFE commented 3 years ago

Thank you so much for replying.I quick confusion I want to clear from you .I am wondering when you checked out and placed the order from paypal ,will it be using real money for transaction completion orr just fake transaction? I am really confused in this bit.

devat-youtuber commented 3 years ago

You follow the instructions and use the demo only for fake money. Don't worry, please use paypal sandbox for testing. You can create an empty account to try it out.

adityaFE commented 3 years ago

Thank you so much sir.

racemtriki0 commented 3 years ago

admin password please !!!

VVJS-22 commented 3 years ago

You don't need an admin password, Just register a user then go to mongoDB collections and edit that particular collection manually change the role value as 1. Now you are a new admin!

devat-youtuber commented 2 years ago

If people get image upload error, quit axios and use fetch:

const res = await fetch('/api/upload', { method: "POST", body: formData, headers: { Authorization: token } })