Hello everyone, I am trying to use the fetch api to get the payment status from the poll_url. However, when I try to do it on the client side, I a getting a CORS ERROR… Here is the error :
Access to fetch at ‘https://www.paynow.co.zw/Interface/CheckPayment/?guid=xxxxxxxxxxxx’ from origin ‘https://portal.xxxxxx.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
my question is there a way of going around this or is it possible for paynow api to allow Cross Origin Requests from 'https://portal.xxxxxx.com