<?php
	include('sessiontoken.php');
	$fpurl="https://vpos.paratika.com.tr/paratika/api/v2/post/sale3d/".$sessionToken."";
	//$fpurl="https://entegrasyon.paratika.com.tr/paratika/api/v2/post/sale3d/".$sessionToken."";
?>
<body <?php if($sessionToken<>""){?>onload="document.frm1.submit();"<?php }?>>
<form method="post" name="frm1" action="<?php echo $fpurl?>" style="display:none">
<input id="cardOwner" type="text" name="cardOwner" value="<?php echo "".$_POST["Card_Name"]." ".$_POST["Card_Surname"].""?>"><br>
<input type="text" name="pan" value="<?php echo str_replace(' ','',$_POST["Card_Number"]);?>"><br>
<input type="text" name="expiryMonth" value="<?php echo $ay;?>"><br>
<input type="text" name="expiryYear" value="<?php echo $yil;?>"><br>
<input type="text" name="cvv" value="<?php echo $_POST["Card_Cvv"];?>" maxlength="4"><br>
<input type="number" name="installmentCount" value="<?php echo $_POST["Installment"]?>" maxlength="2"><br>
<input type="hidden" value="" name="points" id="points" />
<input type="hidden" value="" name="paymentSystem" id="paymentSystem" />
<!--<input type="checkbox" name="saveCard" id="saveCard" value="YES" />-->
<input type="submit" value="Submit"/>
</form>
<!-- TMX Profiling -->
<script type="text/javascript" src="https://h.online-metrix.net/fp/tags.js?org_id=6bmm5c3v&amp&session_id={<?php echo $sessionToken?>}&pageid=1"></script>
<noscript>
<iframe style="width: 100px; height: 100px; border: 0; position: absolute; top: -5000px;" src="https://h.online-metrix.net/fp/tags.js?org_id=6bmm5c3v&amp&session_id={<?php echo $sessionToken?>}&pageid=1 "></iframe>
</noscript>
<!-- End profiling tags -->
</body>