Failed to load https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error:
Failed to load https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=EC-34C81...: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
Geeting the following error from localhost. I am using October CMS. I am using $response->redirect() from the component and getting this error.
- Labels:
-
Express Checkout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just checking in on this issue, but it should be resolved ( i remember it well).
Let me know if this is not the case.
Apologies for the delay in responding
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Justin, I'm facing this issue too when trying to store the payment on my system. I'm using smart buttons, and everything goes cool untill this issues brokes the script, I tried using my client_id as Bearer Authorization on the Fetch but it didn't work.
I hope you can help me with this problem, I can't find a solution on the documentation or google (I'll attach a screenshot of my code).
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- link my PayPal business account with my WordPress website , but it's not work ?! in PayPal Payments Standard
- Change the button from Sandbox to Production in PayPal Payments Standard
- I met the 422 response, and tries a lot solutions in the community but still not work in REST APIs
- Handling payouts that are being on hold/blocked in REST APIs
- The Advanced Credit Card Option from PayPal Advanced Checkout SDK is displaying different UIs. in PayPal Upgrade Community