Donation Can

Donation Can

Donation Can is a WordPress plugin that lets you set monetary goals and collect donations to meet them. Donations are collected through PayPal and can be tracked inside your WordPress admin area separately for each goal.

Key features:

  • Define goals with name, description and amount of money required to meet the goal. For example “Help me buy a MacBook Pro” or “Save the rainforests.”
  • Use WordPress widgets to define how and where the donation forms and progress bars are shown in your blog layout.
  • Be notified when someone makes a donation to one of your goals.
  • Follow the progress and browse donations inside the WordPress admin area.
  • Get a quick glance at the overall status of your donations using the Donation Can dashboard widget.
  • Customize (almost) everything.

The Plugin is completely FREE.

Download

Download Donation Can from the WordPress plugin directory.

Feedback

For any feedback, questions or improvement ideas, leave a comment to this page and I will address your issue promptly. Thank you for your help!

P.S. I’d love to highlight some actual use cases on this page, so if you are using Donation Can to collect donations and don’t mind a few more visitors, leave a comment!

{ 189 comments… read them below or add one }

sampsa August 26, 2009 at 12:47 am

A really good looking plug-in. Thanks for making and sharing. I’m sure I’ll find use for it.

Reply

Jarkko August 26, 2009 at 11:05 am

Thanks, Sampsa!

Reply

sampsa August 26, 2009 at 11:32 pm

I started to wonder if this kind of “tipping” is somehow regulatedin Finland. Any idea?

Reply

Jarkko August 27, 2009 at 2:41 pm

@sampsa You know, that’s a good question.

I would imagine that for a business it’s OK to think of them as income, put it in your bookkeeping and pay your taxes for the money. After all, it’s a payment for the content delivered — just not mandatory.

But I’m not sure. As you know, in Finland (I don’t know about other parts of the world), fundraising is heavily regulated and you cannot go door to door collecting money without a permit to do so. So, if for some reason this would be considered such an activity instead of voluntary payment for a service, I guess it would be illegal (without applying for a permit).

What do you think?

Reply

Jimmy Nimon August 27, 2009 at 7:54 pm

Jarkko,

I would be interested in a version of this that would allow the donor to register for re-current donation billing with PayPal, the length of their commitment, for the goal to be set in terms… like “We want to raise $365,000 for the year!” And then if they are giving $85 per month and have pledged to give for 12 months, the meter bar would show the roughly $1000 instead of $85 towards the goal. Does that make sense?

I would give you a significant donation for it. ;)

This really is a sweet little plugin.

Reply

tiki god August 30, 2009 at 1:36 am

is there a way to see if a goal is met or not to display content? The idea is to display google adverts until the goal is met, and then have them automagically disappear when the goal is met.

am I making sense?

Reply

Jarkko August 30, 2009 at 3:43 pm

@Jimmy: Actually, that does sound like an interesting addition to the plugin. Certainly something I haven’t seen done before. Let me think about that a bit, and as I’m planning for some updates soon, let’s see… this could be one of the things worth adding. :)

@tiki god: The plugin now works so that once a goal is completed, the donation options and button disappear, and instead a text saying something like “The goal has been completed. Thank you for your support” is shown instead. Is that what you’re looking for? I’m thinking I should probably make that text customizable as well.

Reply

Jimmy Nimon August 30, 2009 at 5:42 pm

You would probably make the meter bar a “pledge” bar instead an “actually received” bar. Most places like volunteer fire departments, police, 501c3 organizations all measure this way. Or simply make a pledge version of your product that multiplies the monetary commitment by the length of the commitment then feed that number to the bar. “Donate Plus” plugin allows for recurring donations through Paypal, but does not have any bar. They DO tally the total donation number though at the site if you want it to. So if it’s open source, it may give you some ideas. :)

Reply

tiki god August 31, 2009 at 3:22 am

I think what I meant was that to have somewhere else entirely on the site, I could have some code that said something to the effect of:

if goal=met show :
thank you!
else
advertisement

all in php thought ;)

Reply

itay September 5, 2009 at 5:39 pm

hi,
thanks for the great plug in!
but iam form Israel and we write form RTL and the RTL of my theme break the css green bar.
maybe u can help me and tell me what css code i need to write?
i don’t have a css skills.
thank u so much.
http://img266.imageshack.us/img266/9056/iliphones200909053.jpg
itay

Reply

Sourena September 5, 2009 at 8:59 pm

I have two questions:
1. How can I remove donation options? I want people to choose how much they want to pay.
2. I enter the “Goal ID” but the plugin does not save it. It becomes blank again after saving.

Reply

Jessica September 20, 2009 at 4:12 am

Hi, nice widget! I find the donation options especially helpful. I would like to know how I can use this in a Page instead of the Sidebar as a widget.

Thanks!

Reply

CowDog September 23, 2009 at 4:31 am

I, too, would like to know how to use this plugin in a Page instead of the sidebar as a widget. Otherwise, this looks almost exactly like what I need!

Reply

Jarkko September 23, 2009 at 2:05 pm

A new release coming up next week, on October 5th.

@itay: Sorry for the delayed response. I suspect there is something I can do in the plugin’s CSS to fix the issue. I’ll look into it for the next release.

@Sourena: Thanks for the feedback.
1) is not possible in the current version. I’ll add an option for this in the next release.
2) I haven’t seen that happen before, but it sounds like a bug in the plugin. I’ll look into it.

@Jessica, @CowDog: Good question! I have two answers:

First, if you are familiar with PHP and WordPress and ready to do some coding, you can do this already with the current version of the plugin: create a special page template and use the following PHP functions to show the donation widgets (see the file theme_methods.php in the donation-can package for exact information):

- function donation_can_donation_list(…)
- function donation_can_donation_progress(…)
- function donation_can_donation_form(…)

But I suspect that’s a bit too much work and you’d prefer the second way of doing this: a short code, such as [donation_can cause_id]. This is at the very top of my feature list for the next update.

I’ll do that release next week — I hope that’s soon enough.

Reply

CowDog September 24, 2009 at 12:16 am

Thanks, Jarkko. I actually figured out how to get the widget into the page so that I wouldn’t have to use the methods, etc.

I’m actually having more fundamental problems where the data doesn’t come back from PayPal and doesn’t write to the database. It sounds like that may be a problem on my end and not yours, but do you have a list somewhere of what PayPal settings are required for the plugin to work? That could ease frustrations and, in the long term, would ensure that people are starting off with the right settings to make everything work smoothly.

Your work is greatly appreciated!

Reply

Kitty Cooper September 28, 2009 at 8:57 am

Cowdog, I had the same issue. Some hosts don’t seem to allow php includes or requires in the paypal IPN callback code. Not sure why.

So replace this line in wp-content/plugins/donation-can/callback.php

require( dirname(__FILE__).’/../../../wp-config.php’ );

with the code from wp-config.php that defines the database constants
use the correct values for the ” ones

/** The name of the database for WordPress */
define(‘DB_NAME’, ”);

/** MySQL database username */
define(‘DB_USER’, ”);

/** MySQL database password */
define(‘DB_PASSWORD’, ”);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

Reply

Jarkko September 29, 2009 at 6:10 am

@Kitty Cooper: Big thanks for looking into this! I’ll add it to the FAQ section on the plugin page at WordPress.org, and try to find a way to make the include work more reliably. I’m also curious to know which host you are using.

Reply

Kitty Cooper September 29, 2009 at 11:32 pm

Thanks Jarkko – I do get paid to do this sort of thing but posting the solutions for others is off the clock :) My client has a dedicated server package and I think the previous time I saw this problem with paypal IPN processing, it was also a dedicated server. Contact me privately for the host name.

Reply

Jarkko October 2, 2009 at 9:29 pm

Hey guys, I released a new version today which fixes some of the issues mentioned here.

I still haven’t found a good solution to the problem with the IPN page, so for now, Kitty’s solution is the best shot if you are having trouble with this. I’ll keep looking into it to find a solution that works out of the box for all of you — just haven’t found one yet. :)

@itay: I added a small fix to make the plugin work with RTL themes… But I’m not sure if it helps, so maybe you want to test the updated version to see what happens now. Also, it would be helpful to test the plugin with your theme, so maybe you can send me a link where to get it from (if you’re using a theme available online, or maybe a copy via email if you’re using a theme created by yourself).

@Jimmy Nimon: I had to leave the recurring donations for now to save some time, but it’s at the top of my list of features to add. Stay tuned :)

