Masterpass Iframe Extension
Extension Installation
Preliminary Works
The following information is requested from the provider for the brand-specific and production (live) environment.
API_URL
MERCHANT_ID
TERMINAL_GROUP_ID
A hash_key of at least 32 characters in length and a secret_key of at least 41 characters in length should be generated. The keys produced during the installation must be stored. Here is an example command to generate a random key:
openssl rand -base64 41
Environment Variables
The extension installed to the relevant project in ACC must have the following environment variables. Environment variables can be entered before or after the deployment phase. As changes are made to the environment variables, the deployment process must be performed again.
SECRET_KEY
Code received during the preliminary works phase
ADMIN_USERNAME
A username can be entered (example: ‘akinon’)
ADMIN_PASSWORD
A newly created and extension-specific strong password
ADMIN_EMAIL
The e-mail address of the installer can be entered
HASH_KEY
Code received during the preliminary works phase
API_URL
API URL received during the preliminary works phase (without a trailing slash at the end)
MERCHANT_ID
MERCHANT ID received during the preliminary works phase
TERMINAL_GROUP_ID
TERMINAL GROUP ID received during the preliminary works phase (Acquirer bank identifier)
Omnitron Settings
The installed extension must also be defined to the project via Omnitron. This can be done on the Payment Options & Add/Edit POS Integration pages. After the settings are completed, it will be accessible under a new tab on the payment screen as it is a redirection type payment integration.
Payment Options
One payment option must be defined in Omnitron to be specific for the extension installed. Explanations on how the settings should be made at this stage are in the table below.
Payment Option
Redirect to bank
Payment Option Name
Redirection
Payment Option Slug
masterpass_ext
Config*
{"pos_slug":"masterpass_ext", "is_iframe": true}
"is_iframe" Parameter Explanation
The "is_iframe" parameter determines whether payments of the Redirection type are displayed within an iframe.
If this parameter is set to true, the redirect URL opens within an iframe on the same payment screen, ensuring that the user remains on the same page.
If this parameter is set to false, the system redirects the user to the redirect URL on a separate page, where the payment process is completed.
Although Masterpass Iframe Integration supports redirection to a separate page, its official documentation states that it is designed to function within an iframe, keeping the user on the same page.
Please contact the Zero Team for more information.
POS Integration
One POS integration must be defined in Omnitron to be specific for the extension installed. Explanations on how the settings should be made at this stage are in the table below.
Name
Masterpass Iframe Extension
Slug
masterpass_ext
Gateway
extension
Resource URL
EXTENSION URL
Username
ADMIN_USERNAME value in environment variables
Password
ADMIN_PASSWORD value in environment variables
Hash Key
HASH_KEY value in environment variables
Payment Type
SALE
Last updated
Was this helpful?