<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<?php 
date_default_timezone_set('Asia/Tehran');
$ref_id  = $_GET['ref_id'];
?>

<body>
<div class="payment-mellat-transfer">
    <div>در حال انتقال به شاپرک</div>
    <form id="mellat-go-to-gateway" method="POST" action="https://bpm.shaparak.ir/pgwchannel/startpay.mellat">
        <input type="hidden" id="RefId" name="RefId" value="<?=$ref_id?>">
        <!-- <input type="text" id="MobileNo" name="MobileNo" value="" /> -->
        <input style="display:none" type="submit" class="btn" value="Transfer to Mellat Bank">
    </form>
</div>
<script type="text/javascript">
    setTimeout(function() {
        document.getElementById('mellat-go-to-gateway').submit();
    }, 1500);
    
</script>
</body>
</html>