Thanks for all the comments and ideas, I really appreciate them!

Reply

Dermot Canniffe October 5, 2009 at 3:20 am

Hi, I’m trying to activate Donation Can, but once activated it tells me I don’t have access to the configuration page. I’ve tried installing using WPs online installer, and also scp-ing the plugin into the plugins directory. I’ve also tried messing around with the perms on the files (e.g. setting them all to 755) but to no avail.

Any ideas?

Reply

Sourena October 13, 2009 at 9:35 pm

Jarko,
I just upgraded to 1.1 and that cased me two problems:

1. I cannot remove “Donation options”. Clicking on “Remove” doesn’t do anything. I thought I can remove them in this version so the donation amount would be optional. “Remove” is completely dysfunctional.

2. Days before upgrading, I had changed “progress_bar.php” so I can add the donations that are donated off-line to the progress bar. I did that by changing “$current” to “$current+AMOUNT” (the word amount was replaced by the actual amount collected offline). This trick worked both on the progress bar as well as the amount mentioned under it in text form.
After upgrading to 1.1 the amount shows up in text form but does not show up in the bar. Any solution for that?

3. Suggestions:
a. Would you add “Offline Donation Collection” to the options? That way the users can add up the donations they have collected in fundraising, or donations through regular mail.
b. Would you add custom donation button to the options so the users can upload the button they want, or copy-paste the URL of the image they want to show as button?

Reply

Sourena October 13, 2009 at 11:05 pm

Just noticed on IE the bar shows up really buggy (it goes outside the frame and outside the browser’s window!) On any other browser it does not show up at all. Is there any link to the previous version? I really need to downgrade to version 1.0.

Reply

Jarkko October 14, 2009 at 6:14 am

@Sourena: Thanks for your feedback! There indeed was a bug in the released version 1.1. that caused CSS and JavaScript files to not be loaded. I fixed that and created a quick fix version 1.2, which is now available from the WordPress plugin directory as an update.

I’m pretty sure that bug was why the “Remove” button wasn’t doing anything and the CSS looked weird, so this new version 1.2 should fix your issues.

If after updating to this again newer version, your status still shows only as a number, I suggest you check plugin settings to see that you have set a fundraising target for your goal. Starting from 1.1, the plugin works so that if there is no target defined, it will not show the bar (we don’t know what the % should be if there is no max value) but instead shows the current status in text.

Offline donation collection sounds like a fine feature to have. If I added a menu page called something like “Add donation” where you can enter the donation details yourself on the admin page, do you think that would do it?

Thanks for your patience, and I hope this newest quick update will finally make things good :)

Right now, I’m working on my second plugin (a reservation system) but once I have its first version out (beginning of November), I’ll do a new bigger update to Donation Can, addressing the feature requests I still haven’t implemented — including the offline donations support.

Reply

Jarkko October 14, 2009 at 6:18 am

@Dermot: I think your issue might be related to the one that was fixed in version 1.2. Basically, in the version 1.1 some paths were messed up, and I believe it could be that when WordPress tells you that you don’t have access, it’s actually a problem with WordPress not finding the file.

If you have the time, take a look at the fixed version and let me know if it helped. Thanks!

Reply

Sourena October 14, 2009 at 6:46 am

Thank you so much for your quick answer. I will install the 1.2 version.

Reply

ovidiu October 14, 2009 at 11:09 am

I am also definitely interested in a bar, so one can graphically see how much was raised towards a goal :-)

Reply

Jarkko October 14, 2009 at 1:53 pm

@Ovidiu: Yes, I too think the bar is still the core feature of the plugin. But as some people might not have a specific goal in mind, I made it so that in the current version as the user of the plugin you can decide yourself whether you want to show the bar or not.

Reply

nick October 16, 2009 at 3:12 am

hey what would be really cool is if you have a donation page that lists each donation and a comment from them, Top donors kinda like http://www.justgiving.com/beckyandemmaontherun/

Reply

Jarkko October 18, 2009 at 3:31 pm

@Nick: I agree, a comment would be cool! Let’s put that on the future features list :)

Reply

Steven Shoppman October 20, 2009 at 10:47 pm

I am having trouble with the plugin and getting it setup. I have used the plugin on a couple of websites already and it is really awesome. Nice Work!!

I think this has something to do with the host of my current client and their server settings, but I get this error when I go to add a goal:

Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘donation_can_add_goal_menu’ was given in /nfs/home/a/apdc.org/public_html/news/wp-includes/plugin.php on line 339

Not sure what is causing this. Anyone with a thought?

Reply

wiktor November 9, 2009 at 1:09 am

Hi, Jarko. I am glad I found your plugin.
I have one question: Is it possible to donate British Pounds?

thank you, all the best

Reply

Jarkko November 9, 2009 at 10:57 am

@wiktor Glad you found the plugin useful! Right now, the currency is still “hard coded” in the plugin’s PHP code, which is something I’m planning to change in the next release.

But if you are not afraid of looking at some PHP code, you should be able to look up the HTML section where the donation form is rendered.

1) Look up the file view/donation_form_single.php

2) Go to the line where it says:
<input type=”hidden” name=”currency_code” value=”< ?php echo $general_settings["currency_code"];?>” />

3) Replace <?php echo $general_settings["currency_code"];?> with GBP

As you see, the code is already set up for multiple currencies, but I just haven’t implemented the settings page yet.

I hope this helps. Let me know if you need more info so I’ll then help you out so you can get this up and running in no time!

Reply

Mike S November 17, 2009 at 10:25 am

Dear Jarkko,

I love the plugin it’s exactly what I need for the site I’m building for an NGO trying to raise money for schools in SE Asia.

We have a number of schools that we are hoping to raise funds for separately and the goals option is perfect for that. Each school that we are raising for has it’s own post, in the sidebar I want to display the donation widget for that specific school. Other than creating and calling a completely new sidebar for each page (do-able but not for more than a few schools) is there any way to accomplish this?

This may be more about sidebar coding that the plug-in itself but any advice you can offer would be very much appreciated.

Cheers,
Mike

Reply

Joey Kirk December 3, 2009 at 6:39 am

Is there a way to include this into a post or a page?

Reply

sivu December 6, 2009 at 10:45 pm

HI Jarkko, very nice and solo plugin that available for Wordpress..thanks for creating and your wornderful support…For me facing a problem the Bar is not updating after making the payment successfully in Paypal, After completing the payment when i reached the page Thank you page….the Bar is not updated….Do i need to make any modifications…..

Even i tried adding database details in Callback.php still no luck, even its not recording in database…any suggestions

Reply

Jason Thompson December 7, 2009 at 9:06 pm

Dear Jarkko,

Thanks for an excellent plugin! I’m using it on my website “kingofrpgs.com” (for an upcoming comic book) but I am having some trouble with the graphics & layout. I was wondering if you could help in return for some coffee money? -_-

(1) the donation bar color graphic (showing how much money has been raised) is not aligned with the donation bar itself… it sticks out of the bar.
(2) when I include donation options, the donation options jut out of the sidebar, due to my narrow sidebar width. How can I modify the code so that this doesn’t happen? I have tinkered with a bit of CSS but I’m basically a total amateur so I don’t know where to look to modify this.

My site is here:
http://www.kingofrpgs.com

Many thanks,

Jason

Reply

Gregory Swofford December 7, 2009 at 10:47 pm

Hello:
Thanks for the GREAT PLUGIN!!

I have a problem.
The GOAL: C.S. Mott Children’s Hospital is automatically escaped (Children\’s) when I edit the GOAL.

It appears on the PayPal site as escaped (Children\’s)

Now, if I use C.S. Mott Children’s Hospital it is not escaped, but Paypal renders it ” Children’s ”

Any ideas?

Thanks,
Greg

Reply

Jarkko December 8, 2009 at 12:41 am

@Mike S: Sorry for the delayed answer.

I guess how I would approach this would be to have the id of the donation goal as a custom field in each of the posts / pages and then in the sidebar, read that value and use the widget functions

- function donation_can_donation_list(…)
- function donation_can_donation_progress(…)
- function donation_can_donation_form(…)

