For card payments, method
should be specified as card
.
The sample code shown below allows the checkout to accept a card payment of ₹299.35:
var options = {"key": key,"amount": 29935,"order_id": "<order-id>","card[cvv]": <CVV>,"card[expiry_month]": 11,"card[expiry_year]": 25,"card[name]": "Test User","card[number]": "4111111111111111","contact": "9900990099","currency": "INR","display_logo": "0","email": "gaurav.kumar@example.com","description": "Fine T-Shirt","method": "card"};_razorpay.submit(options);