cool..
bei mir nicht.
bei mir nicht.
<?php
$wdMSignature = $_GET['wdMSignature'];
$wdMStartSite = $_GET['wdMStartSite'];
$wdProdID = $_GET['wdProdID'];
$Products = $_GET['wdMNoProducts'];
$wdMNoProduct = $_GET['wdMNoProduct'];
$x = $_GET['x'];
$y = $_GET['y'];
if ($check<>'ok'){
if ($_GET['wdMSignature']<>''){
$site = "https://frontend-test.wirecard.com/click2pay/authenticate.c2p?wdMSignature=".$wdMSignature."&wdMStartSite=".$wdMStartSite."&wdProdID=".$wdProdID."&wdMNoProducts=".$wdMNoProducts."&x=".$x."&y=".$y;
$site2 = "https://frontend-test.wirecard.com/click2pay/start.c2p?wdMSignature=".$wdMSignature."&wdMStartSite=".$wdMStartSite."&wdProdID=".$wdProdID."&wdMNoProducts=".$wdMNoProducts."&x=".$x."&y=".$y;
echo "<iframe style='width:0px; height:0px; border: 0px' src ='$site'></iframe>";
echo "<meta http-equiv='Refresh' content='0; url=$site2'>";
$check='ok';
}
}else{
echo "<meta http-equiv='Refresh' content='0; url=$site2'>";
}
?>
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
<!--
function verify() {
document.checkout_confirmation.submit();
}
//-->
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form name="checkout_confirmation" method="get" action="test.php">
<input type="image" src="button_confirm_order.gif" border="0" alt="Bestellung bestäigen" title=" Bestellung bestäigen " id="Bestellung bestäigen" onclick="verify()">
<input value="56500" maxlength="18" type="hidden" size="20" name="wdMSignature">
<input value="payment" maxlength="255" type="hidden" name="wdMStartSite">
<input value="1000000" maxlength="255" type="hidden" name="wdProdID">
<input value="0" maxlength="32" type="hidden" name="wdMNoProducts">
</form></td>
</tr>
</table>
</body>
</html>
Kommentar