to create the widget. If you want, you can use the WordPress function apply_filters (http://codex.wordpress.org/Function_Reference/apply_filters) to create the widget using the [donation-can ..] quick tag.

@Joey: Yes. You can use the quick tag [donation-can]. You can find more instructions on using it here: http://wordpress.org/extend/plugins/donation-can/other_notes/

@sivu: That’s been happening to some people — and there are a few possible causes for it:

- If you are using password protection on your blog (this is an issue I faced often when testing the plugin on my password protected test blog), WordPress will block PayPal from calling the file callback.php. You need to add an exception to allow that specific file to be called.

- I see you already tried Kitty Cooper’s solution: “Some hosts don’t seem to allow php includes or requires in the paypal IPN callback code.”

- There may be still other reasons for this… So if the first idea doesn’t seem to apply to you, let me know and I’ll take a closer look.

@Jason: Glad you like the plugin, and thanks for the coffee money! :)

1) I took a look at your site (nice art, BTW) and it seems that I have been a bit sloppy with the CSS of the sidebar widget. In its current state the widget can easily conflict with the CSS of the page, which is what happened in your case as well. I’m adding this to the official release soon too, but until I get to completing and testing a release, here’s the piece of CSS you can use to fix the widget.

Just copy the CSS to the “Donation widget style” field in the Donation Can settings panel (in wp-admin) and that should do it. (Let me know if it didn’t work)

.donation_meter div {
	margin: 0px;
	padding: 0px;
}

.donation_progress {
	padding: 5px;
}

2) Using the same text edit box as above, you can edit the CSS of the drop down list like this:

.donation-can_donation-form select {
       width: 150px;
}

I hope that helps :)

@Greg: That sounds like a bug in the plugin. I’ll have to take a look and fix it. Unfortunately right now, I’m dead busy with a client project — but I’ll get back to this as soon as possible.

Thanks for the comments, guys! They keep the plugin improving! :)

Reply

sivu December 8, 2009 at 1:19 am

Hi Jarkko, Thanks for early response, Its not the problem with password protection, I tested with out login into my site…other than the admin accounts we dont have any password protected pages in my site….hope problem is some where else…not coz of login.

Reply

Jason Thompson December 8, 2009 at 2:37 am

Dear Jarkko,

Thanks, you’re the greatest! The donation drop-down list CSS worked fine. However, the donation meter still doesn’t fit inside the meter area properly. If you have any other ideas of how to fix it that would be really awesome. Many thanks!

Jason Thompson

Reply

Bryan December 8, 2009 at 10:11 am

Jarkko Great plugin, and thank you for the hard work.

I am having issues with the callback.php not updating the donations, so I added Kitty’s solution, it has not updated but now a “log” file has been created in the donation-can directory so the data is coming back its just not being processed. any suggestions?

-Thanks Bryan

Reply

Mike S December 8, 2009 at 10:46 am

Thanks Jarkko for the tip. I’ll try it out and get back to you, if I come up with anything useful I’ll be sure to pass it on!

Cheers,
Mike

Reply

Jarkko December 9, 2009 at 8:36 pm

@sivu: The plugin uses something called Instant Payment Notification (IPN) to get the success of the payment from PayPal.

I’m not 100% sure about this, but it could be that you’ll have to update the settings of your PayPal account to enable the feature for the plugin to work correctly. Here’s some info from the PayPal documentation:

https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_admin_IPNSetup

I’ll look into automating this process and making it less fragile in the next release, so please let me know if these settings fixed the issue.

@Jason: Ah, it seems I didn’t send you all the CSS properties you need to update. Here’s one more:

Seems that your declaration #sidebar ul li div definition for padding conflicts with .donation_progress’s padding: 5px;.

One way to fix that is to be quite specific and add the following piece of CSS:

#sidebar ul li div .donation_progress: {
    padding: 5px;
}

I hope that helps :)

@Bryan: If you want, I can take a look at the log file (just email it to me to jarkko@jarkkolaine.com) to see if I can locate the issue based on the log.

@Mike: You’re welcome!

Reply

sivu December 9, 2009 at 9:48 pm

Hi Jarkko…even in my site also as Bryan Said, Log is updating values correctly, but it not writing in the database, thats the only problem, i thing if databse is updated, then the donation can bar also will be updated….

Reply

Jarkko December 10, 2009 at 12:56 am

@sivu: Yeah, you’re right. You don’t need to enable IPN as by default it’s on :)

However, I took a look at Bryan’s log file and found a problem with it. Basically, there was a problem connecting to ssl://www.paypal.com and now that I looked at the most recent PayPal documentation, they have actually changed their example code to use a normal HTTP url instead. So probably this has been a common issue.

Anyway, I have posted a new version of the plugin (1.3) to WordPress.org, so please try if updating the plugin makes it work. I can also take a look at your log file if you’d like.

Cheers!

Reply

Pyar Anderson December 11, 2009 at 8:26 am

Jarkko;

I really love the simplicity of Donation Can. I really want to install it on my site, but every time I click on the link to configure settings, I get an error message that reads: “You do not have sufficient permissions to access this page.” I’m using ComicPress in addition to Wordpress if that has any bearing on my troubles. Any help would be most welcome.

Pyar

Reply

Jarkko December 11, 2009 at 1:41 pm

@Pyar: Thanks for the feedback!

I created a new version (1.3.1) that should fix this issue, you can get it as an update from your WP admin. Let me know if it helps, so I can keep digging for other solutions. :)

Reply

Cheryl Aoife Johnson December 17, 2009 at 2:59 pm

I love the plugin! I’m already receiving donations. One problem I’ve encountered – the donations are showing up twice and therefore being counted twice. How do I fix this or remove the second posting?

Reply

Craig January 2, 2010 at 4:53 pm

Is there any way you can change the currency from US dollars to GBP pounds?

Reply

Gabriele January 4, 2010 at 4:02 am

Dear Jarkko,

Thanks, you’re the greatest! Is there any way you can change the currency from US dollars to euro?

Thanks

Reply

Amber January 18, 2010 at 12:34 am

The two things I need for this plugin to be perfect is the ability to display a donor list and the ability to add in offline donations. I saw offline donations mentioned earlier, can you tell me where this feature stands?

Reply

Phinx January 27, 2010 at 5:46 am

I have just used your wonderful plugin. I am experiencing an error, it is not interfering with the operation but of course I do want to fix this error which returns “Not a directory”.

[warn-phpd] mmap cache can’t open /home/planet23/public_html/wp-content/plugins/donation-can/model/widgets/donation_widget.php/../../../view/donation_form_single.php – Not a directory (pid 20377)

Appreciate any suggestions you may have with fixing this!

Reply

anand February 3, 2010 at 10:57 am

i would like to use it with the paypal sandbox, can so can you plz tell me were to make the changes?

Reply

Jarkko February 3, 2010 at 12:44 pm

I’m about to release a new version next week, with the following features:

1) Ability to switch to PayPal sandbox (= test mode) from the plugin settings
2) Currency selection option
3) Offline donations

After that, I’ll look into the other issues mentioned in the comments here. Thanks and keep them coming! :)

Reply

anand February 10, 2010 at 12:59 pm

great work bro.. :)
but can we add this inside the page? i mean not as a widget in the sidebar?

Reply

ralu February 10, 2010 at 1:11 pm

nice work …. :)

Reply

Jarkko February 10, 2010 at 1:27 pm

Thanks, guys!

@anand: You can use the tags explained on this page to do that: http://wordpress.org/extend/plugins/donation-can/other_notes/

I guess in a future version, I could add a button to the post editor, or something like that, but for now, you’ll still have to type these in manually.

Let me know if the instructions are not clear enough and I’ll help you out.

Reply

anand February 10, 2010 at 1:47 pm

@jarkko great bro!!
i tried it out.. but… in the progress bar, the progress was always going out of the progress box, even if the goal is not reached…
the code i used is
[donation-can orphan show_progress=true] :(

Reply

Jarkko February 11, 2010 at 9:41 am

@anand: This probably has something to do with the plugin’s CSS definition conflicting with that of your blog. If you email me a link to your site or a screenshot where I can check out what’s happening (jarkko@jarkkolaine.com) I can take a look.

Reply

anand February 11, 2010 at 12:21 pm

hi Jarkko,

thank you so much for your response, i am really sorry to tell u that it was a mistake from my part, coz my client accidently added a “,” in btw the donation goals… like $30,000
so now it is working perfect… :)

Reply

Michael February 12, 2010 at 7:15 pm

Hi,

first of all, thanks for the nice plugin. Thats really great work.

