john-smilga / react-phone-e-commerce-project

144 stars 117 forks source link

Client ID not found for env: sandbox #3

Open asamamun opened 5 years ago

asamamun commented 5 years ago

in link http://localhost:3000/cart got this error: Client ID not found for env: sandbox

sagarmali89 commented 4 years ago

Yes i too got same issue Client ID not found for env: sandbox

, any solution for that ?

MikeMor-fr commented 4 years ago

Hey guys ! I had the same issue and this is how to fix it : 1) Please, make sure you create your .env file in the root directory (same directory as .gitignore) of the phone-e-commerce-app, not in the src directory or else (that was my mistake ^^). 2) Once you did that, you have to restart the server. This should fix it :)