ok
Direktori : /home2/selectio/www/3-idiots/storage/framework/views/ |
Current File : //home2/selectio/www/3-idiots/storage/framework/views/f6b300a50c8ad5987bad27a6d7d8424e8d886f2e.php |
<?php $__env->startSection('title',\App\CPU\translate('Choose Payment Method')); ?> <?php $__env->startPush('css_or_js'); ?> <style> .stripe-button-el { display: none !important; } .razorpay-payment-button { display: none !important; } </style> <script src="https://polyfill.io/v3/polyfill.min.js?version=3.52.1&features=fetch"></script> <script src="https://js.stripe.com/v3/"></script> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <!-- Page Content--> <div class="container pb-5 mb-2 mb-md-4 rtl" style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"> <div class="row"> <div class="col-md-12 mb-5 pt-5"> <div class="feature_header __feature_header"> <span><?php echo e(\App\CPU\translate('payment_method')); ?></span> </div> </div> <section class="col-lg-8"> <div class="checkout_details"> <?php echo $__env->make('web-views.partials._checkout-steps',['step'=>3], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!-- Payment methods accordion--> <h2 class="h6 pb-3 mb-2 mt-5" style="display:none;"><?php echo e(\App\CPU\translate('choose_payment')); ?></h2> <div class="row g-3" style="display:none;"> <?php ($config=\App\CPU\Helpers::get_business_settings('cash_on_delivery')); ?> <?php if(!$cod_not_show && $config['status']): ?> <div class="col-sm-6" id="cod-for-cart"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form action="<?php echo e(route('checkout-complete')); ?>" method="get" class="needs-validation"> <input type="hidden" name="payment_method" value="cash_on_delivery"> <button class="btn btn-block click-if-alone" type="submit"> <img width="150" class="__mt-n-10" src="<?php echo e(asset('public/assets/front-end/img/cod.png')); ?>"/> </button> </form> </div> </div> </div> <?php endif; ?> <?php ($coupon_discount = session()->has('coupon_discount') ? session('coupon_discount') : 0); ?> <?php ($amount = \App\CPU\CartManager::cart_grand_total() - $coupon_discount); ?> <?php ($digital_payment=\App\CPU\Helpers::get_business_settings('digital_payment')); ?> <?php if($digital_payment['status']==1): ?> <?php ($config=\App\CPU\Helpers::get_business_settings('wallet_status')); ?> <?php if($config==1): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <button class="btn btn-block click-if-alone" type="submit" data-toggle="modal" data-target="#wallet_submit_button"> <img width="150" class="__mt-n-10" src="<?php echo e(asset('public/assets/front-end/img/wallet.png')); ?>"/> </button> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('offline_payment')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6" id="cod-for-cart"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form action="<?php echo e(route('offline-payment-checkout-complete')); ?>" method="get" class="needs-validation"> <span class="btn btn-block click-if-alone" data-toggle="modal" data-target="#offline_payment_submit_button"> <img width="150" class="__mt-n-10" src="<?php echo e(asset('public/assets/front-end/img/pay-offline.png')); ?>"/> </span> </form> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('ssl_commerz_payment')); ?> <?php if($config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form action="<?php echo e(url('/pay-ssl')); ?>" method="POST" class="needs-validation"> <input type="hidden" value="<?php echo e(csrf_token()); ?>" name="_token"/> <button class="btn btn-block click-if-alone" type="submit"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/sslcomz.png')); ?>"/> </button> </form> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('paypal')); ?> <?php if($config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form class="needs-validation" method="POST" id="payment-form" action="<?php echo e(route('pay-paypal')); ?>"> <?php echo e(csrf_field()); ?> <button class="btn btn-block click-if-alone" type="submit"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/paypal.png')); ?>"/> </button> </form> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('stripe')); ?> <?php if($config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <button class="btn btn-block click-if-alone" type="button" id="checkout-button"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/stripe.png')); ?>"/> </button> <script type="text/javascript"> // Create an instance of the Stripe object with your publishable API key var stripe = Stripe('<?php echo e($config['published_key']); ?>'); var checkoutButton = document.getElementById("checkout-button"); checkoutButton.addEventListener("click", function () { fetch("<?php echo e(route('pay-stripe')); ?>", { method: "GET", }).then(function (response) { console.log(response) return response.text(); }).then(function (session) { /*console.log(JSON.parse(session).id)*/ return stripe.redirectToCheckout({sessionId: JSON.parse(session).id}); }).then(function (result) { if (result.error) { alert(result.error.message); } }).catch(function (error) { console.error("<?php echo e(\App\CPU\translate('Error')); ?>:", error); }); }); </script> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('razor_pay')); ?> <?php ($inr=\App\Model\Currency::where(['symbol'=>'₹'])->first()); ?> <?php ($usd=\App\Model\Currency::where(['code'=>'USD'])->first()); ?> <?php if(isset($inr) && isset($usd) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form action="<?php echo route('payment-razor'); ?>" method="POST"> <?php echo csrf_field(); ?> <!-- Note that the amount is in paise = 50 INR --> <!--amount need to be in paisa--> <script src="https://checkout.razorpay.com/v1/checkout.js" data-key="<?php echo e(\Illuminate\Support\Facades\Config::get('razor.razor_key')); ?>" data-amount="<?php echo e((round(\App\CPU\Convert::usdToinr($amount)))*100); ?>" data-buttontext="Pay <?php echo e((\App\CPU\Convert::usdToinr($amount))*100); ?> INR" data-name="<?php echo e(\App\Model\BusinessSetting::where(['type'=>'company_name'])->first()->value); ?>" data-description="" data-image="<?php echo e(asset('storage/app/public/company/'.\App\Model\BusinessSetting::where(['type'=>'company_web_logo'])->first()->value)); ?>" data-prefill.name="<?php echo e(auth('customer')->user()->f_name); ?>" data-prefill.email="<?php echo e(auth('customer')->user()->email); ?>" data-theme.color="#ff7529"> </script> </form> <button class="btn btn-block click-if-alone" type="button" onclick="$('.razorpay-payment-button').click()"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/razor.png')); ?>"/> </button> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('paystack')); ?> <?php if($config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <?php ($config=\App\CPU\Helpers::get_business_settings('paystack')); ?> <?php ($order=\App\Model\Order::find(session('order_id'))); ?> <form method="POST" action="<?php echo e(route('paystack-pay')); ?>" accept-charset="UTF-8" class="form-horizontal" role="form"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-md-8 col-md-offset-2"> <input type="hidden" name="email" value="<?php echo e(auth('customer')->user()->email); ?>"> <input type="hidden" name="orderID" value="<?php echo e(session('cart_group_id')); ?>"> <input type="hidden" name="amount" value="<?php echo e(\App\CPU\Convert::usdTozar($amount*100)); ?>"> <input type="hidden" name="quantity" value="1"> <input type="hidden" name="currency" value="<?php echo e(\App\CPU\Helpers::currency_code()); ?>"> <input type="hidden" name="metadata" value="<?php echo e(json_encode($array = ['key_name' => 'value',])); ?>"> <input type="hidden" name="reference" value="<?php echo e(Paystack::genTranxRef()); ?>"> <p> <button class="paystack-payment-button" style="display: none" type="submit" value="Pay Now!"></button> </p> </div> </div> </form> <button class="btn btn-block click-if-alone" type="button" onclick="$('.paystack-payment-button').click()"> <img width="100" src="<?php echo e(asset('public/assets/front-end/img/paystack.png')); ?>"/> </button> </div> </div> </div> <?php endif; ?> <?php ($myr=\App\Model\Currency::where(['code'=>'MYR'])->first()); ?> <?php ($usd=\App\Model\Currency::where(['code'=>'usd'])->first()); ?> <?php ($config=\App\CPU\Helpers::get_business_settings('senang_pay')); ?> <?php if(isset($myr) && isset($usd) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <?php ($config=\App\CPU\Helpers::get_business_settings('senang_pay')); ?> <?php ($user=auth('customer')->user()); ?> <?php ($secretkey = $config['secret_key']); ?> <?php ($data = new \stdClass()); ?> <?php ($data->merchantId = $config['merchant_id']); ?> <?php ($data->detail = 'payment'); ?> <?php ($data->order_id = session('cart_group_id')); ?> <?php ($data->amount = \App\CPU\Convert::usdTomyr($amount)); ?> <?php ($data->name = $user->f_name.' '.$user->l_name); ?> <?php ($data->email = $user->email); ?> <?php ($data->phone = $user->phone); ?> <?php ($data->hashed_string = md5($secretkey . urldecode($data->detail) . urldecode($data->amount) . urldecode($data->order_id))); ?> <form name="order" method="post" action="https://<?php echo e(env('APP_MODE')=='live'?'app.senangpay.my':'sandbox.senangpay.my'); ?>/payment/<?php echo e($config['merchant_id']); ?>"> <input type="hidden" name="detail" value="<?php echo e($data->detail); ?>"> <input type="hidden" name="amount" value="<?php echo e($data->amount); ?>"> <input type="hidden" name="order_id" value="<?php echo e($data->order_id); ?>"> <input type="hidden" name="name" value="<?php echo e($data->name); ?>"> <input type="hidden" name="email" value="<?php echo e($data->email); ?>"> <input type="hidden" name="phone" value="<?php echo e($data->phone); ?>"> <input type="hidden" name="hash" value="<?php echo e($data->hashed_string); ?>"> </form> <button class="btn btn-block click-if-alone" type="button" onclick="document.order.submit()"> <img width="100" src="<?php echo e(asset('public/assets/front-end/img/senangpay.png')); ?>"/> </button> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('paymob_accept')); ?> <?php if($config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form class="needs-validation" method="POST" id="payment-form-paymob" action="<?php echo e(route('paymob-credit')); ?>"> <?php echo e(csrf_field()); ?> <button class="btn btn-block click-if-alone" type="submit"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/paymob.png')); ?>"/> </button> </form> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('bkash')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <a class="btn btn-block click-if-alone" href="<?php echo e(route('bkash-make-payment')); ?>"> <img width="100" src="<?php echo e(asset('public/assets/front-end/img/bkash.png')); ?>"/> </a> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('paytabs')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <button class="btn btn-block click-if-alone __mt-n-11" onclick="location.href='<?php echo e(route('paytabs-payment')); ?>'"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/paytabs.png')); ?>"/> </button> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('mercadopago')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body pt-2 __h-100px"> <a class="btn btn-block click-if-alone" href="<?php echo e(route('mercadopago.index')); ?>"> <img width="150" src="<?php echo e(asset('public/assets/front-end/img/MercadoPago_(Horizontal).svg')); ?>"/> </a> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('flutterwave')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body pt-2 __h-100px"> <form method="POST" action="<?php echo e(route('flutterwave_pay')); ?>"> <?php echo e(csrf_field()); ?> <button class="btn btn-block click-if-alone" type="submit"> <img width="200" src="<?php echo e(asset('public/assets/front-end/img/fluterwave.png')); ?>"/> </button> </form> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('paytm')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <a class="btn btn-block click-if-alone" href="<?php echo e(route('paytm-payment')); ?>"> <img class="__inline-55" src="<?php echo e(asset('public/assets/front-end/img/paytm.png')); ?>"/> </a> </div> </div> </div> <?php endif; ?> <?php ($config=\App\CPU\Helpers::get_business_settings('liqpay')); ?> <?php if(isset($config) && $config['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <a class="btn btn-block click-if-alone" href="<?php echo e(route('liqpay-payment')); ?>"> <img class="__inline-55 mt-0" src="<?php echo e(asset('public/assets/front-end/img/liqpay4.png')); ?>"/> </a> </div> </div> </div> <?php endif; ?> <?php endif; ?> </div> <!--<div class="feature_header __feature_header" style="margin-top: 5%;text-align: center;"> <span>Payment method</span> </div> <div class="row"> <div class="col-lg-6"> <h4 style="margin-top: 8%;font-family: 'sixvalley-icons';font-weight: 600;">Bank Account Details :</h4> <table> <tr> <td style="width: 40%;"> <b>Account No</b></td> <td style="width: 14%;"> : </td> <td><b>20422533702</b></td> </tr> <tr> <td><b>Name</b> </td> <td> : </td> <td><b>Dineshkumar.P</b></td> </tr> <tr> <td><b>Ifsc Code</b></td> <td> : </td> <td><b>SBIN0015036</b></td> </tr> <tr> <td><b>Bank name</b></td> <td> : </td> <td><b>STATE BANK OF INDIA</b></td> </tr> <tr> <td><b>Branch</b></td> <td> : </td> <td><b>Ellampillai</b></td> </tr> </table> <a href="https://auroraa.site/a1-textile/account-oder" target="_blank" class="btn btn-secondary pull-right"> View Order ID </a> <h4 style="margin-top: 8%;font-family: 'sixvalley-icons';font-weight: 600;"> Once Complete Payment using Bank Detail (or) QR Code Take Screenshot and Upload here. </h4> <form> <div class="form-control"> <lable>Enter Order Id: </lable> <input type="text" name="" id="" placeholder="Enter Order Id"> </div> <br> <lable>Upload Screenshot </lable> <input type="file" id="myfile" name="myfile"> <button class="btn btn-secondary btn-block" type="submit" style="margin-top: 7%; left: unset; right: 0;top:0"> Submit </button> </form> </div> <div class="col-lg-6"> <h4 style="margin-top: 8%;font-family: 'sixvalley-icons';font-weight: 600;text-align: center;">QR CODE :</h4> <img src="resources/views/web-views/barcode/qrcode.jpg" style="width: 45%;margin-left: 25%;"> <h4 style="margin-top: 8%;font-family: 'sixvalley-icons';font-weight: 600;text-align: center;">UPI ID :</h4> <p style="text-align: center;font-size: 20px;">dpdinesh004@oksbi</p> </div> </div>--> <!-- Navigation (desktop)--> <div class="row justify-content-center"> <div class="col-md-6 text-center mt-5"> <a class="btn btn--primary btn-block" href="<?php echo e(route('checkout-details')); ?>"> <span class="d-none d-sm-inline"><?php echo e(\App\CPU\translate('Back to Shipping')); ?></span> <span class="d-inline d-sm-none"><?php echo e(\App\CPU\translate('Back')); ?></span> </a> <span class="btn btn--primary btn-block" id="next-page" > <span class="d-none d-sm-inline">Confirm Your Order</span> <span class="d-inline d-sm-none">Confirm Your Order</span> </span> </div> </div> </div> </section> <!-- Sidebar--> <?php echo $__env->make('web-views.partials._order-summary', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <!-- wallet modal --> <div class="modal fade" id="wallet_submit_button" aria-labelledby="exampleModalLongTitle" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?php echo e(\App\CPU\translate('wallet_payment')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <?php ($customer_balance = auth('customer')->user()->wallet_balance); ?> <?php ($remain_balance = $customer_balance - $amount); ?> <form action="<?php echo e(route('checkout-complete-wallet')); ?>" method="get" class="needs-validation"> <?php echo csrf_field(); ?> <div class="modal-body"> <div class="form-row"> <div class="form-group col-12"> <label for=""><?php echo e(\App\CPU\translate('your_current_balance')); ?></label> <input class="form-control" type="text" value="<?php echo e(\App\CPU\Helpers::currency_converter($customer_balance)); ?>" readonly> </div> </div> <div class="form-row"> <div class="form-group col-12"> <label for=""><?php echo e(\App\CPU\translate('order_amount')); ?></label> <input class="form-control" type="text" value="<?php echo e(\App\CPU\Helpers::currency_converter($amount)); ?>" readonly> </div> </div> <div class="form-row"> <div class="form-group col-12"> <label for=""><?php echo e(\App\CPU\translate('remaining_balance')); ?></label> <input class="form-control" type="text" value="<?php echo e(\App\CPU\Helpers::currency_converter($remain_balance)); ?>" readonly> <?php if($remain_balance<0): ?> <label class="__color-crimson"><?php echo e(\App\CPU\translate('you do not have sufficient balance for pay this order!!')); ?></label> <?php endif; ?> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(\App\CPU\translate('close')); ?></button> <button type="submit" class="btn btn--primary" <?php echo e($remain_balance>0? '':'disabled'); ?>><?php echo e(\App\CPU\translate('submit')); ?></button> </div> </form> </div> </div> </div> <!-- offline payment modal --> <div class="modal fade" id="offline_payment_submit_button" aria-labelledby="exampleModalLongTitle" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?php echo e(\App\CPU\translate('offline_payment')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <form action="<?php echo e(route('offline-payment-checkout-complete')); ?>" method="post" class="needs-validation"> <?php echo csrf_field(); ?> <div class="modal-body"> <div class="form-row"> <div class="form-group col-12"> <label for=""><?php echo e(\App\CPU\translate('payment_by')); ?></label> <input class="form-control" type="text" name="payment_by" required> </div> </div> <div class="form-row"> <div class="form-group col-12"> <label for=""><?php echo e(\App\CPU\translate('transaction_ID')); ?></label> <input class="form-control" type="text" name="transaction_ref" required> </div> </div> <div class="form-row"> <div class="form-group col-12"> <label for=""><?php echo e(\App\CPU\translate('payment_note')); ?></label> <textarea name="payment_note" id="" class="form-control"></textarea> </div> </div> </div> <div class="modal-footer"> <input type="hidden" value="offline_payment" name="payment_method"> <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e(\App\CPU\translate('close')); ?></button> <button type="submit" class="btn btn--primary"><?php echo e(\App\CPU\translate('submit')); ?></button> </div> </form> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?> <script> setTimeout(function () { $('.stripe-button-el').hide(); $('.razorpay-payment-button').hide(); }, 10) </script> <script type="text/javascript"> $(document).ready(function(){ $("#next-page").click(function(){ let total = $('.checkout_details .click-if-alone').length; if (Number.parseInt(total) < 2) { $('.click-if-alone').click() $('.checkout_details').html('<h1><?php echo e(\App\CPU\translate('Your Order Is Proccessing')); ?>......</h1>'); } }); }); /* $("#next-page").click(function(){ $('.click-if-alone').click(); });*/ /*click_if_alone();*/ </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.front-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/romeojul/public_html/a1tex.in/resources/views/web-views/checkout-payment.blade.php ENDPATH**/ ?>