⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.229
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
ecommerce_pg
/
resources
/
views
/
payments
/
View File Name :
waitAmz.blade.php
<!DOCTYPE html> <html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <meta name="csrf-token" content="{{ csrf_token()}}"> <meta content="utf-8" http-equiv="encoding"> <title>Wait</title> <link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@600;900&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;700&display=swap" rel="stylesheet"> <script src="{{asset('js/app.js')}}?v9"></script> <style> body { font-family: 'Nunito Sans', sans-serif; } #app { display: flex; justify-content: center; } .info-ctn { padding-bottom: 50px; } .info-ctn.space-ctn { padding-top: 50px; } .info-ctn.para p{ line-height: 55px; font-size: 36px; } .info-ctn p strong { color: #2d2f3b; font-size: 40px; line-height: 55px; font-family: 'Open Sans', sans-serif; font-weight: 700; } .h-100 { height: 100%!important; padding-top: 30px; max-width: 600px; } .mainbox h1 { font-size: 40px; line-height: 55px; font-family: 'Open Sans', sans-serif; font-weight: 700; text-align: center; } .banne-img { margin-top: 50px; margin-bottom: 50px; text-align: center; } .icon-list ul { list-style: none; padding: 0; margin: 0; } .icon-list li { display: flex; margin-bottom: 30px; line-height: 40px; font-size: 25px; } .icon-list li img { margin-right: 10px; width: 40px; height: 40px; } .progress-area h3 { border-top: 2px solid #ddd; padding-top: 20px; margin-top: 20px; font-size: 18px; } /* IE and EDGE */ progress { /* RESETS */ -webkit-appearance: none; -moz-appearance: none; appearance: none; border: none; width: 100%; height: 20px; border-radius: 30px; background-color: #ddd; border: 1px solid #fff; color: rgb(67 146 68); } /* WEBKIT BROWSERS - CHROME, OPERA AND SAFARI */ progress::-webkit-progress-bar { background-color: #ddd; border-radius: 20px; } progress::-webkit-progress-value { background-color: rgb(67 146 68); border-radius: 20px; } /* MOZILLA FIREFOX */ progress::-moz-progress-bar { background-color: rgb(67 146 68); border-radius: 20px; } @media (min-width: 768px){ .container { max-width: 720px; } } </style> </head> <body> <div class="container h-100"> <div class="row h-100 justify-content-center align-items-center"> <div class="mainbox col-sm"> <h1>Complete your payment</h1> <div class="banne-img"> <img src="/img/AMAZ_icon.png"> </div> <div class="icon-list"> <ul> <li><img src="/img/AMZ_NEXT.png">Go to UPI ID linked mobile app or click on the notification from your UPI ID linked mobile app</li> <li><img src="/img/AMAZ_RUPEES.png"> Check pending transactions</li> <li><img src="/img/AMAZ_RIGHT.png"> Complete the payment by selecting the bank and entering UPI PIN</li> </ul> </div> <div class="icon-list"> <p>If you have entered the UPI ID of friends or family, they will need to authorize the payment from their UPI App</p> </div> </div> </div> <div class="row progress-area"> <div class="col-sm"> <div><h3>Your page will automatically expire in 5 mins</h3></div> <progress id="progressbar" value="0" max="100"></progress> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> var progressbar = $('#progressbar'), max = progressbar.attr('max'), value = progressbar.val(), time = (50000/max)*5; setInterval(function () { let progressbar = $('#progressbar'); let max = progressbar.attr('max'); let time = (50000/max/100); let value = progressbar.val(); value += 1; progressbar.val(value); $('.progress-value').html(value + '%'); if (value == max) { window.location='/pg/failed' } },time) </script> <script> Echo.channel('notify') .listen('Notify', (e) => { if ("{{$payment->id}}"==e.id) { if (e.status==200) { window.location='/pg/success' } else { window.location='/pg/failed' } } }); window.history.pushState("", "", '/'); </script> <script> $('document').ready(function () { $.ajax({ type:'POST', async:false, global:true, url: "/pg/upi/checkStatus/{{$payment->id}}", success: function(data) { if (data.txnStatus==2) { window.location='/pg/success' } else if (data.txnStatus==3) { window.location='/pg/failed' } } }); }) </script> <body> </html>