PayPal Express Checkout Working on Local but not Web Server
I'm working on a Magento 2.1.9 website and I am having problems setting up PayPal Express Checkout on the web server the website is hosted at. I have added all of my sandbox API creds into the Magento back office, but when I click on the "Check out with Magento" button, I get redirected to my website's shopping cart page.
However, when I test this feature on my local development environment, this issue does not occur. I get the PayPal popup exactly as expected. Does anyone have any ideas as to why this works on local but not online?