当前位置: 首页>>代码示例>>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;未经允许,请勿转载。