{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//arsu/storage/framework/views/cb236c33b5f613e37d94dd5aa1b82fde298414dd.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'); ?> <!-- breadcrumb area start --> <section class="breadcrumb__area include-bg pt-60 pb-50"> <div class="container"> <div class="row"> <div class="col-xxl-12"> <div class="breadcrumb__content p-relative z-index-1"> <h3 class="breadcrumb__title"><?php echo e(\App\CPU\translate('choose_payment')); ?></h3> <div class="breadcrumb__list"> <span><a href="<?php echo e(route('home')); ?>">Home</a></span> <span><?php echo e(\App\CPU\translate('choose_payment')); ?></span> </div> </div> </div> </div> </div> </section> <!-- breadcrumb area end --> <!-- Page Content--> <section class="pb-50"> <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"> <section class="col-lg-8 px-5" > <div class="checkout_details"> <!-- Payment methods accordion--> <div class="row g-3"> <?php if(!$cod_not_show && $cash_on_delivery['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 text-center"> <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 if($digital_payment['status']==1): ?> <?php if($wallet_status==1): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px text-center"> <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 if(isset($offline_payment) && $offline_payment['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 if($ssl_commerz_payment['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 if($paypal['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <form class="needs-validation text-center" 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 if($stripe['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px text-center"> <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($stripe['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 if(isset($inr) && isset($usd) && $razor_pay['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 if($paystack['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <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 if(isset($myr) && isset($usd) && $senang_pay['status']): ?> <div class="col-sm-6"> <div class="card cursor-pointer"> <div class="card-body __h-100px"> <?php ($user=auth('customer')->user()); ?> <?php ($secretkey = $senang_pay['secret_key']); ?> <?php ($data = new \stdClass()); ?> <?php ($data->merchantId = $senang_pay['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($senang_pay['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 if($paymob_accept['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 if(isset($bkash) && $bkash['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 if(isset($paytabs) && $paytabs['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 if(isset($mercadopago) && $mercadopago['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 if(isset($flutterwave) && $flutterwave['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 if(isset($paytm) && $paytm['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 if(isset($liqpay) && $liqpay['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> <!-- Navigation (desktop)--> <div class="row my-5"> <div class="col-6"> <a class="tp-cart-checkout-btn" href="<?php echo e(route('checkout-details')); ?>"> <i class="czi-arrow-left mt-sm-0 mx-1"></i> <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> </div> </div> </div> </section> <!-- Sidebar--> <div class="col-lg-4"> <?php echo $__env->make('web-views.partials._order-summary', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> </div> </section> <!-- 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"> function click_if_alone() { 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('Redirecting_to_the_payment')); ?>......</h1>'); } } 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 /var/www/arsu/resources/themes/default/web-views/checkout/payment.blade.php ENDPATH**/ ?>
./Ninja\.