i get some errors when trying to use SOAP and send SOAP request:
this is the code:
$params = array(
'pin' => $pin , // this is our PIN NUMBER
'amount' => $amount,
'orderId' => $orderID,
'callbackUrl' => $callbackUrl,
'authority' => $authority,
'status' => $status
);
$sendParams = array($params) ;
$res = $soapclient_1->call('PinPaymentRequest', $sendParams);
print_r($res);
these are errors:
Array ( [faultcode] => soap:Client [faultstring] => Server was unable to read request. --- There is an error in XML document (1, 427). --- Input string was not in a correct format. [detail] => )
this script has worked before but now, in php5 i think, i have this problem. what should i do?