Home > Magento 2 – Mastercard Payment Gateway Services > Integration Model > Hosted Payment Session Integration

Magento 2 – Mastercard Payment Gateway Services

Created date: 14-03-23   |   Updated date: 28-10-24   |   Plugin version: 2.4.0  |   API version: 81

Hosted Payment Session Integration

Choose the Hosted Payment Session model if you want control over the layout and styling of your payment page, while reducing PCI compliance costs. The Hosted Payment Session JavaScript client library enables you to collect sensitive payment details from the payer in payment form fields, sourced from and controlled by Mastercard Payment Gateway. The gateway collects the payment details in a payment session and temporarily stores them for later use. You can then include a payment session in place of payment details in the transaction request to process a payment.

The example of the Hosted Payment Session Integration