The latest connection IPay88 payment encountered some problems about Webservice

Viewed 35

I developed in PHP and found an SDK Then I modified sample-ipay88.php file in the SDK, and after the request, I output all the results indicating error: Not Found. I also tried to use SoapClient class to realize it by myself, but I got the same result, IPay88 official reply efficiency is very low. enter image description here

<?php
require_once dirname(__FILE__) . '/Ipay88Autoload.php';

$merchantCode = 'xxxxxx'; //MerchantCode confidential
$merchantKey = 'xxxxxx'; //MerchantKey confidential

$BarcodeNo = '12345678912345678';

$currency = 'MYR';
$RefNo = 'M' . time();
$sign = $merchantKey . $merchantCode . $RefNo . "100" . $currency . $BarcodeNo;
$sign = hash('sha256', $sign);

$model = new \Ipay88StructClientRequestModel();
$model->setAmount("1.00");
/** Some order parameters **/


$ipay88ServiceEntry = new Ipay88ServiceEntry();

if($ipay88ServiceEntry->EntryPageFunctionality(new Ipay88StructEntryPageFunctionality($model))){
    print_r($ipay88ServiceEntry->getResult());
} else {
    print_r($ipay88ServiceEntry->getLastError());
}

Well, XML does include EntryPageFunctionality. Why does that say it's not there.

0 Answers
Related