(01-09-2024, 06:02 AM)Alexandre Machado Wrote:Quote:First thing: Why the gateway doesn't allow requests from your server? This should be configurable on the gateway.
You can craft a JS request on your server, in JavaScript, send it to your browser and the browser will manage to send it directly to your gateway.
However this is not something for which I can create a simple demo.
It would be interesting to know the answer for the first question first.
ฺBecause, Only in the case customer makes a payment with a credit card, it is necessary to the browser send card information in order to receive the Token directly from the Payment Gateway Server. My server never has to deal with sensitive card information. Unless I have PCI-DSS license to send server side.
This is a necessary condition for accepting credit card payments to protect customer card information.
But other steps or payment via other methods do not need to be send request directly from the Browser.

