<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Redirecting to Payment</title>
</head>
<body onload="document.getElementById('paymentForm').submit();">
    <p>Redirecting to payment, please wait...</p>

    <form id="paymentForm" action="https://payments.airpay.co.in/pay/index.php" method="post">
        <input type="hidden" name="privatekey" value="{{ $privateKey }}">
        <input type="hidden" name="mercid" value="{{ $merchantId }}">
        <input type="hidden" name="orderid" value="{{ $orderid }}">
        <input type="hidden" name="amount" value="{{ $amount }}">
        <input type="hidden" name="checksum" value="{{ $checksum }}">
        <input type="hidden" name="buyerEmail" value="{{ $buyerEmail }}">
        <input type="hidden" name="buyerFirstName" value="{{ $buyerFirstName }}">
        <input type="hidden" name="buyerLastName" value="{{ $buyerLastName }}">
        <input type="hidden" name="buyerAddress" value="{{ $buyerAddress }}">
        <input type="hidden" name="buyerCity" value="{{ $buyerCity }}">
        <input type="hidden" name="buyerState" value="{{ $buyerState }}">
        <input type="hidden" name="buyerCountry" value="{{ $buyerCountry }}">
        <input type="hidden" name="currency" value="{{ $currency }}">
        <input type="hidden" name="isocurrency" value="{{ $isocurrency }}">
        <input type="hidden" name="mer_dom" value="{{ $mer_dom }}">
        <input type="hidden" name="email" value="{{ $email }}">
    </form>
</body>
</html>