Here is my usecase:
A friend of mine is getting married soon. She wants to raise money for presents and I implemented your plugin into her wordpress marriage page to raise money for different presents (goals). A nice wishingwelllist …

And here is my solution for everybody who has still problems with callback: Just check your permaling setting i n wordpress. It wont work on default. (took me an hour to sort that out :-( )

Cheers,

Michael

Reply

Jarkko February 12, 2010 at 10:26 pm

@Michael: You’re welcome! I love the idea of using Donation Can for a wedding gift list. Awesome!

And thanks for pointing out that it took an hour for you to realize that you need to change the permalinks. After hearing that it’s pretty clear that I need to make that fact more clearly present in the UI. I tried to do it already with the notification at the top of the page, but I need to try harder :)

Reply

Tony February 14, 2010 at 2:41 am

Thanks for the plugin. Looks great. I too had to do what Sourena did in October, and it now shows $50/$5000 raised since I had someone send me $50 offline (a friend who’s internet-challenged and hates paypal) … but I wanted it to show up in the bar because…. well frankly, nobody wants to be first to donate! It shows up in the text but not in the graphs, even though the goal is set.

So, I’d love to encourage you to add the offline donation feature.

Reply

Jarkko February 14, 2010 at 3:14 pm

@Tony: Have you tried the latest version (1.4.2)? I added there a feature that would work for you: offline donations. In the menu, just choose “Add donation” and enter the donation amount you received from your friend.

I have been thinking about having an “initial donation” or “start value” column when creating a goal, but maybe this offline donation feature does the trick for most users?

Reply

Tony February 14, 2010 at 7:50 pm

Yes, thanks! I found it after reading your blog!

Maybe your latest comments should be first. That way as people read through the blog they’re not reading outdated comments. Just a thought!

Thanks Again!
Tony

Reply

rkljr February 16, 2010 at 4:09 am

We just started to use Donation can and it is perfect for our site which is very small and simple. I am having one problem and I could not find any documentation on the settings for the permalinks. We use the WordPress default (id) for our permalinks and this does not seem to work with Donation can. What settings will work or even better, what do we need to do get the default working.

Thanks

Reply

Tsikura February 16, 2010 at 7:24 am

Seems like the plugin doesn’t take into account the WordPress address (URL). I have the files of my wordpress installation in lets say public_html/v2 but I have the index placed in public_html/

With this the plugin adds to the header the location of the css and javascript file the wrong location!
i.e:
public_html/wp-content/plugins/donation-can/view/style.css
should actually do
public_html/v2/wp-content/plugins/donation-can/view/style.css

Reply

Jarkko February 16, 2010 at 9:51 am

@rkljr: You can use any permalink structure except default and it will work. PayPal doesn’t allow having GET parameters (= the question mark, e.g. ?p=10) in the pages it calls when notifying about a payment. I’ll make this more clear in the next update, and also update the FAQ with the solution.

@Tsikura: Good catch. I’ll add it to my list of bugs to be fixed for the next release. Thanks!

Reply

Jarkko February 16, 2010 at 9:53 am

And @Tony, thanks for the idea! I’ll try to reorganize the page as soon as I can to make it easier to find relevant information.

Reply

rkljr February 16, 2010 at 3:39 pm

@Jarkko, makes sense and thanks.

Reply

Kaitora February 16, 2010 at 11:32 pm

Is it possible for you to add funcionality for payments to be recieved for multiple payment gateways or is it only paypal that this plugin is intended for?

Reply

Jarkko February 17, 2010 at 12:05 am

@Kaitora: That’s a good question… And the answer, for now, is that I don’t know.

If there is enough interest for some other payment gateways, I will definitely consider adding support. Until then, I think PayPal will be enough. Which one would you prefer?

Reply

Oszkar February 21, 2010 at 2:57 am

Hi Jarkko,

First thanks for developing/maintaining this plugin, great tool for charities like us.

Installed the plugin and /almost/ works very well. I have a problems though

I can’t view the list of donations, even though donation data came back from Paypal, through IPN, and is saved in wp_donation_can_paypal_donations table. I have set my IPN notification URL to point to callback.php. Is that the right way, as I saw that you implemented that functionality elsewhere in the code?

I also had to hand edit the require() in callback.php, if that makes any difference. Also I adjusted the hardcoded URL’s for the stylesheets to reflect our blogs true path, but I don’t think that should matter.

Reply

Tsikura February 21, 2010 at 11:37 am

Delete those comments, really don’t like to clutter up comments like that :( Just basically enclose the form with fieldset tag for validation purposes.

Reply

Jarkko February 22, 2010 at 10:03 am

@Oszkar: You don’t need to set up the IPN in PayPal as the plugin sets it automatically. The only thing you need to make sure is that you use some other permalink structure in WordPress than “default”.

(Callback.php will be removed completely in the next version)

Does that help at all? If not, I’ll look into this to see what might be the problem :)

@Tsikura: Thanks for the improvement suggestion!

Reply

Kevin February 22, 2010 at 8:48 pm

Thanks for this plugin :)

Reply

John February 28, 2010 at 6:58 pm

