Establishing interaction with the payment gateway
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 called IPN or Instant Payment Notification), see chapter Setting up notifications.
- Via the browser, when the buyer clicks the button to return to the merchant website, see chapter Managing the return to the merchant website.
To guarantee the security of the exchange, the data is signed with a key known only to the merchant and the payment gateway.