Most probably this error happened because you are trying to send HTTP requests to Paytabs' side using front-end JavaScript.
In this article you will be going to know about:
- How to investigate the reason that caused this error?
- Reason #1: A Frontend HTTP request sent to Paytabs
How to investigate the reason that caused this error?
You can check this error from your browser console as shown below
Reason #1: A Frontend HTTP request sent to Paytabs
That means that you are using frontend JS to send/receive HTTP requests/responses within your integration with PayTabs. Which is not supported by PayTabs for higher security purposes.
In this case, you will have to use your backend to perform those sending/receiving HTTP requests/responses actions.
To know more about our various integration methods which include backend packages and eCommerce plugins and more please check our How To Integrate With Paytabs solution article.