Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object has no
Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object has no
$epay_params['merchantnumber'] = *******;
$epay_params['transactionid'] = $id;
$epay_params['amount'] = 0;
$epay_params['pbsResponse'] = -1;
$epay_params['epayresponse'] = -1;
$client = new SoapClient('https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx?WSDL');
$result = $client->credit($epay_params);
print_r($result)
它给出了类似
的错误
Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR:
Encoding: object has no 'pbsresponse' property ...
当调用这个函数时它给出。帮我解决这个问题
我的问题终于得到了解决。我只是将 'r' 替换为 'R'。
updated code
$epay_params['merchantnumber'] = *******;
$epay_params['transactionid'] = $id;
$epay_params['amount'] = 0;
$epay_params['pbsresponse'] = -1;
$epay_params['epayresponse'] = -1;
$client = new SoapClient('https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx?WSDL');
$result = $client->credit($epay_params);
print_r($result)
$epay_params['merchantnumber'] = *******;
$epay_params['transactionid'] = $id;
$epay_params['amount'] = 0;
$epay_params['pbsResponse'] = -1;
$epay_params['epayresponse'] = -1;
$client = new SoapClient('https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx?WSDL');
$result = $client->credit($epay_params);
print_r($result)
它给出了类似
的错误Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object has no 'pbsresponse' property ...
当调用这个函数时它给出。帮我解决这个问题
我的问题终于得到了解决。我只是将 'r' 替换为 'R'。
updated code
$epay_params['merchantnumber'] = *******;
$epay_params['transactionid'] = $id;
$epay_params['amount'] = 0;
$epay_params['pbsresponse'] = -1;
$epay_params['epayresponse'] = -1;
$client = new SoapClient('https://ssl.ditonlinebetalingssystem.dk/remote/payment.asmx?WSDL');
$result = $client->credit($epay_params);
print_r($result)