Home > PrestaShop – Mastercard Gateway > Configuration > General Settings

PrestaShop – Mastercard Gateway

Created date: 06-04-23   |   Updated date: 23-04-25   |   Plugin version: 1.4.4  |   API version: 100

General Settings

Below is a detailed explanation of each field in the General Settings section, designed to guide you through the setup process:

Configuring the Gateway details

Live Mode:
Toggle this button to switch your Mastercard Gateway service to live production mode.

 

  • Disable this mode to use test credentials (API username prefixed with TEST).
  • Recommendation: Always test in Test mode before switching to Live mode.

API Endpoint:

Select the gateway based on your account region.

Custom API Endpoint:
If “Other” is selected for API Endpoint, provide a custom URL to override the default regional gateway.

Send Line Items:
Toggle this button to Enabled 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.

Merchant ID:

Enter your Live Merchant ID

API Password:

Enter the API Password obtained from your merchant account.

Webhook Secret:
Enter the Webhook Secret from your merchant account. Please refer to API Configuration to obtain the Webhook Secret.

If you have disabled the ‘Live Mode’ option, the fields will be displayed as Test Merchant ID, Test API Password, and Test Webhook Secret

Test Merchant ID:

Enter your Test Merchant ID having TEST prefix

Test API Password:

Enter the Test API Password obtained from your merchant account.

Test Webhook Secret:
Enter the test Webhook Secret from your merchant account. Please refer to API Configuration to obtain the Webhook Secret.