This section explains the options available for configuring a Hosted Session. Each option is designed to help you customize the session to suit your business needs. Follow this guide step by step to understand how to set up and personalize the Hosted Session.
Check the checkbox to enable the Mastercard Gateway Payment option. This step activates the configuration needed for this payment option as well as enables the same in the checkout page.
Type in a name or label for this payment method. This is what your customers will see on the checkout page when choosing how to pay. Make sure the label is clear and easy to understand.
Enter the description for this payment method as you want it to appear on the checkout page for customers.
Select the gateway instance based on your account region.
If “Custom URL” is selected for Gateway, provide a custom URL to override the default regional gateway.
Choose one of the following Transaction Mode (Payment flows):
Please note that while the transfer is automatic, it might take a little time for the amount to show up in the merchant’s account. However, no additional action is required from either the user or the merchant to complete the process.
This method gives you more control but requires you to complete the capture process manually within the stipulated timeframe configured for your MID.
Choose the integration model as Hosted Session.
This option lets you select the security level for the user’s card during transactions. Here’s what each level means:
When this feature is enabled, customers have the option to save their payment details for future purchases. Their information is securely encrypted and stored using tokenization by Mastercard Gateway. No card details are stored on the website itself. Instead, the payment gateway generates a unique payment token that is linked to the customer’s payment method.
This token serves as a secure reference for transactions, allowing payments to be processed without exposing sensitive card details. However, for security reasons, customers will still need to enter the CSC/CVV code found on the back of their card next to the signature panel. By using this system, your business reduces the need to manage unencrypted payment data, which significantly lowers the effort required to meet PCI compliance standards—rules designed to keep payment data secure.
Enable this option to log data into ./wp-content/mastercard.log. Please note that logging is only available if the Test Sandbox Mode is enabled. Debugging creates detailed logs that can help you identify and fix issues with your payment process.
Enable this option if you want to include detailed order information (like item names, quantities, and prices) in the transactions sent to the Mastercard Gateway. This helps with tracking and provides more details for reporting.
Please set up your Merchant credentials in TEST mode and ensure that everything functions correctly.
Enter the order ID prefix. This is necessary in case multiple integrations utilize the same Merchant ID. This precaution helps prevent the occurrence of duplicate Order IDs, which could potentially result in payment issues.
Enter the WebHook secret from your merchant account. Please refer to API Configuration to obtain the Webhook Secret.
The plugin automatically includes the Notification URL, so manual configuration in the Merchant Administration portal is not required.
This option allows you to add extra fees at checkout. The fee can be applied as either a fixed amount or a percentage of the subtotal.
Click the “Save Changes” button to save the modifications made on the ‘Mastercard Gateway Configuration’ page.