1. Go to this page and download the library: Download mpay24/mpay24-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mpay24 / mpay24-php example snippets
use Mpay24\Mpay24;
use Mpay24\Mpay24Order; //if you are using paymentPage
$mpay24 = new Mpay24('9****', '*********', TRUE); //Testsystem
$mpay24 = new Mpay24('7****', '*********', FALSE); //Livesystem