PayPal Donation Widget is a simple PHP-script that allows you to embed donation box into any HTML-page (PHP-page, ASP-page, whatever-page). It displays recent donors and donation button. Once your visitor donated through widget, his/her name appears in a list. Widget is embedded with 1-line JavaScript code.



PayPal Donation Widget can be displayed by 6 different ways.

Most recent donors
TOP donors
Recent donors only
TOP donors only
All donors table
All donors comma-separated string

Button only


Let's imagine that you have website: and you want to install there.

1. Create folder "donationcontest" (use any other name) in root of your domain. Once created it can be reached by URL:

2. Unpack zip-archive into this folder and set permission 0777 for folder "data". To make sure that you did everything correctly, open URL in browser, you will see phrase: "Silence is the gold!".

3. Edit config.php and set 6 parameters: script URL (, title of widget, your PayPal ID, number of recent donors, currency and target to reach.

4. Embed widget into any page of any website with any of the following modes:

That's it! Enjoy using the PayPal Donation Widget.

If you have problems regarding using this script, please contat me and I'll help you.