hasan-py / MERN_Stack_Project_Ecommerce_Hayroo

E-commerce Website | Payment gateway | Reactjs | Nodejs | Mongodb | Expressjs | JWT | Tailwind Css

Home Page:https://www.youtube.com/watch?v=lXk14qt2D28

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't turn it on

ultra-beep opened this issue · comments

commented

Are you resolved that?

no its still there

that worked and could you tell me pls what BRAINTREE_MERCHANT_ID=
BRAINTREE_PUBLIC_KEY=
BRAINTREE_PRIVATE_KEY=
Means?
and if i open the shop every user that makes a acc can get to the dashboard how do i change this ?

commented

You can find this key in Braintree's developer account. These 3 keys are secret tokens to connect your project's payment process to Braintree account. It just works like a configuration. Hope you got it. If not then you can read this article https://developer.paypal.com/braintree/articles/control-panel/important-gateway-credentials

Thanks dear ❤️

and how do i make it so not every1 that has a acc can open the admin panel ?

commented

Can't understand! Can you explain in details please?

commented

Got it. Do you want that certain people can just access the admin panel? This is already implemented. You can create customer and admin both. And for serve this purpose, you need to change some code in the backend codebase. I Commented it into the server.js file in the backend codebase. I hope you got it. If not then let me know. You can DM me on Twitter for a fast response https://twitter.com/hasan_py

Thank you for your time. I'm closing this issue.

or i'm blind but there is no server.js file