PayPal for Digital Goods


Please use the new WP Express Checkout plugin which has been created to handle the PayPal API for both digital and normal products.

This plugin provides you a shortcode to generate a customizable PayPal payment button that allows a user to pay for an item instantly in a popup using the PayPal’s Express Checkout API/Gateway.

The full checkout takes place in an overlay/popup window and the customer never leaves your site.

This is ideal for selling file downloads via PayPal.

View configuration and usage details on the paypal for digital goods plugin page

Checkout Process Demo

Basic Setup and Usage Video

This plugin will be ideal for you if you are selling the following

  • eBooks (PDF, epub, mobi etc.)
  • Audio files (mp3, wav, ogg etc.)
  • Video files (mp4, mov, wmv etc.)
  • Image files (jpg, jpeg, png, gif etc.)
  • Excel documents
  • PDF documents
  • MS Word documents


  • Sell files, digital goods or downloads using PayPal for digital goods gateway.
  • Sell music, video, ebook, PDF or any other digital media files.
  • Allow a user to automatically download the file once the purchase is complete via paypal.
  • View the transactions from your WordPress admin dashboard.

Shortcode Attributes

This plugin adds the following shortcode to your site:


It supports the following attributes in the shortcode –

(string) (required) Name of the product
Possible Values: 'Awesome Script', 'My Ebook', 'Wooden Table' etc.

(number) (required) Price of the product or item
Possible Values: '9.90', '29.95', '50' etc.

(number) (optional) Number of products to be charged.
Possible Values: '1', '5' etc.
Default: 1

(string) (optional) Currency of the price specified.
Possible Values: 'USD', 'GBP' etc
Default: The one set up in Settings area.

(URL) (optional) URL of the downloadable file.
Possible Values:

Please visit Settings -> PayPal for Digital Goods admin area to configure default options.

You can also test it on PayPal Sandbox before going Live.


[paypal_for_digital_goods name=”Cool Script” price=”50″ url=””]


Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘paypal-for-digital-goods’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading via WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download
  2. Extract the paypal-for-digital-goods directory to your computer
  3. Upload the paypal-for-digital-goods directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard


Can I have multiple payment buttons on a single page?

Yes, you can have any number of buttons on a single page.

Can I use it in a WordPress Widgets?

Yes, you can.

Can I specify quantity of the item?

Yes, please use “quantity” attribute.

Can I change the button?

Yes, you can customize it in the settings menu of this plugin.

Can I test it on PayPal sandbox?

Yes, please visit Settings > PayPal for Digital Goods screen for options.


ستمبر 2, 2018
Searched entire internet but there's no latest article available on it. I followed exact procedure as you given in youtube video but it's not working anymore. Everytime It gives error in Js popup authentication failed. even my live api is correct.
نومبر 28, 2016
The only thing I would miss would be a graphical interface for inserting the shortcode! 😀 Nice work, thank you very much!
ستمبر 3, 2016
Does exactly what it says. Very stable, and the only plugin that allow PayPal express checkout without a cart. If you are searching to sell digital products without a carrot hassle for the costumer, this is exactly for you. And last but not least great and warm support.
Read all 6 reviews

Contributors & Developers

“PayPal for Digital Goods” is open source software. The following people have contributed to this plugin.




  • Updated the plugin’s code to use the new PayPal’s express checkout API.
  • Added a new filter to allow customization of the Thank You message.

1.4 and 1.5

  • Re-worked the price hashing code to remove any chance of any kind of price field manipulation.


  • Updated the return and cancel URL construction to use the “add_query_arg()” function for better compatibility.


  • Added extra validation in the plugin.
  • Also tested on WordPress 4.3.


  • Added session start call when the plugin initializes.


  • First Release