@model upes_admission.Models.OnlineApplicantsModels 
@{
    ViewBag.Title = "PaymentRazorpay";    
    Layout = null;
}

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" action="/Home/ResponseRazorpay" runat="server">
        <script src="https://checkout.razorpay.com/v1/checkout.js"
                data-key="@Model.Key" @*"rzp_live_xIeS2ny2w2yxrQ"*@
                data-amount="100"
                data-name="Razorpay"
                data-description="Purchase Description"
                data-order_id="@Model.orderId"
                data-image="https://razorpay.com/favicon.png"
                data-prefill.name="@Model.Name"
                data-prefill.email="@Model.email"
                data-prefill.contact="@Model.phone"
                data-notes.applicationid="@Model.Appno"
                data-notes.emailid="@Model.email"
                data-theme.color="#F37254"></script>

        <input type="hidden" value="Hidden Element" name="hidden" />

        @Scripts.Render("~/bundles/jquery")
        @*"notes": {
            "address": "Razorpay Corporate Office"
            },*@
        <script>

            $(document).ready(function () {

                $(".razorpay-payment-button").trigger('click');
                $(".razorpay-payment-button").hide();

            });

        </script>
    </form>
</body>
</html>
