本文整理汇总了PHP中soapclient::SavePaymentResponse方法的典型用法代码示例。如果您正苦于以下问题:PHP soapclient::SavePaymentResponse方法的具体用法?PHP soapclient::SavePaymentResponse怎么用?PHP soapclient::SavePaymentResponse使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类soapclient
的用法示例。
在下文中一共展示了soapclient::SavePaymentResponse方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: mail
//$sentmailj=mail($myemail,$subject,$message,$headers);
$sentmailadmin = mail($adminemail, $subject, $message, $headers);
$sentmail = mail($torec, $subject, $message, $headers);
$topay = $payer_email;
$message1 = "<head>\n <title>Untitled Page</title>\n</head>\n<body>\n \n <title>Mail Page</title>\n <table border=0 cellpadding=0 cellspacing=0 width=100%>\n <tr>\n <td style=padding-top: 2px; font-family: Verdana; font-size: 8.5pt; padding-left: 0px;>\n \n <br />\n <br />\n Dear Subscriber,<br />\n <br />\n Welcome to\n " . $publname . ". Thank you for your registration..\n <br />\n <br />\n You have entered the following details for registration:<br />\n <br />\n </td>\n </tr>\n </table>\n <table border=0 cellpadding=0 cellspacing=0>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;\n width: 170px;>\n User Name\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $UserName . "\n </td>\n </tr>\n \n\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Subscription Plan\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $_SESSION['planTitle'] . "\n </td>\n </tr>\n\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Amount Transferred\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $_SESSION['planPrice'] . "\n </td>\n </tr>\n\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Email\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $email . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n First Name\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $firstname . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Last Name\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $lastname . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Phone\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $phone . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n City\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $city . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Address\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $address . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n State\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $state . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Zip\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $zip . "\n </td>\n </tr>\n <tr>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Payment Status\n </td>\n <td style=font-family: Tahoma; font-size: 11px; text-align: left;>\n " . $paymentstatus . "\n </td>\n </tr>\n \n <tr>\n <td colspan=2>\n <br />\n <br />\n <br />\n </td>\n </tr>\n <tr>\n <td colspan=2>\n <br />\n </td>\n </tr>\n <tr>\n <td colspan=2 style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n Thanks\n </td>\n </tr>\n </table>\n</body>\n</html>";
//$adminemail="admin@etypeservices.com";
//$adminemail="jit1987@gmail.com";
//$sentmailadmin2=mail($adminemail,$subject,$message1,$headers);
$sentmail1 = mail($topay, $subject, $message1, $headers);
} else {
$flag2 = false;
$paymentStatus = "VU";
$str9 = "VU";
$paymentComment = "" . $tranId . "Error :INVALID Response";
$savepayment = "insert into `order`(username,email,rscode,tranId,swchKey,dtTm,amount,stan,mapCaid,status,comment) value('" . $_SESSION['username'] . "','" . $_SESSION['email'] . "','{$rscode}','{$tranId}','{$swchKey}','{$dtTm}','{$amt}','{$stan}','{$mapCaid}','{$paymentStatus}','{$paymentComment}')";
$qu = db_query($savepayment);
$paramr = array('PublicationID' => "{$publicationid}", 'UserName' => "{$UserName}", 'SubscriptionType' => "{$planid}", 'rspCode' => "{$rscode}", 'aci' => "{$aci}", 'swchKey' => "{$swchKey}", 'tranNr' => "{$trannr}", 'dtTm' => "{$dtTm}", 'amt' => "{$pamt}", 'stan' => "{$stan}", 'auth' => "NULL", 'cardType' => "{$cardtype}", 'mapCaid' => "{$mapCaid}", 'IsSuccess' => "{$flag2}", 'PaymentStatus' => "{$paymentStatus}", 'PaymentComment' => "{$paymentComment}", 'SubscriptionText' => "Subscribe", 'RequestID' => "{$reqid}");
$clientsr = new soapclient('http://etypeservices.com/Service_SaveTransfirstPayment.asmx?wsdl');
$responsesr = $clientsr->SavePaymentResponse($paramr);
echo "<pre>";
print_r($responsesr);
echo "</pre>";
$message2 = "<html><head></head><title>Mail Page</title>\n <body> \n <table border=0 cellpadding=0 cellspacing=0 width=100%>\n <tr>\n <td style=padding-top: 2px; font-family: Verdana; font-size: 8.5pt; padding-left: 0px;>\n \n <br />\n <br />\n Dear Subscriber,<br />\n <br />\n Welcome to\n <strong>" . $publname . "</strong> Thanks for your registration..\n <br />\n <br />\n We are sorry your payment was not successful:<br />\n <br />\n <strong>" . $paymentstatus . "</strong>\n <br />\n </td>\n </tr>\n </table>\n <table border=0 cellpadding=0 cellspacing=0>\n <tr>\n <td colspan=2 style=font-family: Tahoma; font-size: 11px; text-align: left; font-weight: normal;>\n <br />\n <br />\n <br />\n Thanks\n </td>\n </tr>\n </table>\n</body>\n</html>";
//$myemail="pradeep@sublimeitsolutions.com";
//$sentmailj=mail($myemail,$subject,$message2,$headers);
//$adminemail="admin@etypeservices.com";
//$adminemail="jit1987@gmail.com";
//$sentmail2=mail($adminemail,$subject,$message2,$headers);
}
drupal_goto('node/146');
}