Additional Support for Payment Methods
Check the various form fields you can use in the Checkout Form used in Razorpay Checkout integrations.
The Razorpay Web Custom SDK lets you integrate the supported payment methods on your Website's Checkout form.
Use the
to fetch the payment methods available for your account.Below are the sample payloads for each payment method.
In this case, data.method
should be specified as card
. Other required fields:
card[name]
card[number]
card[cvv]
card[expiry_month]
card[expiry_year]
razorpay.createPayment({amount: 5000,email: 'alex.lim@example.com',contact: '+6591119111',order_id: 'order_9A33XWu170gUtm',method: 'card','card[name]': 'Alex Lim','card[number]': '4386281111111112','card[cvv]': '123','card[expiry_month]': '10','card[expiry_year]': '30'});
When method
is paynow
, you need to pass an additional field bank
as shown below:
razorpay.createPayment({amount: 5000,email: 'alex.lim@example.com',contact: '+6591119111',order_id: 'order_9A33XWu170gUtm',method: 'paynow'})
You can list the available banks using a drop-down for customers. You can obtain a list of banks using the
.Is this integration guide useful?
ON THIS PAGE