<?php
session_start();
?>
<html>
<head>

</head>
<body>
<form name="redirect_form" action="<?php echo $_SESSION['paymentInterfaceRedirectTargetURL']?>" method="<?php echo $_SESSION['paymentInterfaceRedirectMethod']?>">
<?php foreach($_SESSION['paymentInterfacePostArray'] as $name => $value) { ?>
    <input type="hidden" name="<?php echo $name?>" value="<?php echo $value?>">
<?php }?>
</form>

<script type="text/javascript">
    window.onload = function() {
        document.redirect_form.submit();
    };
</script>
</body>
</html>