Subscription payment

Content Image

For further security of electronic transactions through credit cards, automatically move to a secure server in Paycenter service of PIRAEUS BANK where the processed payment is securely (SSL 128 bit higher up security today) from Piraeus Paycenter. All card details are transferred electronically to the service of Paycenter Piraeus Bank and is not stored anywhere only used during the control and charging. Through Paycenter Piraeus Bank provided certified security transactions from MasterCard® SecureCode ™ & Verified by Visa®.

Please press the button below to move with safety to the Paycenter of Piraeus Bank

{source}
<!– BEGIN CUSTOM PAYMENT FORM –>

<?php
$_SESSION[‘amount’] = $_POST[‘amount’];
$length = 10;
$MerchantReference = substr(str_shuffle(“0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ”), 0, $length);
//echo $MerchantReference;// Pull in the NuSOAP code
require_once(‘libraries/lib/nusoap.php’);
$client = new nusoap_client(‘https://paycenter.piraeusbank.gr/services/tickets/issuer.asmx?WSDL’,’wsdl’);
$params = array(
‘Username’ => “EN141768”,
‘Password’ => md5(“CO122345”),
‘MerchantId’ => 140340753,
‘PosId’ => 81340751,
‘AcquirerId’ => 14,
‘MerchantReference’ => $MerchantReference,
‘RequestType’ => ’02’,
‘ExpirePreauth’ => 0,
‘Amount’ => $_POST[‘amount’],
‘CurrencyCode’ => 978,
‘Installments’ => 0,
‘Bnpl’ => 0,
‘Parameters’ => ”
);

// Call the SOAP method
$result = $client->call(‘IssueNewTicket’,
array(“Request” => $params), // input parameters
‘http://piraeusbank.gr/paycenter/redirection’, //namespace
‘http://piraeusbank.gr/paycenter/redirection/IssueNewTicket’ // SOAPAction
);

//print_r($result); // Βλέπεις το Result

foreach($result[IssueNewTicketResult] as $res => $value)
{
$$res = $value; // Apo8hkeush se omonumes vars.
}
if ($ResultCode == 0) {
$_SESSION[‘TranTicket’] = $TranTicket;

?>
<form action=”https://paycenter.piraeusbank.gr/redirection/pay.aspx” method=”POST”>
<input name=”AcquirerId” type=”hidden” value=”14″ />
<input name=”MerchantId” type=”hidden” value=”140340753” />
<input name=”PosId” type=”hidden” value=”81340751″ />
<input name=”User” type=”hidden” value=”EN141768″ />
<input name=”LanguageCode” type=”hidden” value=”en-US” />
<input name=”MerchantReference” type=”hidden” value=”<?php echo $MerchantReference;?>” />
<input name=”ParamBackLink” type=”hidden” value=”p1=v1&p2=v2″ />
<input type=”submit” value=”Payment” />
</form>
<?
}
else {
break;
}

?>

{/source}


admin
Leave a Comment

Your email address will not be published. Required fields are marked *

Thumbnail

Previous Post
Transaction cancelled

Thumbnail

Next Post
Legakis A. Anastasios