The easiest way to integrate your website into iPaymu payment gateway.
The best way to use this package is using composer
composer require frankyso/ipaymu
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key', ['ureturn','unotify','ucancel']);
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$iPaymu->setUreturn('https://your-website');
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$iPaymu->setUnotify('https://your-website');
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$iPaymu->setUcancel('https://your-website');
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$iPaymu->checkBalance();
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$iPaymu->isApiKeyValid();
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$cart = $iPaymu->cart()->add("id","product-name", 'product-quantity','product-price');
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$cart = $iPaymu->cart();
$cart->remove('product-id');
in this package we use cart type transaction so you must checkout after adding your product
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$cart = $iPaymu->cart()->add("id","product-name", 'product-quantity','product-price');
$cart->checkout();
To checking your account transaction status (deposit, transfer, send money).
to be honest, this endpoint still working, but somehow i cannot find transaction-id
from any other endpoint.
<?php
use frankyso\iPaymu\iPaymu;
$iPaymu = new iPaymu('your-api-key');
$iPaymu->checkTransaction("transaction-id");
- Franky So - Initial work - Konnco
See also the list of contributors who participated in this project.