OwlCyberSecurity - MANAGER
Edit File: pay.blade.php
@extends('layouts.master') @section('title') {{$sub->category}} @endsection @section('tag') <meta name="description" content=""> @endsection @section('levelCSS') @endsection @section('vi;') active @endsection @section('body') @include('partials.breadcrumb', ['title'=>'Make Payment']) <section> <div class="container"> <div class="row"> <div class="col-xs-8 col-xs-offset-2"> <br><br> <h2 class="header" style="margin-top: 60px;"> {{$sub->category}} > {{$sub->planName}} </h2> <h4 class="alert alert-success text-center"> @if(currentUser()->country=='Nigeria') N{{number_format($sub->nairaPrice)}} @elseif(currentUser()->country=='Kenya') {{number_format($sub->keshPrice)}} KSH @elseif(currentUser()->country=='Uganda') {{number_format($sub->ugxPrice)}} UGX @elseif(currentUser()->country=='Tanzania, United Republic of') {{number_format($sub->tshsPrice)}} TZS @elseif(currentUser()->country=='Ghana') {{number_format($sub->cediesPrice)}} GHS @else ${{number_format($sub->dollarPrice)}} @endif / {{$sub->accessTime}} </h4> </div> </div> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <blockquote>Payment methods available in <strong style="color: green;">{{currentUser()->country}}</strong> <br><small>Not your country? <a href="{{route('/country')}}">Change Here</a></small></blockquote> <br> <br> </div> </div> <div class="row"> {{-- @if(currentUser()->country=='Nigeria' || currentUser()->country=='Ghana' || currentUser()->country=='Kenya' || currentUser()->country=='Uganda' || currentUser()->country=='Tanzania, United Republic of')--}} <div class="col-sm-6"> <div class="col-sm-12 pay-header"> @if(currentUser()->country=='Kenya') PAY ONLINE WITH MPESA @elseif(currentUser()->country=='Uganda' || currentUser()->country=='Ghana' || currentUser()->country=='Tanzania, United Republic of') PAY WITH MOBILE MONEY @elseif(currentUser()->country=='Nigeria') PAY WITH YOUR BANK OR ATM CARD @else MAKE PAYMENT WITH CARD @endif </div> <div class="col-sm-12 pay-body"> <center> @if(currentUser()->country=='Kenya') <img src="{{asset('images/M-Pesa-Logo.png')}}" class="img-responsive" alt="PAY WITH MPESA" style="margin-bottom: 4px; max-height: 120px;"> @elseif(currentUser()->country=='Uganda') <img src="{{asset('images/ugx.jpg')}}" class="img-responsive" alt="PAY WITH MOBILE MONEY" style="margin-bottom: 4px;"> @elseif(currentUser()->country=='Ghana') <img src="{{asset('images/ghcmobile.png')}}" class="img-responsive" alt="PAY WITH MOBILE MONEY" style="margin-bottom: 4px;"> @elseif(currentUser()->country=='Tanzania, United Republic of') <img src="{{asset('images/pesapal-share.png')}}" class="img-responsive" alt="PAY WITH MOBILE MONEY" style="margin-bottom: 4px; max-height: 150px;"> @else <img src="{{asset('images/flutterwave.png')}}" class="img-responsive" alt="PAY WITH ATM CARD OR BANK" style="margin-bottom: 4px;"> @endif </center> <center><h4>YOUR ACCOUNT WILL BE ACTIVATED AUTOMATICALLY AFTER SUCCESSFUL TRANSACTION</h4></center> </div> <div class="col-sm-12 pay-bottom"> <script src="https://api.ravepay.co/flwv3-pug/getpaidx/api/flwpbf-inline.js"></script> <button onClick="payWithRave()" class="btn btn-danger btn-md"> PAY @if(currentUser()->country=='Nigeria') N{{number_format($sub->nairaPrice)}} @elseif(currentUser()->country=='Kenya') {{number_format($sub->keshPrice)}} KSH @elseif(currentUser()->country=='Uganda') {{number_format($sub->ugxPrice)}} UGX @elseif(currentUser()->country=='Tanzania, United Republic of') {{number_format($sub->tshsPrice)}} TZS @elseif(currentUser()->country=='Ghana') {{number_format($sub->cediesPrice)}} GHS @else ${{number_format($sub->dollarPrice)}} @endif </button> </div> </div> {{--@endif--}} @if(currentUser()->country=='Kenya') <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY ONLINE WITH iPAY</div> <div class="col-sm-12 pay-body"> <center><img src="{{asset('images/ipay.png')}}" class="img-responsive" alt="MPesa"></center> <center><h4>YOUR ACCOUNT WILL BE ACTIVATED AUTOMATICALLY AFTER SUCCESSFUL TRANSACTION</h4></center> </div> <div class="col-sm-12 pay-bottom"> <a href="{{route('/ipay-pay')}}/{{$sub->category}}/{{$sub->planName}}"> <button class="btn btn-danger btn-md"> PAY @if(currentUser()->country=='Nigeria') N{{number_format($sub->nairaPrice)}} @elseif(currentUser()->country=='Kenya') {{number_format($sub->keshPrice)}} KSH @elseif(currentUser()->country=='Uganda') {{number_format($sub->ugxPrice)}} UGX @elseif(currentUser()->country=='Tanzania, United Republic of') {{number_format($sub->tshsPrice)}} TZS @elseif(currentUser()->country=='Ghana') {{number_format($sub->cediesPrice)}} GHS @else ${{number_format($sub->dollarPrice)}} @endif </button> </a> </div> </div> <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY WITH MPESA</div> <div class="col-sm-12 pay-body"> {{--<center><img src="{{asset('images/M-Pesa-Logo.png')}}" class="img-responsive" alt="MPesa"></center>--}} <ol style="margin-left: -25px; font-size: 16px;"> <li>Create an account here <a href="{{route('/register')}}">Register</a></li> <li>On Safaricom Mpesa menu.</li> <li>Select <strong>LIPA NA MPESA</strong>.</li> <li>Select <strong>BUY GOODS AND SERVICES</strong> option.</li> <li>Enter <strong>Till number 5193131</strong></li> <h1 style="background: green; margin-top: 0px; color: white; text-align: center"><small style="color: white">TILL NUMBER:</small> 5193131</h1> <li>Enter preferred VIP PACKAGE amount. See <a href="{{route('/vip')}}">Prices Here</a> <strong>NB: As 1 transaction, don’t send half as your account won’t be activated.</strong></li> <li>Follow subsequent prompts to complete the transaction.</li> <li>Then send the Mpesa transaction and Email to our <strong>WhatsApp/SMS number 254743322873</strong> and your account will be activated within 5 minutes.</li> </ol> </div> <div class="col-sm-12 pay-bottom"> </div> </div> @endif <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY WITH PAYPAL</div> <div class="col-sm-12 pay-body"> <center><img src="{{asset('images/paypal.png')}}" class="img-responsive" alt="Paypal"></center> <table class="table"> <tr> <th>Pay To:</th> <td><strong class="text-danger">sportodd254@gmail.com</strong></td> </tr> </table> <p>Then they send transaction ID,name , amount and email to <strong class="text-danger">soccabet6@gmail.com</strong> for activation</p> <p>Your account will be activated instantly.</p> </div> <div class="col-sm-12 pay-bottom"> {{--<a href="{{route('/paypalPayment')}}/{{$sub->category}}/{{$sub->planName}}">--}} {{--<button class="btn btn-danger btn-md">--}} {{--PAY ${{number_format($sub->dollarPrice)}}--}} {{--</button>--}} {{--</a>--}} </div> </div> {{-- @if(currentUser()->country!='Kenya')--}} <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY WITH SKRILL</div> <div class="col-sm-12 pay-body"> <center><img src="{{asset('images/skrill.gif')}}" class="img-responsive" alt="Skrill"></center> <table class="table"> <tr> <th>Pay To:</th> <td><strong class="text-danger">soccabet6@gmail.com</strong></td> </tr> </table> <p>After a successful transaction, please Kindly send us a mail containing; (1). Your Email address, (2). Transaction ID (3). Amount paid to <strong class="text-danger">soccabet6@gmail.com</strong></p> <p>Your account will be activated instantly.</p> </div> <div class="col-sm-12 pay-bottom"> </div> </div> <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY WITH NETELLER</div> <div class="col-sm-12 pay-body"> <center><img src="{{asset('images/neteller.png')}}" class="img-responsive" alt="Skrill"></center> <table class="table"> <tr> <th>Pay To:</th> <td><strong class="text-danger">korosovincent@gmail.com</strong></td> </tr> </table> <p>After a successful transaction, please Kindly send us a mail containing; (1). Your Email address, (2). Transaction ID (3). Amount paid to <strong class="text-danger">soccabet6@gmail.com</strong></p> <p>Your account will be activated instantly.</p> </div> <div class="col-sm-12 pay-bottom"> </div> </div> <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY WITH BITCOIN</div> <div class="col-sm-12 pay-body"> <center><img src="{{asset('images/bitcoin.png')}}" class="img-responsive" style="max-height: 60px;" alt="Bitcoin"></center> <table class="table"> <tr> <th>BITCOIN ADDRESS:</th> </tr> <tr> <td><strong class="text-danger">qzjndghuuqhf04lhkskj358rgqwmks9dsu9l2n0wju</strong></td> </tr> </table> <p>After a successful transaction, please Kindly send us a mail containing; (1). Your Email address, (2). Hash code, (3). Amount paid to <strong class="text-danger">soccabet6@gmail.com</strong></p> <p>Your account will be activated instantly.</p> </div> <div class="col-sm-12 pay-bottom"> </div> </div> <div class="col-sm-6"> <div class="col-sm-12 pay-header">PAY WITH WESTERN UNION/MONEYGRAM</div> <div class="col-sm-12 pay-body"> <center><img src="{{asset('images/wu.jpg')}}" class="img-responsive" style="max-height: 60px;" alt="Western Union"></center> <table class="table"> <tr> <th>First Name:</th> <td><strong>VINCENT</strong></td> </tr> <tr> <th>Middle Name</th> <td><strong>OMBAYE</strong></td> </tr> <tr> <th>Last Name</th> <td><strong>KOROSO</strong></td> </tr> </table> <p>After a successful transaction, please Kindly send us a mail containing; (1). Your Email address, (2). MTCN, (3). Amount paid to <strong class="text-danger">soccabet6@gmail.com</strong></p> <p>Your account will be activated instantly.</p> </div> <div class="col-sm-12 pay-bottom"> </div> </div> {{--@endif--}} </div> </div> </section> <script> const API_publicKey = "FLWPUBK-1d3aa095ca717df91fd568a84a2a4769-X"; var callbackUrl = "{{route('/rave')}}"; var subID = "{{$sub->id}}"; var cur = "USD"; var cou = "NG"; var amt = "{{$sub->dollarPrice}}"; @if(currentUser()->country=='Kenya') var cur = "KES"; var cou = "KE"; var amt = "{{$sub->keshPrice}}"; @elseif(currentUser()->country=='Uganda') var cur = "UGX"; var cou = "NG"; var amt = "{{$sub->ugxPrice}}"; @elseif(currentUser()->country=='Ghana') var cur = "GHS"; var cou = "GH"; var amt = "{{$sub->cediesPrice}}"; @elseif(currentUser()->country=='Nigeria') var cur = "NGN"; var cou = "NG"; var amt = "{{$sub->nairaPrice}}"; @elseif(currentUser()->country=='Tanzania, United Republic of') var cur = "TZS"; var cou = "NG"; var amt = "{{$sub->tshsPrice}}"; @endif function payWithRave() { var x = getpaidSetup({ PBFPubKey: API_publicKey, customer_email: "{{currentUser()->email}}", amount: amt, customer_phone: "{{currentUser()->phone}}", currency: cur, country: cou, // GH can also be passed as country, only country options to pass are NG and GH. txref: "Payment from {{currentUser()->email}}", meta: [{ metaname: "subID", metavalue: "{{$sub->id}}" }], onclose: function() {}, callback: function(response) { var txref = response.tx.txRef; // collect flwRef returned and pass to a server page to complete status check. console.log("This is the response returned after a charge", response); if ( response.tx.chargeResponseCode == "00" || response.tx.chargeResponseCode == "0" ) { window.location.href=callbackUrl+'/'+subID+'/'+txref; } else { // redirect to a failure page. } x.close(); // use this to close the modal immediately after payment. } }); } </script> @endsection @section('levelJS') @endsection