-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.js
31 lines (29 loc) · 1.1 KB
/
payment.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
function paymentProcess()
{
alert("you are on wrong page!!");
// var options = {
// "key": "YOUR_KEY_ID", // Enter the Key ID generated from the Dashboard
// "amount": "50000", // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise
// "currency": "INR",
// "name": "Acme Corp",
// "description": "Test Transaction",
// "image": "https://example.com/your_logo",
// "order_id": "order_9A33XWu170gUtm", //This is a sample Order ID. Pass the `id` obtained in the response of Step 1
// "handler": function (response){
// alert(response.razorpay_payment_id);
// alert(response.razorpay_order_id);
// alert(response.razorpay_signature)
// },
// "prefill": {
// "name": "Gaurav Kumar",
// "email": "[email protected]",
// "contact": "9999999999"
// },
// "notes": {
// "address": "Razorpay Corporate Office"
// },
// "theme": {
// "color": "#F37254"
// }
// };
}