Adding a PayPal "Donate Now" button to your site is really easy. All you need is a paypal account, once logged in you can use the helpful wizard that walks you through the very quick and easy process.

Table of Contents

  1. Introduction
    1. The Wizard
      1. Choose payment type and button details
      2. Customize advanced features
      3. Get the HTML
    2. Finally, Clean up the HTML
      1. HTML Before
      2. XHTML After
    3. More Info

The Wizard

To create your donate now button (it's actually a form), do this to get to the automated wizard.

  1. Login to PayPal.
  2. Goto the Merchant Services Tab
  3. Click the Create payment buttons for your website image
  4. Now follow through the wizard

Choose payment type and button details

Customize advanced features

Once you are finished hit the Create Button button to get the HTML code of the button, which you then paste into your site.

Get the HTML

Now just grab the HTML for pasting into your site.

Finally, Clean up the HTML

For some reason the wizard gives you old HTML instead of XHTML, so you will need to convert it to XHTML by ending with a /> instead of just >, and then wrapping all the elements within the form inside a div.

HTML Before

XHTML After

More Info

  • HTML Integration Help
  • HTML Variables for PayPal Payments Standard

Adding a PayPal Donate Now to Site - AskApache

Charles Torvalds
11 Dec 2012

form, PayPal

  • Site Map WireShark GNU Non-GNU Tor Project cURL TLDP - Documentation
  • Htaccess Files Hacking Htaccess Javascript Linux Optimization PHP Security Shell Scripting WordPress
  • Base64 Image Converter Raw HTTP Header Debugger Graphical ASCII Text Generator Mac Address Vendor Lookup Who Am I – Your IP Information Request Method Security Scanner .htpasswd file Generator Compress CSS DNS Tracer
Copyright © 2025 AskApache
  • Site Map
  • Htaccess Files
  • Hacking
  • Htaccess
  • Javascript
  • Linux
  • Optimization
  • PHP
  • Security
  • Shell Scripting
  • WordPress
  • Base64 Image Converter
  • Raw HTTP Header Debugger
  • Graphical ASCII Text Generator
  • Mac Address Vendor Lookup
  • Who Am I – Your IP Information
  • Request Method Security Scanner
  • .htpasswd file Generator
  • Compress CSS
  • DNS Tracer
Exit mobile version