Available in🇮🇳 India
You can create a Quick Pay Button using the Dashboard and embed it on your website to accept payments from customers. This is useful in cases where you want to accept a fixed amount as payment.
Example
Suppose you are a digital marketing expert who wants to conduct a paid 2-hours online session. You can embed the Quick Pay button on your blog site to charge for the session. Assume you will be charging ₹499 per attendee.
Prerequisites
- Set up your Razorpay account.
- Log in to the Dashboard.
- The Dashboard has test and live modes. Payment Buttons created in the test mode do not appear in the live environment. You must create a new Payment Button in live mode.
Create a Quick Pay Button
Watch this video to see how to create a Quick Pay button.
Below are the steps to create a Quick Pay button:
1. Select a Template
1.1 Log in to the Dashboard. 1.2 Go to the PAYMENT PRODUCTS section and click Payment Button.
1.3 Click + Create Payment Button.
1.4 On the Button Creation Wizard, select the Quick Pay button.
1.5 Click Use this template.
2. Add Quick Pay Button Details
Configure these sections to create the Payment Button:2 Customer Details
2 Customer Details
In the Customer Details section, configure the information that must be entered by the attendee while making the payment. By default, 
The data entered by the customers will be available in the Transaction Details report.
Email and Phone must be entered. However, you can edit the labels of these fields.
Custom Fields
If you want to collect more details from the customer, you can add custom fields.To add custom fields:- Click + Add Another Input Field. From the drop-down list that appears, select the relevant field type. For example, if you want the customer to enter their name, select Single Line Text.
- On the pop-up page:
- Enter the label for the custom field. For example,
Name. - If required, add a description for the field.
- Select Optional Item.
- Click Save.
- Enter the label for the custom field. For example,
- To proceed, click Save, and then Next.
The data entered by the customers will be available in the Transaction Details report.3 Review and Create
3 Review and Create
- Review the details entered in the previous sections. You can click Back to navigate to the Button Details and Customer Details section to make changes.
- Click Create Button.

- After completing the steps, the button code appears. Copy this code and add it in your webpage.

Embed Payment Button Code in Website
The embed code generated on the Dashboard must be embedded in your website. After this is done, the Buy Now button appears on your website. Customers can click this button to:- Open Razorpay Checkout.
- Select the products.
- Add their name and address.
- Complete the payment.
Example
Example
Let us embed the Buy Now button on an HTML page.
- Create a blank HTML file on your system.
- Paste the embed code onto the page.
- Save this HTML page and open it on the browser.

Make Test Payments Using the Payment Button
To make a test payment using a payment button:- Select the payment button you wish to test from the Dashboard and click Get Code.
- Click Copy Code to copy the code to your clipboard.
- Test the Payment Button by adding the code to the Payment Button Test Widget.
- Paste the code in the text box and click Run Code.
- Click on the Payment Button that appears in the preview section.
- Enter the required details and click PROCEED TO PAY.
- Select the payment method of your choice to proceed with the payment.
- Cards
- UPI
- Netbanking
You can use these test card details.
- You should see a confirmation message depending on the flow you have selected.
Customer Interaction
Let us make a test transaction to check how you as a visitor can interact with the button on your blog.- Click the Pay Now button.
- Enter name and phone number and fill in the details in the other fields and click Next.
- Select a payment method. For example, netbanking, and complete the payment.
- The payment success page is displayed and you receive a confirmation email.
Post Payment Actions
After the customer has successfully completed the payment, you can:Send Payment Receipt
Show Custom Message
Redirect Your Customers
Send Payment Receipt
You can ensure that your customers receive payment receipts via email once they complete the payment. Know how to send and download automated or manual payment receipts. If you are an NGO, you can send and download payment receipts with 80-G information.Show Custom Message
You can show a custom message to your customers once they complete a payment. To show custom messages:- On the Button Created Successfully pop-up page, click Configure against Redirect URL and Custom Message.
- On the pop-up page, enable Show a custom message.
- Add the custom message in the field.
- Click Save.
Add a Redirect URL
You can redirect your customers to another page after they complete a payment. To redirect your customers:- On the Button Created Successfully pop-up page, click Configure against Redirect URL and Custom Message.
- On the pop-up page, enable Redirect URL.
- Add the redirect URL in the field.
- Click Save.
View Transaction Details on Dashboard
You can view the payments as and when they are made in the Transactions Details View of the page.
Export Report
You can also export the report data into a CSV file. To export report data:- Log in to the Dashboard and navigate to Payment Button.
- Select the relevant Payment Button. The Transactions Details View appears.
- Click Export All (CSV) button.

