Saurabh Web Solutions Subscribe

Type to search all tutorials and free downloads.

WordPress

How to Add a Donation Button in WordPress (UPI, PayPal and Stripe)

How to Add a Donation Button in WordPress (UPI, PayPal and Stripe) - cover image
On this page
  1. Option 1: UPI QR code (India)
  2. Option 2: Razorpay, PayPal or Stripe button
  3. Option 3: GiveWP donation forms
  4. Make people want to donate

Nonprofits, community projects, creators and free-resource sites often rely on support from visitors. A donation button makes giving quick and easy. Here are the simplest ways to add one in WordPress.

Option 1: UPI QR code (India)

  1. Download your UPI QR code from your bank or UPI app.
  2. Upload it to the Media Library and add it to a "Support us" page or section with your UPI ID as text.
  3. Add a short note on how donations are used.

It has no fees, but you track donations manually.

Option 2: Razorpay, PayPal or Stripe button

  • Razorpay: create a Payment Button or Payment Page in the Razorpay dashboard and embed its code with a Custom HTML block.
  • PayPal: create a Donate button in your PayPal business account and paste the code or link.
  • Stripe: create a Payment Link with "customers choose what to pay" and link a button to it.

Option 3: GiveWP donation forms

For nonprofits that want more:

  1. Install the free GiveWP plugin.
  2. Create a donation form with suggested amounts and a custom amount field.
  3. Connect a payment gateway (Stripe and PayPal are supported).
  4. Add a goal progress bar and embed the form on your page.

GiveWP also keeps donor records and sends receipts.

Make people want to donate

  • Explain exactly what the money does ("₹500 feeds 10 students for a day").
  • Show progress toward a goal (see progress bars).
  • Thank donors and share updates.
  • Only issue tax receipts if your organisation is registered to do so.

Don't place donation buttons in a way that could be confused with ads, and keep everything on HTTPS (see installing SSL).

Frequently asked questions

What is the easiest way to accept donations in India?

A UPI QR code image with your UPI ID, or a Razorpay payment page or button. For international donors, PayPal or Stripe.

Is GiveWP free?

GiveWP's core plugin is free with donation forms, donor management and basic gateways. Recurring donations and some gateways are paid add-ons.

Can I offer tax receipts?

Only registered organisations eligible to issue them, such as nonprofits with the right tax registration, should issue tax-deductible receipts. Check local rules.

Can I add a donation button to blog posts?

Yes. Add it at the end of posts or in the sidebar with a short message about what support helps you do.