Cant access PollUrl from mobile app because of CORS


I successfully initiated a payment and get poollUrl in return, but when I want to poll the url from my mobile app, I am getting CORS Error

Access to XMLHttpRequest at '' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.


@tapiwajoel Can I assume you are using Ionic?

  1. What Http method are you using on the pollUrl ?
  2. What HTTP methods is your pre-flight check requesting for?