PHP code example of iepay / iepay-php-sdk
1. Go to this page and download the library: Download iepay/iepay-php-sdk 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/ */
iepay / iepay-php-sdk example snippets
bash
composer
code
use IEPaySDK\BaseClient;
use IEPaySDK\Observer\SignatureObserver;
class IEPayClient extends BaseClient {
public function __construct(string $apiKey)
{
$this->addObserver(new SignatureObserver($apiKey));
$origin = 'https://a.mypaynz.com';
parent::__construct($origin);
}
}