Hi guys, I am trying to access the checkout.json file on my store but I receive an error. I can access the json in a browser but not when I attempt to pull it. I am new to React JS so I am not sure if I am doing something very obviously wrong!
The error - '[API] Invalid API key or access token (unrecognized login or wrong password)'
This is the code (api keys have been swapped out, but they are correct). Any help appreciated!!
I believe you need to use OAuth for the checkout API. See this tutorial for more details.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022