var $live_url = 'https://processing.ukash.com/RPPGateway/process.asmx';

$source = array(
    'SecurityToken' => $res[0]->merchant_name,
    'BrandID' => $res[0]->merchant_key2,
    'UTID' => $UTID,
);

$soap = new SoapClient($this->live_url.'?wsdl');
$response = $soap->GetTransactionStatus($source); //$response is the xml string
$xml_obj=simplexml_load_string($response->GetTransactionStatusResult);  //transform xml to object

posted on 2014-10-14 10:31  c碰  阅读(402)  评论(0编辑  收藏  举报