Checkout Page

@using Tutoronic.Models;
@{ Layout = "~/Views/Shared/_Layout_login.cshtml";
    Model1 db = new Model1();
    int id = (int)Session["checkoutcourseid"];
    var item = db.Courses.Where(x => x.Course_id == id).FirstOrDefault();
    }



<div class="page-wraper">
    <div id="loading-icon-bx"></div>
    <div class="account-form">
        <div class="account-head" style="background-image:url(~/content/customer/images/background/bg2.jpg);">
            <a href="index.html"><img src="~/content/customer/images/logo-white-2.png" alt=""></a>
        </div>
        <div class="account-form-inner">
            <div class="account-container">
                <div class="heading-bx left">
                    <h2 class="title-head">Checkout <span>Now</span></h2>
                </div>
                <form class="contact-bx" action="/checkout/gotopaypal" method="post">
                    <p style="color:red">@ViewBag.message</p>
                    <div class="row placeani">
                        @*<div class="col-lg-12">
                            <div class="form-group">
                                <div class="input-group">
                                    <label>Full Name</label>
                                    <input name="student_name" type="text" required="" class="form-control">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-12">
                            <div class="form-group">
                                <div class="input-group">
                                    <label>Email</label>
                                    <input name="student_email" type="text" required="" class="form-control">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-12">
                            <div class="form-group">
                                <div class="input-group">
                                    <label>Password</label>
                                    <input name="student_password" type="password" class="form-control" required="">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-12">
                            <div class="form-group">
                                <div class="input-group">
                                    <label>Phone #</label>
                                    <input name="student_email" type="text" required="" class="form-control">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-12">
                            <div class="form-group">
                                <div class="input-group">
                                    <label>Address</label>
                                    <input name="student_email" type="text" required="" class="form-control">
                                </div>
                            </div>
                        </div>*@
                        <div class="col-lg-12">
                            <div class="form-group">

                                <label>Payment Method</label>
                                <!--div class="form-check">
                                    <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1" checked>
                                    <label class="form-check-label" for="exampleRadios1">
                                        Debit/Credit Card
                                    </label>
                                </div>
                                <div class="form-check">
                                    <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
                                    <label class="form-check-label" for="exampleRadios2">
                                        JazzCash
                                    </label>
                                </div>
                                <div class="form-check">
                                    <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
                                    <label class="form-check-label" for="exampleRadios2">
                                        EasyPaisa/Telenor Bank Account
                                    </label>
                                </div-->
                                <div class="form-check">
                                    <input class="form-check-input" type="radio" name="Payment_Method" checked id="exampleRadios2" value="Paypal">
                                    <label class="form-check-label" for="exampleRadios2">
                                        PayPal
                                    </label>
                                </div>






                            </div>
                        </div>
                        <div class="col-lg-12 m-b30">
                            <button type="submit" class="btn button-md">Buy Now</button>
                        </div>

                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

Leave a Comment