Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/dokan/assets/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
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();
} |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0126 ]-- |