Generate HTML Form to send to iPay88 API
-
Use require_once or include_once for iPay88.php file. ###Example: require_once 'iPay88.php';
-
Create new object ###Example: $obj = new iPay88;
-
Send Parameter & Print Output ###Example: echo $obj->setMerchantKey('') ->setMerchantCode('') ->setPaymentId('') ->setRefNo('A00') ->setAmount('1.00') ->setCurrency('MYR') ->setProdDesc('Untung la Sangat') ->setUserName('Wan Zul') ->setUserEmail('[email protected]') ->setUserContact('0145356443') ->setRemark('') ->setLang('UTF-8') ->setResponseURL('http://woo.wanzul-hosting.com/igniter/ssa.php') ->setBackendURL('http://woo.wanzul-hosting.com/igniter/ssa.php') ->prepare() ->process();
-
Use require_once or include_once for iPay88.php file. ###Example: require_once 'iPay88Callback.php';
-
Create new object and pass your merchant key in the object constructor ###Example: $obj = new iPay88Callback('ABC');
-
For ResponseURL, call method as example below: ###Example: $obj->verifySignature()->getData();
-
For BackendURL, call method as example below: ###Example: $obj->verifySignature()->requeryStatus()->getData();
Support me by giving donation: http://www.wanzul.net/donate
Get cheap and affordable web hosting, starting from RM39.99/year