PHP Core SDK for use with Masterpass Merchant Checkout Service SDK on MasterCard Developer Zone (https://developer.mastercard.com)
Pre-Requisites for using PHP MasterCard Core SDK:
- PHP 5.5 or 5.6
- Download MasterCardCoreSDK-PHP phar file
This phar can be downloaded from github directly or by using composer dependency.
If you do not have composer installed you can download it from https://getcomposer.org/
To download this phar as composer dependency, put a file named composer.json at the root of your project, containing as your project dependencies:
{
"require": {
"masterpass/mpasscoresdk":"1.1.0"
}
}
In order to import this package in your application, you need to use following composer command after installing composer locally:
composer update
You can get more information about integrating MasterCard Merchant Checkout Service SDK from MasterCard Developer Zone -