rahulhaque / bKash-payment-gateway-web-demo

bKash payment gateway API integration documentation for web.
129 stars 44 forks source link

CORS error #4

Closed TorabRamin closed 3 years ago

TorabRamin commented 3 years ago

Please fix this CORS error. image

TorabRamin commented 3 years ago

Sorry, my bad.

Solution:- All of the sandbox APIs have CORS disabled for any origins. That means you cannot access them from your browser. In order to access them, you will have to disable your browser's CORS checking completely. If you are running Windows and have Chrome installed, you press win + r key and type chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security to start Chrome in CORS disabled mode.