Payment Button
Add a PayU payment button to any website or blog. Get a ready-to-use button code from the Dashboard and paste it onto your page without the help of a developer.
PayU Payment Buttons let you collect payments on a site you already have, without a developer or a checkout integration. Use this page to see when a button fits, what you need before you start, and what your customer does when they pay.
How Does a Payment Button Simplify My Business?
Go from zero to accepting payments with a copy-paste
Create a button in the PayU Dashboard, copy one line of code, and paste it anywhere on your website. No coding knowledge required, no developer to hire. If you can paste text into a website editor, you can add a payment button.
Works on any website, blog, or page builder
WordPress, Wix, Squarespace, Webflow, a hand-coded HTML page, or any site that lets you add content. Payment Buttons work anywhere. You add the button code to a page the same way you'd add an image or a video embed.
Customise the button to match your brand
Choose the button label ("Buy Now", "Donate", "Enrol", or any text you prefer), the colour, the size, and the fixed amount, all from the Dashboard with no code changes. Update the settings any time; the button on your site updates automatically.
Let customers enter their own amount
Enable Collect Amount mode and the payment page prompts customers to type in the amount they want to pay. Ideal for donations, tips, or open-ended contributions where you don't want to set a fixed price.
Supports every Indian payment method
UPI (all apps), credit and debit cards, net banking (50+ banks), wallets, EMI, and BNPL. The payment page automatically presents the methods enabled on your PayU account. No extra configuration needed for each method.
Is Payment Buttons Right for Me?
| I want to… | Works? |
|---|---|
| Accept payments on my website without writing code | ✅ |
| Add a "Buy Now", "Pay Now", or "Donate" button to a webpage | ✅ |
| Let customers enter their own donation or payment amount | ✅ (Collect Amount mode) |
| Sell a single product or service directly from my page | ✅ |
| Accept payments without a website | ⚠️ Use Payment Links |
| Set up recurring auto-debit or subscriptions | ⚠️ Use Recurring Payments |
| Build a full online store with a shopping cart | ⚠️ Use eCommerce Plugins |
| Full server-side control over the checkout flow | ⚠️ Use Merchant Hosted Checkout |
Not Sure Which PayU Solution is Right For You?Tell us what you want to achieve and how you plan to accept payments. We will recommend the best PayU solution that fits your needs.
Common Use Cases
Embed a Register Now button on your event page. Set the exact ticket price, cap registrations with a max-transaction limit if seats are limited, and disable the button the moment they sell out — all from your Dashboard, without touching the page code again.
Turn on Collect Amount mode and let supporters decide how much they want to give — ₹100 or ₹10,000 goes through the same button. Every donation appears in your Dashboard in real time, so your finance team can track inflows without waiting for a bank statement.
One landing page. One product. One Buy Now button. Change the price from the Dashboard whenever you need to, no page edit, no developer call. No cart, no plugin, no monthly platform fee on top of your payment costs.
Create separate payment buttons for tuition, hostel, exam registration, and extracurricular fees, each button tracks its own payments independently in the Dashboard. Students pay from the fee page; you see every entry categorised by button name without manual reconciliation.
Add a Pay for Session or Book Now button to your portfolio page, personal website, or bio link. Clients click, choose their payment method, and pay in one step, no bank transfer details to share, no invoice follow-up, no missed payments because the link expired.
What Do I Need to Get Started?
You do not need a developer or any coding experience to get started.
You will need:
- A PayU merchant account: Sign up here if you do not have an account.
- A website, blog, or page builder: Any site where you can add content to your pages. For example WordPress, Wix, Squarespace, or any website with a page editor.
- Access to the PayU Dashboard: Where you will create and manage your payment buttons
How Do I Add a Payment Button?
Here is how it works:
1. Create a Button in the Dashboard
- Log in to your PayU Dashboard and go to Payment Tools → Payment Buttons from the menu on the left.
- Click Create Payment Button and enter the button details.
2. Get Your Button Code
Click Generate Button. PayU creates your button and gives you a short piece of text to add to your website. Click Copy. That is all you need.
3. Paste It on Your Website
Go to your website editor and paste the code where you want the button to appear. The button shows up right away. No other set up is required.
Need detailed steps? See Add a Payment Button →
You can create multiple payment buttons and add them to different pages of your site.
Is My Payment Button Secure?
Yes. When a customer clicks your button, they are taken to PayU's PCI-DSS compliant hosted payment page. Their card number, UPI details, and other payment information are entered directly on PayU's infrastructure. Your website never receives or processes sensitive payment data. You do not need to configure anything for this.
One practical note: the page where you embed the button should be served over HTTPS. If your page loads over HTTP, some browsers will show a mixed-content warning when the button tries to open PayU's secure checkout. Most modern website builders such as WordPress, Wix, Squarespace use HTTPS by default. Check your site settings if you are unsure.
Payment Buttons support optional hidden fields such as udf1–udf5, phone, and email to pass extra data with each payment. Webhook events for Payment Buttons use the same format as PayU Hosted Checkout. See Webhooks for payload details.
How Does My Customer Pay?
When your customer visits your website:
1. Sees the Button
The button appears on your page exactly where you added it.
2. Clicks the Button
PayU's payment page opens and the customer can complete their payment.
3. Answers Any Extra Questions You Have Added (optional)
If you have asked for extra details such as name, email, or a note, the customer fills those in.
4. Completes payment
The customer chooses the payment method, enters their payment details and confirms. PayU handles the rest securely.
5. Brought Back to Your Site
Once the payment is done, the customer is taken to your website or an error page if something went wrong.
How Do I Manage My Payment Buttons?
Once your button is live:
- You see all payments immediately in your PayU Dashboard under Payment Tools → Payment Buttons
- Every payment is recorded: You can see the amount, date, customer details, and whether the payment went through.
- You can download your payment records: Download a report of all payments received through your buttons.
- Buttons can be turned off: You can stop a button from accepting payments at any time. This is useful when a product sells out or an event ends.
Next Steps
Create a Payment Button: Simple steps to set up your button in the PayU Dashboard.
Change the button text, colour, amount, and what happens after a payment to match your needs.
Common questions about Payment Buttons — display issues, setup tips, and tracking your payments.
Updated about 1 hour ago
What's Next?
Explore related information and resources.
