1. Go to this page and download the library: Download codepso/techgenies-mm 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/ */
codepso / techgenies-mm example snippets
use TechGenies\MM\Exceptions\PayTraceException;
public function register()
{
//
$this->renderable(function (PayTraceException $e, $request) {
return $e->getError();
});
}
use TechGenies\MM\Api\PayTraceApi;
try {
$payTraceApi = new PayTraceApi();
return $payTraceApi->customers->create($data);
} catch (PayTraceException $e) {
return $e->getError();
}
use TechGenies\MM\Api\PayTraceApi;
$payTraceApi = new PayTraceApi();
return $payTraceApi->customers->create($data);