Establishing interaction with the payment gateway

The interaction with the payment gateway is described in the Hosted Payment Page Implementation guide, available in the website.

The merchant website and the payment gateway interact by exchanging data.

To create a payment, this data is sent in an HTML form via the buyer’s browser.

At the end of the payment, the result is transmitted to the merchant website in two ways:

  • automatically by means of notifications called Instant Notification URLs (also known as IPN for Instant Payment Notification).
  • by the browser when the buyer clicks the button to return to the merchant website.

To guarantee the security of the exchange, the data is signed with a key only known to the merchant and the payment gateway.