Sorry to ask this, it might have been answered but I can’t find it anywhere. How do I list out who has donated to me? I would like to give them all recognition, but it’s not working. I have a page with this code on it but it doesn’t show the list :( .

[donation-can march2010 show_donations=true]

Any ideas?

Reply

Michael March 3, 2010 at 7:24 am

Love the idea for this plugin.

I’m not having any luck inserting the shortcode into my page.php
when I insert [donation-can Coffee show_description=true] into page.php, all I see on the actual post page is the shortcode, not the donation thing.

What am I doing wrong?

Reply

Darius March 9, 2010 at 1:05 am

hello Wordpress world. I am new to wordpress and I am not a professional developer. I barely know enough to get by. I would like to add a meter to my site but I do not know CSS codes. Can someone please explain what text I am suppose to put into the box to add a donation meter. Thanks everyone.

Reply

Jarkko March 9, 2010 at 11:32 am

@John: Looks like you found a bug in Donation Can. I’ll fix this for the next version. Thank you!

@Michael: The shortcode is meant to be used through the graphical editor in the admin area, for cases where you want to embed the widget inside a post or page.

If you want to add the widget in your page.php template, take a look at the PHP functions

- function donation_can_donation_list(…)
- function donation_can_donation_progress(…)
- function donation_can_donation_form(…)

They are located in theme_methods.php in the plugin source code.

@Darius: You should see the meter automatically if you add a goal for your donation widget. Let me know if that doesn’t work so I’ll help you troubleshoot.

Reply

fbpgroup March 9, 2010 at 12:23 pm

Hi

I notice from a previous post that you was intending on adding a way of deleting an individuals donation. Has this been done yet and if so, how do I do it?

Matt

Reply

Darius Leevy March 9, 2010 at 6:54 pm

Hello,

Thanks for such a fast response to my previous question about the goal meter. I set a goal and it does not display the meter. Can you give me some additional steps.

Thanks
Darius

Reply

Jarkko March 10, 2010 at 10:29 am

@fbpgroup (Matt): This feature isn’t implemented yet as it poses some interesting questions that I have to figure out first: Should you be able to delete any donations? Or only donations that you added manually? Should the donor be notified if you delete his donation, and so on…

On the other hand, especially when testing the plugin, this can be an important feature to have, so I think it’ll probably be added soon.

@Darius: Can you email me a link to your site so I can see the problem in action? (jarkko@jarkkolaine.com)

Reply

Peter K March 14, 2010 at 2:10 am

Hey Jarkko,
love the plug in great job. I do have an odd thing happening on my site. I have a goal to be reach, no donations yet and the plug in says goal is reached thanks for your support….and the PP button has disappeared….? Thanks

Reply

Peter K March 14, 2010 at 2:18 am

Thought that I would let you know that I copied all the info to a new goal and deleted the old one and now it works. Got to love computers….!

Reply

Mark March 17, 2010 at 7:37 am

Great plugin! You have done a fantastic job on this. A nice feature would be to have a page that appears after poking the donate button that says redirecting to PayPal in X seconds. This would give users instant feedback while making a donation. I think some donators leave the page when they don’t see anything happen for a few seconds.

Reply

Donahue March 21, 2010 at 8:19 pm

ok, I bought you a cup of coffee (at 7-11 prices). Can you please tell me how to make your plug in work on my site? I downloaded it, activated it, and it says buy me a cup of coffee? (like you have), but it doesn’t work. How can fix it? please email me, I will never find your answer here, thanks, Donahue

Reply

Veronica March 24, 2010 at 2:05 am

Hey Jarkko,

I managed to set up multiple donation cans, but I’m having difficulty implmenting each of the cans on different Pages. Is there some kind of documentation set up with instructions that I could read?

Veronica

Reply

Veronica March 24, 2010 at 2:21 am

sorry, I should be more specific. I’m trying to use the plugin as a sidebar widget …

i have several Pages set up for individual people, and i’d like to implement a different Donation Can in the sidebar for each person.

Is this possible?

Reply

Tsikura March 24, 2010 at 6:03 am

I have multiple donation cans going on in the sidebar (and it works) so really shouldn’t be a problem. Just keep adding them in the widget page after you’ve made the goals.

Reply

Veronica March 24, 2010 at 6:05 am

I don’t want multiple donation cans on one sidebar. I’m looking to put different donation cans (different goal_id) on different pages, dynamically somehow.

Reply

Azim April 1, 2010 at 4:47 pm

Hi Jarkko – I’ve set up the plugin on my website and have tried making three separate donations. The money goes into the PayPal account but the progress meter and the tracking on the admin page show that no donations have been made. Is there a setting that needs to be adjusted for this to work? It’s kind of time-sensitive (need to have the site live by Saturday night) so if you could email me that’d be great. Thanks so much!

Reply

sampsa June 22, 2010 at 7:23 am

I have a same problem.

Reply

CraigO April 7, 2010 at 11:32 pm

I get an error message that reads: “You do not have sufficient permissions to access this page.” when I try to click to configure settings. So when donations are made, I do not get an update to my “total donations”. Is this because I can’t get to the configure settings to enter my IPN information?
Thanks.

Reply

Mark April 8, 2010 at 7:22 am

I’m really new to wordpress. How do I add the widget to the page? I have it all set up in my dashboard, but I can’t figure out how to connect the widget to the page. I’m totally stuck.

Thanks

Reply

etcwd April 11, 2010 at 6:48 pm

hello Jarkko,
thanks for sharing this plugin. very usefull.
one question i have for you.
how can i set the drop-down paypal amount as you done on your website. (1$, 2$, 5$, 10$, 15$)
thanks

Reply

short April 12, 2010 at 5:55 am

many thanks for this plugin.
i tried to edit the css from the administration but it’s not working.
.donation_progress_bar { background-color: black; }
is this the correct css line ?
thank y ou

Reply

Matt Schulte April 14, 2010 at 4:19 am

This is a great tool. I am utilizing it with a nonprofit. However they already have an online donation system they are comfortable with… which file would I need to adjust to remove the Paypal Donation button. Add a customized one and adjust the link to send them to their customized form?

I know this would require me to record donations “offline” and I am okay with that.

Reply

Brad Miskell April 17, 2010 at 5:48 am

Thanks, so much, for this plugin that I think will be just what I need for a site I’m building to follow injured veterans on a Himalayan trek. I saw your note to @Michael above regarding putting code into a php template. Sadly, I know only enough php to get myself in trouble and not enough to understand how to call those functions from theme_methods.php that you suggest using.

Thank you for your generosity with this.

Reply

Monica April 21, 2010 at 5:38 pm

Thanks for developing such a great plug-in. I plan to use it on a non-profit client’s website, but I have one question about how it would work in coordination with Facebook donations. Would donations made on Facebook via PayPal show up automatically in the progress bars or would they need to be input manually as you would with offline donations? Please let me know. Thanks again!

Reply

Osborne Chen April 23, 2010 at 11:16 pm

This plugin works perfectly on my site, and it’ll really help my cause to go on my Haiti Mission Trip this summer. Thank you so much Jarkko!

Reply

Jarkko April 28, 2010 at 7:00 am

@Veronica: I’m sorry, I’m a bit late with this reply, but here’s how I did it on the Train for Humanity site. It requires a bit of coding and you’ll need to call the donation_can_donation_form function from your sidebar.php:


< ?php
donation_can_donation_form($goal_id, $show_progress = true, $show_description = true,
$show_donations = false, $show_title = true, $title = "", $return = false) ;
?>

Replace $goal_id with your page specific goal id and pick the values you like for the other parameters and that should do it.

@CraigO: That’s a bug… It happens to some people, but you get past it by using the other Donation Can links instead… I’ll fix it for the next update.

@etcwd: Look for donation options in either the general Donation Can settings or in the goal specific settings.

@Monica: At least at the moment the plugin tracks only donations that were added through the plugin or manually from the settings panel. I haven’t looked into the possibility of polling PayPal for donations done elsewhere, it might be possible — so maybe some day. Until then, what you describe is the way to go :)

Reply

Shawn April 28, 2010 at 11:38 pm

GREAT PLUGIN. THANKS for taking the time to do this.

I can not seem to figure out how to delete a past donation. Can you tell me how to do this? I was testing the donation feature, but now all my test transactions show up, but I want them to go away;0 ) . Any help would be great.

Reply

Jarkko April 29, 2010 at 7:22 am

@Shawn: Thank you! There is no way to delete individual donations in Donation Can.

If you have been testing in “sandbox mode”, your test donations are not shown in live mode. Otherwise, the best way to delete your test donations is by deleting and re-creating the donation goal.

I hope this helps.

Reply

Lee Carter April 29, 2010 at 11:56 am

Hi Jarko,

Great plugin, using it on http://www.colchesterfreefestival.com to raise money for our main stage and it is working a treat.

One question, is there any way to get DC to pick up donations mae through Paypal BEFORE DC was enabled?

Thanks
Lee

Reply

Jarkko April 29, 2010 at 10:14 pm

@Lee: That’s great to hear! I’m not sure if it would be possible to implement this feature… Maybe. But right now, you’ll have to add old donations manually for them to be shown in Donation Can. You can do this through the WordPress admin pages (“Add New Donation”).

Reply

Elisha April 30, 2010 at 12:08 am

Hi, I have seen this plugin in action and it’s great. I wanted to make sure I could do something before I add it.

The web site is a non-profit and we are organizing a 5K Run/Walk. Since the event is so short we are not going to encourage fundraising, but ask for a small participation fee that will act as a donation to the cause.

I see that I can display name, amount and payments are made through PayPal, but I wanted to know if the button has to be in the widget or if it can be synced from a post where we would place the PayPal button instead. We are going to have a registration form (Gravity Forms) and the button will be on that page.

Hope that’s clear.
Thanks!

Reply

eric April 30, 2010 at 4:57 am

@Shawn: I’ve manually deleted transactions from the log. I had to do it right from the database. Not the safest way to do it, but it cleared up a lot of confusion on my donations page.

Reply

eric April 30, 2010 at 5:01 am

Is there a way to create a drop down box for donations in a post, and not just the widget ?

I have the widget set up as just a donate button and images below it. but on the main page, i want to have a box with text like yours:

I can donate : [drop down box]

Also, i don’t know if it’s my code or not, but when i click on the donate button from the widget, it fills in the information into the purpose and reference section for paypal. however, it doesn’t put that information into PayPal when I have the donate button in a page using the following code.

[donation-can DonationName show_progress=false]

thanks !

Reply

Alex Lawrence-Richards May 1, 2010 at 2:05 am

I’m having each donation get counted three different times on the site. I’m looking at the donations (3 currently) and it shows each one from the same person 3 times. But the last set of 3 actually have the money PayPal charges taken out in the second line (which I’m assuming means the payment cleared). Is there a reason why it’s counting the same donation three times though and is there a way I can fix this?

Reply

Ciro May 1, 2010 at 9:07 pm

Hi,

I really like your plugin, I am trying to use it for my wedding list. It redirects me to the Paypal site where I can make a donation (I tried both in sandbox and normal mode) but the donation is not recorded in the donation can. I set up a Premier account and it is verified. I am using permalinks with custom structure /index.php/%post_id%/
Also, the logo does not display on the paypal donation page, not a big issue but an indication that something is wrong. The URL of the logo is OK.
Can you please suggest how I can debug the issue?
Ciro

Reply

Alberto Martinez May 6, 2010 at 2:18 am

Hey all. I have noticed a problem with the Fundraising Progress Widget. It does not properly fill the Combo Box with all running campaigns. To fix this, add this bit of code to “function form($instance)”

Line 94 (after “$title = esc_attr($instance["title"]);”)

$goals = get_option(“donation_can_causes”);

