Read Me
PHP Masterpass Merchant Checkout SDK for use with PHP Core SDK on MasterCard Developer Zone (https://developer.mastercard.com), (*1)
Pre-Requisites for using PHP MasterCard Masterpass Merchant Checkout SDK:, (*2)
- PHP 5.5 or Higher
- Download MasterCardCoreSDK.phar from https://github.com/Masterpass/MasterCardCoreSDK-PHP
- Download MastercardMerchantCheckout.phar for using merchant checkout sdk, github url: https://github.com/Masterpass/MerchantCheckoutSDK-PHP
Note: Refer to mastercard developer zone for documentation on SDKs for implementation reference and avoid potential break in your existing code if you upgrade with higher version.
Documentation for SDK Integration:
For Masterpass V7:, (*3)
https://developer.mastercard.com/documentation/masterpass-merchant-integration-v7, (*4)
These phar can be downloaded from github directly or by using composer dependency., (*5)
If you do not have composer installed you can download it from https://getcomposer.org/, (*6)
To download these phar as composer dependency, put a file named composer.json at the root of your project, containing as your project dependencies:, (*7)
MastercardMerchantCheckout SDK v7 :, (*8)
{
"require": {
"masterpass/merchantcheckoutsdk":"2.3.0"
}
}
In order to import above package in your application, you need to use following composer command after installing composer locally:, (*9)
composer install or composer update, (*10)
You can get more information about integrating MasterCard Merchant Checkout SDK from MasterCard Developer Zone -, (*11)
Merchant Integration section.