Currency:

Payment Notification Page

getError(); //This tells you if there is a problem with the web service if ($err) { // Display the error echo '

Constructor error

' . $err . '

'; } $param = array('orderID' => $orderid, 'merchantID' => $merchantid); //set parameters for the web method as array $client->soap_defencoding = 'utf-8';//Set the encoding to UTF-8 $client->response_timeout = 60; $result = $client->call('GetTransactionDetails',$param); if ($client->fault) { echo '

Fault

';
    print_r($result);
    echo '

'; } else { // Check for errors $err = $client->getError(); if ($err) { // Display the error echo '

Error

' . $err . '

'; } else { // Display the result echo '

Result

';
        print_r($result);
    echo '

'; } } ?>