this code used to be work in porevoius php version
Code: Select all
$soapclient = new soapclient('https://Acquirer.sb24.com/ref-payment/ws/ReferencePayment?WSDL');
$soapProxy = $soapclient->getProxy();
$result = $soapProxy->VerifyTransaction("$refnum","$id");
//
$err = $soapclient->getError();
if ($err)
{
echo '<br><h2>Constructor error</h2><pre>' . $err . '</pre>';
echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->getDebug(), ENT_QUOTES) . '</pre>';
exit();
}error :
Code: Select all
Uncaught SoapFault exception: [Client] Function ("getProxy") is not a valid method for this service in /home/admin/******/verify.php:23 Stack trace: #0 /home/admin/*****/verify.php(23): SoapClient->__call('getProxy', Array) #1 /home/admin/*****/verify.php(23): SoapClient->getProxy() #2 {main} thrown in /home/admin/*****/verify.php on line 23