Reply

Alberto Martinez May 6, 2010 at 2:21 am

Woops, guess I better be more clear than that.

In donation_widget.php
– function form($instance)
add “$goals = get_option(“donation_can_causes”);”
after “$title = esc_attr($instance["title"]);”

Reply

Jarkko Laine May 18, 2010 at 3:28 pm

Thanks, Alberto! I’ll include the fix in my next update.

Reply

Timothy Kendziorski May 6, 2010 at 6:03 am

This plugin was easy to set up and run. Thanks for the work you have done.
I have been seeing a little problem in that a donor has been showing up over and over with repeat donations. Same PayPal ID number and everything. He even cleared out his cookies but it seems each time he visits the site, another donation in his name reappears. i have been pulling these donations from the database each time. I don’t know if it is a bug or just a problem on his computer.

Reply

Terry May 6, 2010 at 6:39 am

I am also having the problem of repeated donation amounts and names showing up. Is this a bug? Is there a fix?

Thanks!

Reply

Jarkko Laine May 18, 2010 at 3:26 pm

Sounds like a bug, although I haven’t been able to reproduce it myself. I have it on my list of things to fix for the next release. If you have some more ideas on how / why it could happen, more info always makes fixing easier :)

Reply

John May 7, 2010 at 10:19 pm

Hello,

I noticed this plugin has stopped working for me after updating to PHP 5.2.3. It isn’t able to pull directories correctly and I get weird errors. Is anyone else seeing this issue and is there a fix?

Reply

Jarkko Laine May 18, 2010 at 3:25 pm

Hey John! Thanks for the info. I run PHP 5.2.8 and everything works fine. Maybe you can send me the error message you get via email (jarkko@jarkkolaine.com) so I can try to figure out something from it?

Reply

Christian Land May 22, 2010 at 12:06 pm

Hi!

I’ve got the same problem on my test-server (XAMPP, PHP 5.3.0, etc.).

Basically all require-statements using __FILE__ are failing (so no views can’t be loaded).

For example:

require(__FILE__ . “/../../../view/dashboard_widget.php”);

in dashboard.php doesn’t work. If i replace it with

require(WP_PLUGIN_DIR . “/donation-can/view/dashboard_widget.php”);

everything is fine. __FILE__ always contains the full path to the current file so your require-staments should never work. For example, dashboard.php throws this error if i leave the original require-statement:

Warning: require(D:\xampp\htdocs\wp-content\plugins\donation-can\model\dashboard\dashboard.php/../../../view/dashboard_widget.php) [function.require]: failed to open stream: No such file or directory in D:\xampp\htdocs\wp-content\plugins\donation-can\model\dashboard\dashboard.php on line 35

As you can see, __FILE__ is resolved to “D:\xampp\htdocs\wp-content\plugins\donation-can\model\dashboard\dashboard.php”

Reply

Jarkko May 28, 2010 at 5:42 am

Thanks, Christian!

Yeah, you’re right… I was trying to do something too fancy, trying to make the plugin work even if someone decides to rename the donation-can directory. And while doing that broke the plugin for more people :)

I just copied your fix to my codebase so it’ll be there in the next release, hopefully still today or tomorrow.

Reply

Christian Land May 28, 2010 at 11:11 pm

The bug still exists in donation_progress_widget.php and donation_widget.php (in v1.4.3).

Btw. if you want to allow users to rename the plugin-folder you could use dirname(__FILE__) instead of WP_PLUGIN_DIR.

For example the following line in donation_widget.php:

require(__FILE__ . “/../../../view/donation_form_single.php”);

would become

require(dirname(__FILE__) . “/../../view/donation_form_single.php”);

You only have to be careful because of the different number of relative folders in the path (“/../../” instead of “/../../…/” ;-) )

Marc Henrich May 18, 2010 at 1:25 am

Hi Jarkko,

Thanks for the Plugin. I am using it on our website: http://www.ecodana.com
fundraising for sustainable projects in rural areas.

I wanted to ask you: is it possible to have it so that when donors press the donate button there is a drop down menu of value options say; $5, $25, $50 or you put your own amount?

Thanks again,

Marc

Reply

Jarkko Laine May 18, 2010 at 3:18 pm

@Marc: Yes, this is exactly how I use the plugin on my own blog at the moment. To do it, you need to add the predefined options (i.e. 5, 10, …) and then on the goal’s settings page check the check box “Include freeform donation option”.

Reply

Romy May 24, 2010 at 6:33 pm

Hey there,

Your plugin idea is totally awesome!
though i have just been playing around with wordpress with no prior experience.

i need a little help and i would appreciate it if you can assist, i though that maybe paypal didnt register a donation of mine,so i added it as offline, then i think it noticed it came through, so now i have a double payment showing on my dashboard.. where can i delete it?

also: i dont understand anything about the the following:
? show_progress: Set to “true” or “false” (default = “true”)
? show_description: Set to “true” or “false” (default = “true”)
? show_donations: Set to “true” or “false” (default = “false”)
? show_title: Set to “true” or “false” (default = “true”)

i dont have a clue as to what it does and what it affects so can you please assist me or can someone maybe give me some examples? i am literally 2 weeks new to this.. i dont have any clue..

the only thing it does for me is give me a drop down menu of amounts to donate which i entered on my selected category page, and i have a donation goal and it says on my homepage: The donation goal has been reached. Thank you for your support!
also please assist..
sorry for being a newbie to the world of wordpress..

Reply

Jarkko May 26, 2010 at 7:10 am

Hi Romy, I’m sorry but right now the plugin doesn’t support deleting individual donations. This was originally done to prevent people from messing up the real donations they had received from people, but I guess now with the possibility to addd donations manually that’s not an issue anymore. I will fix this in the next version which will be out some time next month (June).

For now, however, your best bet is to create a new donation goal and add all the donations you have received so far manually, and then delete the original donation goal.

The options you list (show_donations, etc.) are only needed if you use the plugin from code or with a short code inside a post. Basically, they are just the different attributes to the widget. You can also add the widget in your sidebar or some other widget slot, and use a graphical UI to select the values to the variables.

Anyhow, if you need to use the parameters, just put them inside the tag, for example like this:

[donation-can GoalName show_donations=true]

I hope this helps at least a bit…

Reply

Romy May 26, 2010 at 3:37 am

hey there,

can anyone help please, i dont know how to get the bar to work properly!
it says donation goal has been reached!
and i checked out some site of ppl using it above and mine looks nothing like that,
if anyone can help me please contact me through my site: http://www.ustadh.info
i would really appreciate it..

thankyou

Reply

Romy May 26, 2010 at 8:18 am

hey jarkko,

thanks for the reply, ok i added a new donation goal, and deleted the old one,
then as you suggested i manually added the donations, and what happened is that
it didnt really delete the previous amount and now its doubled from 136 to 279 or something..
i also deleted the plugin and re installed and still nothing is updated, it has taken the last deleted goal amount, and added it on top of the new one even though the old goal is deleted.

any more suggestions to make this work?

Reply

Romy May 26, 2010 at 8:28 am

Hey Jarkko,

what is happening is the amount donated is doubling up and tripling up in the fundraising status on the dashboard.. [each time i add a new goal then delete old goal, and manually add donations to fix the total amount] so its giving a incorrect total amount. So deleting the goal is not deleting the amounts previously donated, its just adding on top of the amounts i entered manually where my intention is to correct the amount donated. now i have a doubled amount…

Reply

Jarkko May 26, 2010 at 9:30 am

Hey Romy, this is definitely a bug in the plugin.

I was planning to create just one big update in June, but with all these bugs piling up, I think I’ll make a bug fix release in the next few days to get rid of these issues.

I suppose your readers are not seeing this tripled amount but it’s just visible in your WordPress dashboard?

Reply

Pyar Anderson May 30, 2010 at 1:02 pm

Jarkko;

I love the donation can and have been reaping the benefits. I have a request. I run a Webcomic. I also run a weekly incentive where if donations reach a certain goal, then I produce an extra comic for the week. This means that every week, I’m resetting to zero dollars and adding new donation goal for the next week. Would it be possible to set something up where I could schedule a goal to reset every week at a certain time without erasing the history of what that goal has already earned?

Thanks;

Pyar

Reply

Jarkko June 23, 2010 at 9:09 am

Thanks for the idea, Pyar! Although I’m not sure where it fits in the plugin’s overall vision, I see the use for such a feature. I will definitely think about it.

