848 viewsJS Amazona

Hi, everyone!
Thank’s a lot for the tutorial, Bashir! Piece of art!

I’m following the “JavaScript Ec-ommerce” and I’m about to implement Paypal Payment and I got the error:

Uncaught Error: Client ID not found for env: sandbox

I’ve tried many times to connect with paypal (and of course rewrite the code again) but always the same error.

I’ve created my REST Api APP in sandbox with a sandbox business account (US) and copy my Client ID but with no success.

I apriaciate any help, thanks in advance.

Bassir Answered question March 10, 2023

check network tab to see if you get client id in frontend from backend api.

Bassir Answered question March 10, 2023
You are viewing 1 out of 1 answers, click here to view all answers.