當前位置: 首頁>>代碼示例>>PHP>>正文


PHP soapclient::SavePaymentRequest方法代碼示例

本文整理匯總了PHP中soapclient::SavePaymentRequest方法的典型用法代碼示例。如果您正苦於以下問題:PHP soapclient::SavePaymentRequest方法的具體用法?PHP soapclient::SavePaymentRequest怎麽用?PHP soapclient::SavePaymentRequest使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在soapclient的用法示例。


在下文中一共展示了soapclient::SavePaymentRequest方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: date

 $date = date("Y-m-d");
 $expdate = date('Y-m-d', strtotime("+" . $_SESSION['Period'] . " " . $_SESSION['PeriodType'] . ""));
 $param = array('Email' => "{$email}", 'UserName' => "{$UserName}", 'Password' => "{$Password}", 'FirstName' => "{$firstname}", 'LastName' => "{$lastname}", 'StreetAddress' => "{$address}", 'City' => "{$city}", 'State' => "{$state}", 'PostalCode' => "{$postal}", 'Phone' => "{$phone}", 'ExpiryDate' => "{$expdate}", 'PublicationID' => "{$publicationid}", 'SubscriptionPlanID' => "{$planid}");
 $client3 = new soapclient('http://etypeservices.com/Service_SubsciberRegistration.asmx?wsdl');
 $response1 = $client3->SubscriberRegistration($param);
 $xprD = $_POST['cc_exp_yr'] . $_POST['cc_exp_mo'];
 $fullname = $_POST['firstname'] . " " . $_POST['lastname'];
 $mercid = $_POST['MerchantID'];
 $cardnumber = $_POST['ccnumber'];
 $amt = $_POST['amount'];
 $pamt = $_POST['amount'];
 $merckey = $_POST['RegKey'];
 /* send request web service */
 $params = array('PublicationID' => "{$publicationid}", 'SubscriberID' => "{$planid}", 'Mercid' => "{$mercid}", 'MercregKey' => "{$merckey}", 'MercinType' => "1", 'tranCode' => "1", 'CardNumber' => "{$cardnumber}", 'xprDt' => "{$xprD}", 'reqAmt' => "{$amt}", 'fullName' => "{$fullname}", 'addrLn1' => "{$address}", 'city' => "{$city}", 'state' => "{$state}", 'zipCode' => "{$postal}", 'country' => "{$planid}", 'email' => "{$email}", 'indCode' => "1", 'prodType' => "5");
 $clientss = new soapclient('http://etypeservices.com/Service_SaveTransfirstRequest.asmx?wsdl');
 $responsess = $clientss->SavePaymentRequest($params);
 $reqid = $responsess->SavePaymentRequestResult;
 /* end */
 $params1 = array('PublicationID' => "{$pubid}");
 $clients2 = new soapclient('http://etypeservices.com/service_GetPublisherEmail.asmx?WSDL');
 $responses3 = $clients2->GetPublisherEmail($params1);
 $receiver_email = $responses3->GetPublisherEmailResult;
 $torec = $receiver_email;
 $headers = "MIME-Version: 1.0" . "\r\n";
 $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
 $headers .= 'From: Hays Free Press ' . "\r\n";
 $subject = "New subscriber Registration - Hays Free Press ";
 $publname = "Hays Free Press  ";
 class merc
 {
     public $id;
開發者ID:etype-services,項目名稱:haysfreepress,代碼行數:31,代碼來源:node--150.tpl.php


注:本文中的soapclient::SavePaymentRequest方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。