Reply

romy June 2, 2010 at 2:38 am

hey jarkko,
hope things are well man…
im still having issues with a progress bar showing in a post..
i enter [donation-can_masjid_donation_meter] and no progress bar appears, just the shortcode… any suggestions?

or anyone that has it working can give me some assistance please?
email: ustadhabufarouk@gmail.com

thanks

Reply

donalyza June 3, 2010 at 8:42 am

Is there in anyway I can add this on a theme template rather use it as a widget?

Reply

Jarkko June 23, 2010 at 9:08 am

Yeah, you can call the “donation_can_*” functions in a theme template directly. Take a look at earlier comments or the documentation on the WordPress.org site for more information on the details.

Reply

danny June 13, 2010 at 9:59 pm

Hey
Your plug-in is exactly what i needed, so thank you so much for making this.
I am having 1 problem with the widget. When i put in the donation can widget on the sidebar, the other widgets title bar color go blank. And then the only title that has color is the donation can one. However if i put the donation can widget as the very first one, the rest of my widgets are fine.

If you can take a look on how i can fix this, please let me know. Thank you

Reply

Jarkko June 23, 2010 at 9:07 am

Hi Danny, I’ll take a look at this for the next release.

Reply

badams June 18, 2010 at 5:48 pm

Just wnted to say thanks. Your plugin does exactly what i was looking for!
The sandbox feature also works very well. Im defaintely impressed.
Keep up the good work!

Reply

Jarkko June 23, 2010 at 9:06 am

Awesome, that’s great to hear! Thank you for the comment!

Reply

sampsa June 20, 2010 at 8:48 am

Moi Jarkko,

How long should it take for the donations to appear on the progress bar? I’ve now waited for a day for two donations. What might be causing the delay?

Reply

Jarkko June 23, 2010 at 9:05 am

Hi Sampsa, I sent you email about the problem so we can work on getting it solved together, and then post the solution on this site once for all, and maybe have a solution for it included in the next update.

Reply

Catherine June 24, 2010 at 3:48 am

Hi Jarkko,

Thank you for this plugin. I have entered one manual donation that has showed up, but I received 2 donations today that have not shown up in the admin area/progress bar.

I have read all of the comments above, but can not see a definite answer to this problem. I know it has something to do with Paypal callback, but I don’t really understand.

I would be really grateful for your help,

Thank you

Reply

Jarkko July 7, 2010 at 5:53 am

Hey Catherine, try updating to the new version I just uploaded now (1.4.4), it includes a bug fix that should help you as well.

Reply

John July 6, 2010 at 5:49 am

Hey there,

I am still not able to see the donation list on my site. How do I call that exactly or does the bug still exist?

Reply

Jarkko July 7, 2010 at 5:52 am

Hey John! There was indeed a bug that caused donations to not show for some people (I don’t have a clue why it worked for some…), it’s now fixed in a new version that I just uploaded to WordPress plugin directory (1.4.4.).

Reply

John July 11, 2010 at 8:25 pm

Hey Jarkko,

It’s still not working for me. I don’t know what’s up. I set it to true in the shortcode and I have a $20 donation as clear as day, but no listing of it :( .

Reply

Martin Chadwick July 7, 2010 at 3:19 am

Hi Jarkko ..
I’m using your great plug-in for one of my pro-bono clients.
I notice that since an upgrade to WP3.0 the plug-in no longer updates Donations after a successful payment. I’ve run a core test WP install using only the Donation Can plugin and widget, and checked the database before and after a payment. I could see no change recorded in the wp_donation_can_paypal_donations table . Will do some more testing, and let you know results .. do you have any thoughts on the issue? I notice the plug-in is certified to 2.9.2

Reply

Jarkko July 7, 2010 at 5:50 am

Hi Martin, I just uploaded a new version (1.4.4) to WordPress plugin directory two minutes ago that should fix the issue. At least, the fix worked for Sampsa (see comment above).

If the update doesn’t help, let me know and I’ll keep digging :)

Reply

Martin Chadwick July 15, 2010 at 12:10 am

G’day Jarkko .. thanks for quick response. I’ve had a chance to test and just wanted to confirm that Gary V is correct below:
- when permalinks are set to Default, donations ARE NOT written to the donations table
- when permalinks are set to ‘Day and name’, or ‘Month and name’ donations ARE written to the table. (Tested on a clean WP3.0 install with Donation Can 1.4.4)
Hope that assists — thx for your work.

Reply

Jarkko August 4, 2010 at 12:51 pm

Yep, this is a known issue. I just need to make it more clearly visible in the UI and documentation that the permalinks need to be changed for the plugin to work.

Reply

fher98 July 9, 2010 at 6:51 pm

Hi, I just installed the plugin but when i try to chance the settings im getting:

You do not have sufficient permissions to access this page.

Im using WP3 with DC Version 1.4.4

thanks

Reply

Jarkko August 4, 2010 at 12:53 pm

Thanks for reminding me of this bug. For now, you should be able to access the settings using a different link.

Reply

Gary V July 13, 2010 at 5:22 pm

Hi Jarkko, Thanks so much for making this plug in available. I finally got it to work for a friend of mine’s website. He’s a missionary, and this plugin fits nicely onto his website at:
http://www.EdCarlson.info.

By the way for those having trouble w/ your donation showing up on the bar chart, make sure that you have your Permalinks set-up right in your WP settings. When I left mine on default the chart wouldn’t work. But when changed to “Day and name” the chart started working. Not sure why, maybe Jarkko can explain it. Thanks Jarkko

Reply

Jarkko August 4, 2010 at 12:57 pm

Ed, you are right! It’s because of the callback URL that the plugin needs to give to PayPal. PayPal doesn’t accept urls in the default format, because of the parameters that need to be in them. Up there in the comments, there is also another solution in case you are not able to change the permalinks.

Reply

Fin July 14, 2010 at 9:18 am

Hi,
I installed the plugin on a Dutch website and it works really well up to now. I have two questions:

- how can I change the “Donate” button? That should be Dutch as well but I couldn’t find the file.
- I would like implementation of another payment module called iDeal. It is most common used in the Netherlands. It would be possible to use this script (http://www.ideal-simulator.nl/demos/ideal-lite-donate/index.php) Can you do that for me? And what would you charge?

Hope to hear from you soon. Regards, Fin

Reply

Jarkko August 4, 2010 at 1:02 pm

Hi Fin. The button graphic is loaded straight from PayPal right now. You will need to replace the link in the code. Let’s see if I can figure out a nice way to allow changing the button in the plugin settings.

Right now, I don’t plan on supporting other platforms than PayPal, but if there are more requests for something like iDeal, I will consider it again.

Reply

Matt July 14, 2010 at 8:05 pm

I added your plugin to the sidebar at http://www.tekgoblin.com but the Donation drop down box is too wide and being cut off on the sidebar. I tried resizing it with the custom css but none of it seems to apply to that drop down. Any ideas?

Reply

Jarkko August 4, 2010 at 1:06 pm

The problem is with the option “Other” as the text for it is so long. Also, the margin settings for “.widget select” and the padding for “.widget p” move the dropdown list to the right making it seem even bigger than it really is.

I am redoing the looks of the whole widget for the next release, that should fix the issues for good.

Reply

Ron July 23, 2010 at 12:36 am

Does anyone else get scrollbars when a donation is reached? I do and it looks bad. I also manually entered and offline donation and Donation Can says the goal has been reached. What’s going on?

Reply

Jarkko August 4, 2010 at 1:08 pm

I will look into this. Thanks for the bug report! Can you post me the sum you added as offline donation. Maybe there was some formatting thing, such as using commas? Right now, the plugin only supports integer numbers.

Reply

Becky July 29, 2010 at 12:29 am

This plugin rocks! Thank you so much! Is there a way to add comma’s to the donation numbers?

Reply

Becky July 29, 2010 at 1:53 am

Nevermind about the comma! I figured it out, changed progress_bar.php line

echo $current; to echo number_format($current);
echo $target; to echo number_format($target);

You should port this over to Joomla! This is the best donations module I have seen for either system :-) Thanks again!

Reply

Jarkko August 4, 2010 at 1:08 pm

Thanks, Becky! Sounds like something worth adding to the official plugin.

Reply

Dave July 29, 2010 at 7:52 am

