The WordPress PayPal Donations Plugin allows you to create a donations page or post where your readers can donate any amount they wish. You have a series of options including:
- Specify the number of donations and/or links to show
- Specify an expiry date whereby donations older than this date will not be shown
- Offer the ability to supply a link back to their own site if the user donates more than a specified amount.
WordPress PayPal Donations Plugin uses IPN to ensure the values are correct and you can also chose to display your total donations to date. You can download the plugin here from WordPress.org.
You can discuss this article and see what others are saying about it in the WordPress Discussion Forum
Did you find this article useful? Why not buy Sean a coffee?

37 comments ↓
psst…the wordpress page for this plagin is titled “WordPress Link Directory”
i got an parse error while trying to install 1.0 downloaded from wordpress. on line 176 in wpppd.php. look at the euro part, there is a ] which should not be there
after removing it, the installation worked!
thanks!
Thanks for what looks like a great plug-in.
I got the same error as andreas, removed it and the plug-in loaded ok. Now I get this error when inserting the code in my donations page:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/9/1/48/79/1700242/user/1834436/htdocs/weblog/wp-content/plugins/wordpress-paypal-donations-plugin/wpppd.php on line 244
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /data/9/1/48/79/1700242/user/1834436/htdocs/weblog/wp-content/plugins/wordpress-paypal-donations-plugin/wpppd.php on line 246
and
Table ‘1_02c6bf3_0.wp_wpppd_donations’ doesn’t exist.
Cheers guys, I’ve fixed that typo in the code and re-uploaded.
@ toney
It sounds like the install function hasn’t run (thats the one that creates the table). Simply deactivating and reactivating the plugin should fix this.
Sean, I have de-activated and re-activated with the same result. I have re-downloaded the files and re-installed, same result.
I have confirmed that the tables do not exist in the db despite numerous re-activations. I am using worpress v2.6.5 and have installed other sql dependent plug-ins that have properly populated the db. Can you provide the info about your tables and their structures so I can manually create them?
hello sean,
i am having the same problem as toney above. can you help?
thanks,
john
Hi,
I downloaded, installed and all seemed fine until I visited the page and got the mysql errors. Here’s the link:
http://www.abengnews.com/news/sponsorship/
Here’s the error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/l/e/e/leemediacom/html/abeng/news/wp-content/plugins/wordpress-paypal-donations-plugin/wpppd.php on line 244
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/l/e/e/leemediacom/html/abeng/news/wp-content/plugins/wordpress-paypal-donations-plugin/wpppd.php on line 246
Table ‘abe0833311585401.wp_wpppd_donations’ doesn’t exist
Would appreciate any help with fixing.
Thanks.
…Also, the text I entered into the page is not shown. Seems to be wiped out by the plugin although I can still see what I typed from within the WP dashboard.
OK, I ran the sql on the WP db with phpMyAdmin and lost the errors. I’m guessing the plug-in will work. Only problem is that my text, which now displays in the page, is below the form rather at the top as an introduction. Also, I don’t see an admin option to hide: “So far we have raised a total of .”
Mark,
It appears that you are getting assistance from Sean, albeit secretly! Not sure why. Perhaps Sean can explain? I have received no reply! Can you post or email me (toney@salinasvalleyequality.com) with the help you are getting? It appears that you have been provided with the sql scripts I asked for but have not been given! Many thanks.
I’m running into the same issues mentioned above. Looking for resolution.
I have followed this instructions…
” 1. Upload the donations folder to your ‘/wp-content/plugins/’ directory.
2. Activate the plugin via the Plugins menu in WordPress.
3. Create and publish a new page with this tag in the body: [wpppd]
A new Donations menu will be available under the Settings menu. Go there then fill in your PayPal email address and the URL of the page you just created. All other options can be left or changed as you wish.”
But I get nothing. The page just displays [wpppd]. It is not being parsed it looks like.
Please help.
Just to let everyone know that this was a problem where the script wouldn’t detect if you’d installed it already or not and so it wouldn’t create the table required. I’ve fixed it now and deactivating and reactivating should now solve all issues.
@ Mark
I’ve added the option to show/hide the totals.
@ toney
I hadn’t been maintaining this script since I launched it and haven’t offered any help to anyone. I assume Mark opened the plugin file and copied the SQL in there.
@ The House of Husar
There was a conflict where I’d written to include a wpppd tag when the actual tag was wpppd_donations. This is now fixed and wpppd is the correct tag to use.
OK,
I did the auto upgrade and am back to the situation where just the tag shows in the page. In fact, even my text in the page has disappeared.
@Toney, I didn’t get teh sql from Sean. It’s located in the php script as a query so I just cleane out the php and ran it as an sql.
We’ve added the plugin to our website currently under development (www.ggscf.com/run/get-involved/donations) – but it’s not returning the donors’ comments back to the page after they complete their donation on paypal (The couple of comments we have there have been added from the back-end). We’ve checked that the ipn is activated on paypal – not sure what the issue is – can you please try and help?
I’m using this plugin, and anytime I change the settings in the admin and hit ’save’ – the fields reset to what they were before. Any ideas on a fix? Please email me.
I’m getting the same problem as brooke. Any advice would be appreciated.
have the same prob as brooke and tina too.
could it be the plugin not compatible with the new wordpress 2.7.1?
Encountering the same issue where my settings are not being saved. Using WP 2.7.1
please let me know what the solution is!
Same fields reset issue with WP 2.7.1
Kita
Just to let everyone know that I have now released version 1.2 which is WP 2.7 compliant (settings are now saved fine).
It also adds a new Target option displaying a little graph bar.
@Indy
WPPPD Doesn’t offer a comment function, have you adapted the Name input to be a comment box? If so I’m not too sure why it wouldn’t work.
Why don’t you simply allow comments on that page?
Is there a way to hide the amount if someone accidentally chose the option to show the amount they donated, after the donation has already gone through?
Actually, looking over the donation, the person choose display preference number 2 which is supposed to hide the amount but show his name. That obviously didn’t work. Is this because I have donations configured so that a donation higher than $10.00 shows a URL of their choosing which has that info automatically displayed despite the display preference?
I’m using the Wordpress Paypal Donation Plugin found here, http://wordpress.org/extend/plugins/wor … ns-plugin/, to allow for donations for my site. I’m using the Revolution Magazine theme.
I have uploaded the folder to my remote, activated the plugin, and activated the IPN for Paypal, but if you visit http://maryelise.com/blog/?page_id=1097, you can see that it doesn’t forward the user onto the donation screen. Also, I want the paypal screen to open in a new window, please advise. Thank you.
As with @Jeffro I am also noticing that the “Show Totals” option simply does not work. I tested this on my own site, both with the global “show totals” option off and selecting “Show my name, hide the amount” as a donator. Sure enough, the total donation goal shows up AND the amount of my donation shows up.
ALSO… I plan on resetting the system back to $0 once we reach the goal for an episode… but I see no way of actually DOING this. Is that a feature that’s in the works?
I also would love to see a shortcode or some kind of code to simply display a progress bar and a link to the donate page in the sidebar.
Thanks!
Pax,
Matthew
…oh yes, I also noticed that the “Link Cost” field doesn’t work unless I actually put a dollar sign in there. Unfortunately, this makes the donate page display:
“If you donate a value of $$1 USD or more then we will create a link to a site of your choice…”
Pax,
Matthew
…and now if you hit my site and look for yourself, don’t be fooled. I manually deleted some of the display text from the plugin script. It’s still not working the way it should and I don’t know how to edit anything other than the basic HTML for the display page.
Dreamhost won’t let users use their interface to upload files with the word “paypal” in the file name or folder name. Any chance you an rename the class, file etc?
Hi Sean,
Indy wrote:
I’m having a similar problem but wouldn’t word it the way Indy did. The message I get back from PayPal is
If Indy was getting this problem, I suspect when he said “comments”, he meant whatever the user entered at paypal was not arriving at the blog to register in the MySQL table, create the graph, record the link etc.
I’m going to be following PayPals instructions to see if I can sort if I’m doing something wrong. But..your instructions are to enter the url of my donations page at the IPN page at PayPal, right?
Oh– I should add. I altered the plugin names to remove the words ‘paypal’ from the filenames because Dreamhost won’t let me name that. I also altered two lines fo code to:
class donation_class {
….
and
function donation_class() {
// initialization constructor. Called when class is created.
So, I’m looking to see what I misunderstood or missed. It could well be that I screwed up and didn’t rename everything I need to rename. The plugin looks cool, but right now, it’s not doing what I need it to do. (And Dreamhost won’t permit it to run if it’s named as you named it.)
I cannot get this to work. I press teh donate button and nothing happens. Test mode takes me to the sandbox, live mode does nothing with an odd URL.
http://www.domainname.com/demo/events/donations/?action=process?action=process?action=process?action=process
running 2.7.1
Hello
I followed the instructions for installation, but when you click on the donation button it goes to an action=process version of the donation page and not to paypal..Any help would be greatly appreciated..
Thank you!
Wondering if there are any technical issues with putting the Paypal plugin onto a wordpress.com site (with WP permsision)?
How about a tutorial on how to use this plug-in.
We,re having the same problem as #34, Joi. I don’t see a response/solution to her question. Need help! Thanks.
Trackbacks
Leave a Comment