This looks to be a great solution for non-profits. When I tested the plugin, I am unable to save a new donation. I have configured the plugin, filled out the new donation goal form, but the “Add Goal” button doesn’t do anything. Additionally, I get the following error when I try and either look at Donations (there aren’t any because I can’t create a Goal) and when the Widget is displayed:
[code]Warning: Invalid argument supplied for foreach() in /home/diablo943/wordpressconfig.com/wp-content/plugins/donation-can/model/data.php on line 157[/code]

I appreciate your help!

Thanks,
Dave

Reply

Jarkko August 4, 2010 at 1:09 pm

Thanks for the report, Dave! I will take a look at it.

Reply

Dimitri August 2, 2010 at 12:05 am

The logo I selected doesn’t show up in paypal payment page. :(
How do I fix this?
The url to the logo is correct.

Reply

Jarkko August 4, 2010 at 1:10 pm

Actually, now that you mention, I think the logo feature was never tested. I will fix this one in the next release.

Reply

Lisa Llewellyn August 3, 2010 at 1:00 am

I love the plugin – just what I needed. Would it be easy for me to modify the code to display all of the goals alphabetically? I’ll have over 200 so it’s hard to scroll through all of them to find the one I need.

Thanks,
Lisa

Reply

Jarkko August 4, 2010 at 1:12 pm

You mean on the admin page, right? This sounds like you need to add some sorting before displaying the goals. I will write this request down and see if it can be nicely included in some future release.

Reply

Lisa Llewellyn August 8, 2010 at 3:30 pm

Yes, on the admin page. This is for a website that features special needs orphans who are available for adoption. I have a donation goal for each child (now over 250 kids), and for all the families who are in process of adoption (over 100). We would like to take this new site live next week (the current site is all html, so the director is having to manually update all of these grants on a daily basis.) Can I pay you to do this code change for me to list the goals alphabetically?

The current html site is http://reecesrainbow.org. The new site is at http://tresidio.com/wordpress (until we transfer it anyway). I am not being paid for this, but this is so important to me that I would be willing to pay you for the code fix to get them sorted alphabetically.

Hoping,
Lisa Llewellyn

Reply

cathans August 5, 2010 at 4:08 pm

I’m trying to get the plugin up and going–actually, but ran into a couple snags.

1st- which is posing a big problem is I’m getting the following error message on the dashboard. (I’m still running in sandbox mode) Its a big enough problem that my other dashboard widgets aren’t coming up and I can’t seem to even temp. remove the the fund raising status dashboard. (WP 3.0.1 btw)

Fatal error: Call to undefined function: date_parse() in /wp-content/plugins/donation-can/model/data.php on line 393

2nd – Is there a way to turn off the Donate Button & Dropdown ? I’m trying to show *just* the amount raised in-line with text and save the Actionable events for further down the page.

Thx

Reply

Jarkko August 13, 2010 at 8:04 am

I wasn’t able to reproduce the date_parse() error in my test environment, but I’ll keep looking. Do you have anything special about your WordPress installation that could cause the files to be located in different places than normally?

You can do it with the donation widget by selecting the correct checkboxes. Should be also doable with the quick tags, but apparently there is a bug which I need to fix to make them have all the same functionalities as the widget.

Reply

adam Yussuf August 6, 2010 at 12:24 am

how can i show the donor name and amount of donation, something to display the Donor Recognition Wall.
Thank you

Reply

Jarkko August 13, 2010 at 8:01 am

Right now, the best way to do this is to use a donation widget and configure it to show the list of donations. There is also a quick tag available, but as you see from the following comment, it is not working right now, but I’m working on fixing it for the next release.

Reply

Dimitri August 8, 2010 at 3:58 am

Jarkko please help me.
I set up everything correct the goals name is ’server’
I put this on my page [donation-can server "show_donations=true"]
My friend donated but I don’t see him in the donator list also I don’t see any amount raised.
Thanks in advance. :-)
P.S. I put my website in the website option in this comment.

Regards,
Dimitri

Reply

Dimitri August 8, 2010 at 4:56 am

Dear Jarkko,

Ok I fixed this problem.
I just had to change the permalinks structure.
(You must use a different one then default).

New problem: If I use this code:
[code]
[donation-can server "show_donations=true"]
[/code]
Then it doesn’t show the donators and the amount they donated. :(
Can you please fix this.
I read someone posted the same problem in may. :D
Thanks in advance.

Regards,
Dimitri

Reply

Dimitri August 8, 2010 at 4:58 am

Note: even if I use: [donation-can server show_donations=true]
so without “” then it is also NOT working.

Reply

Jarkko August 13, 2010 at 7:59 am

Thanks for the detailed report, Dimitri! I’ll check this and fix it for the next release (will be out in a month or so).

Reply

Larry August 10, 2010 at 10:32 pm

I don’t know if I am missing something, I have an offline donation that was input twice on accident, how can I delete it? Is there a way to go back and assign a donation to a different goal?

Thanks

Reply

Dimitri August 12, 2010 at 7:10 pm

Yes there is ;)
Access phpmyadmin on your website host.
And go to the donation can database table.
Just remove all the donations you want to remove. :)

Regards,
Dimitri

Reply

Jarkko August 13, 2010 at 7:57 am

Yep, Dimitri is right. :)

Originally, when all donations were made through the plugin, I was thinking that having a delete button would be unnecessary (and maybe even a bad thing) as removing real donations would be like faking the progress. Now, with the possibility to manually add offline donations, the delete functionality would in fact be useful.

I’ll add it to version 1.5 (coming out around mid September).

Reply

Floyd August 16, 2010 at 9:54 am

Jarkko, at first thanks for this great plugin. I use it for reaching my goal to print a photo book. So the URL is http://www.innermann.de/supporters .

Everything is working fine and I received my first donation ;) But I run into one problem: the donator made his donation on paypal. The sum was added to the progress bar correctly. Then I received an email from paypal where I have to accept the donation. After accepting the donation the sum was added again to the progress bar.

So the donator spent $5, but what happened is, that after accepting his donation another $5 were added. Do you know anyone who also has this problem?

Thanks for your support and this great plugin
Floyd

Reply

Jarkko August 17, 2010 at 9:06 am

Hi Floyd! I have never seen this feature where you have to accept the donation manually. Thanks for letting me know!

I think I can fix this by checking the donation’s transaction id to make sure it’s never saved more than once. I will fix this for the next version. Cheers!

Reply

Floyd August 18, 2010 at 9:34 am

Funny, because I never heard of a way where you don´t have to accept a donation manually ;) Maybe it is because I´m in Germany? German Paypal is different? But I can´t believe it. It is not a feature, it is a must in Germany. Paypal sends you an email with the prompt to accept the donation. Otherwise the money will go back to the donator. But thank you for your great support. You are really doing a great job with this plugin. The best one out there.

Reply

danny August 17, 2010 at 1:54 am

Hi Jarkko,
How does the “Donation widget style” work? I entered the fields that i want my widget to display, but on the list of Available widgets i dont see a customized one. Any help would be great! Thanks

Reply

Zach Nicodemous (STO-Radio.com) August 24, 2010 at 12:02 pm

Hi There,

Is there some way to give the user an option about wether or not their name is shown or alternativly, give them the option to put in a nickname. Some of my users do not want their real names to display in the widget that says about latest donations.

Please let me know
Zach

Reply

Jsteb August 26, 2010 at 7:16 am

Love the plugin… but having a little trouble implementing it in buddypress. First off, I’m not sure this is even possible, but I’d like to allow buddypress groups to set donation goals. I’d like to add the short code for the groups goal to the goal description – any ideas on how to get either the short code or html/php to work there?

Alternatively, would it be possible to code a custom call in the sidebar to show the donation can form and progress bar if that group has a goal titled the same as the group title ??

Thanks in advance for any ideas this way.

Reply

John August 26, 2010 at 12:24 pm

Hey Jarkko,

The donation list is still broken, it doesn’t work at all.

Reply

Dimitri August 29, 2010 at 1:46 am

Hi Jarkko,

Thanks for your reply,
I just want to tell you the following:
* The logo will only be displayed if you have a paypal PREMIER or BUSINESS account.
* The donator list in the sidebar (widget) is working! :)
* But the donator list on the page is not working (not showing).
* You need to change the permalinks structure of the page you are using donation can on. (I don’t know why but I read that you posted this, I just add this to the list for the people that reads it to clearly explain what is working and what is needed.)

Reply

{ 5 trackbacks }

Leave a Comment