Donation Can

Donation Can

If Donation Can has helped you and you feel like helping me develop it further, here is your chance to participate by paying what you think the plugin has been worth to you. Thank you!
$368.10Raised5,000Target
Choose donation amount:
Latest donations:
  • 2012/01/10 11:48 AM Marc Dingena donated $ 50.00
  • 2012/01/08 9:34 PM Donald Heater donated $ 1.00
  • 2011/11/10 8:34 AM Keith Stattenfield donated $ 10.00
  • 2011/10/31 1:58 AM Gerry Humphrey donated $ 0.09
  • 2011/10/13 5:15 PM Jim Siciliani donated $ 1.00

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!

*IMPORTANT:* The shortcode format for embedding donation forms to pages and posts has changed in Donation Can version 1.5.0 and you need to update your shortcodes.

Old format:

donation-can goal

New format:

donation-can goal_id="goal"


*UPDATE:* A new release of Donation Can (1.5.1) is now live at WordPress.org and should fix many of the issues presented in the comments section below. A redesign for this site along with better usage instructions is in the works. Thanks for sticking with the plugin through this slow period. :)

{ 794 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

novenaprayer April 28, 2011 at 12:20 am

I’d be interested in a recurring option too! That would be amazing!

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

Jsteb September 7, 2010 at 5:21 am

I noticed that you refer to this as a “quick tag”… is this different from a “shortcode”. I am using a “do_shortcode” filter for buddypress groups to allow them, but [donation-can] is not working.

It works like a charm in other pages and posts, so I am wondering if I am doing something wrong. Any ideas? Does this use the Shortcode API?

Thanks in advance for your help.

Reply

Jarkko September 7, 2010 at 2:53 pm

You’re right, it’s shortcode in WordPress terminology. I should update my documentation to use correct words and not confuse you guys with my own terms :)

I think you nailed the problem. Instead of using the API correctly, I am doing it through my own custom filter. I’ll fix this for the next release.

Reply

Jsteb September 7, 2010 at 5:22 pm

Awesome… thanks. Looking forward to it.

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

Heather dowdee May 4, 2011 at 6:46 pm

Hi Kitty,
I think this might be a solution to my problem but it makes no sense to me what does “correct values for the ” ones” mean?
My donations aren’t registering, and paypal says my IPN notification URL isn’t right. I feel like the answer is easy, but I don’t know any php speak. Any help is greatly appreciated!
thanks,
Heather

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

David October 6, 2011 at 6:35 pm

Ah… just saw this. I’m interested in gateway support! Particularly PayPal Web Payments Premium.

Like I mentioned below, I’d be willing to help develop a solution if you could point in a good direction to start. Thanks @Jarkko! Quality plugin for sure!

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

Brad Trivers February 9, 2011 at 3:17 pm

First off – nice plugin (although the documentation is sparse).

I’ve just implemented a plugin with PayPal IPN functionality and I’m pretty sure you have to turn on IPN in your web payment standards PayPal account and specify the Notification URL for it to work.

Login to PayPal and go to the My Account tab – Profile and choose Instant Payment Notification preferences under the Selling Preferences column on the right hand side.

Here you need to enable message delivery. I believe the proper Notification URL to use is http://yourdomain/index.php?donation_can_ipn=paypal .

Maybe I’m way off here, but I believe this is necessary.

Reply

Brad Trivers February 9, 2011 at 3:39 pm

Ok – I see you are passing this in the notify_url form variable – but couldn’t hurt to have this on the PayPal IPN set-up as well I don’t think.

Reply

Brad Trivers February 9, 2011 at 4:05 pm

Ok – the Notification URL in PayPal settings should be:
http://yourdomain/?donation_can_ipn=paypal

Reply

Heather Dowdee May 4, 2011 at 6:55 pm

Hi Brad,
I’ve been searching for my IPN notification URL for oh, about three days now. I’m trying the one you provided now. Keep your fingers crossed!
sincerely,
Heather

Reply

Jarkko May 4, 2011 at 9:13 pm

Hi Heather, you don’t need to set the IPN notification URL in PayPal (because Donation Can sends the notify_url parameter). I’m sure there is something else wrong here…

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

Briton March 18, 2011 at 6:30 am

Whatever happened with Sampsa? I’m having a plethora of issues

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

Robertas December 3, 2010 at 2:45 pm

Hi, i had the same problem, but after i changed permalinks to Custom Structure [/%postname%] this great plugin started to work.

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

Paper November 7, 2010 at 6:42 pm

I’m using this on two of the sites. I too am having this error pop up in the dashboard, under latest donations. One site was fine and it just appeared not too long ago. The other site had this error from when I first installed it.

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

It’s the only issue I’m having with it. The widget and everything else seems to be working fine and perhaps it is just a problem with it displaying in the dashboard. Not entirely sure. I love this plug in.

Reply

cathans January 12, 2011 at 7:24 pm

FYI.. Not sure why data_parse wasn’t working since i’m on php 5.2, but here’s my workaround for anyone else:
Remove (or comment out) this line in data.php (line 393)
$date_data = date_parse($date_string);

Replace it with:
$date_date = getdate(strtotime($date_string));
and you should be up and running.

Reply

Scott August 21, 2011 at 7:40 am

After hours of looking for a resolution to a separate problem I was having with Donation Can logging and displaying everything one day ahead (UTC) and ignoring/bypassing the blog / php.ini config. This managed to resolve my separate issue.

But a word of warning… The new line of code should be… (the variable “$date_date” is incorrect. It should be “$date_data”)

GOOD – $date_data = getdate(strtotime($date_string));
BAD – $date_date = getdate(strtotime($date_string));

If it helps, I’m running PHP 5.3.6 fcgid & Donation Can Version 1.5.2.1 still. (Haven’t had time to recreate my CSS templates for the new version of Donation Can).

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

Jcert February 22, 2011 at 9:30 am

Hi Jarkko,
we are a grassroots non-profit, all of us 4 volunteering and we’ve been looking for a long time for such an awesome plug-in, thank you so much for all your work!
I’m just reading all this now and was wondering if version 1.5 will be coming out (having the same delete offline donations issue)? I saw the threads all ended in 2010 (sadly!). Again, thanks for providing this, without you we’d never be able to run volunteer trips like this! Jeannette

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

Jarkko September 7, 2010 at 2:58 pm

I was planning to include an anonymous option, my database structure even has support for it already, just never got to adding the option.

I’ll see if there is a nice way to include this in the next release.

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

Jarkko September 7, 2010 at 3:01 pm

I am looking at the Shortcode API now, and it might work so that if I start using it in the plugin instead of the current filter system, you’d be able to use the shortcodes pretty much anywhere on your site. I’m not 100% sure yet, but I think this will work.

Calling the donation can functions from your sidebar php code is definitely possible. You can check out the file theme_methods.php for the functions.

Reply

Jsteb September 7, 2010 at 3:25 pm

The more I have researched the more I feel utilizing the shortcode API would be infinitely valuable. I was able to add

add_shortcode( ‘donation-can’, ‘get_donation_can_donation_form’ );

to my functions.php file and have the donate button replace the shortcode, but I just don’t have enough php experience to actually make a function with arguments that produces a true shortcode.

Many thanks for the response and the time to review this.

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

Jarkko September 7, 2010 at 2:56 pm

Thank you for the summary, Dimitri!

Reply

Coral Atlas September 4, 2010 at 7:11 pm

it appears to be broke in 3.0.1 – tried with 2010 & p2 themes
seems to be what i’m looking for – but not able to get it working yet

Reply

Jarkko September 7, 2010 at 2:56 pm

Can you share more details on how it’s not working? I’m using 3.0.1 on my test site and the plugin runs OK, so maybe it has something to do with another part of the configuration?

Reply

Stian September 6, 2010 at 3:48 pm

Hello, when I try to use the plugin it breaks the page, the page is “blank” where the plugin should show, and altso the rest of the page. I have changed the permalinks, and the blog is now moved to root, but still no go. Since I dont have it working, I cant say mutch about it, but from what Im reading it looks like a GREAT plugin!! :)

Reply

Jarkko September 7, 2010 at 2:55 pm

Hi Stian, when you say it breaks the page, which page do you mean? The admin page, or the page that contains the donation widget?

Also, how did you place the widget? Is it through the Widget system or using a shortcode?

Reply

Stian September 7, 2010 at 7:47 pm

Sorry for not explaining. It shows fine on the admin(dashboard) But if i try using the widget, it doesnt show. .and its the same if I use shortcode.. If I use the widget it only shows the headline. Then all the eventual widgets below are gone. Its a fresh install of wordpress 3.01, standard template.

Reply

Chris March 12, 2011 at 11:13 pm

I also have this issue when adding the donation form widget to a page.

It seems to strip the page of any styling and theme, leaving just the bare text of the page.

Here’s an example of this happening http://www.hat-films.com/donated/

Currently running version 3.1

I’d love to get this working, fantastic plugin otherwise!

Thanks!

Reply

Lisa September 6, 2010 at 6:56 pm

Jarkko,
I would like to take my site live in 2 weeks, but I require modifications to this plugin (which is great btw) before I do so. I would like to pay you if you have time. Here are the mods:
- be able to edit/delete a donation (delete at a minimum, edit would be awesome).
- subtract paypal fees from the total that is displayed on the site

Please let me know if you will have time for this. I will need to hire someone else if you do not.

Thanks!

Reply

Jarkko September 7, 2010 at 2:49 pm

Hey Lisa, I replied to you already via email, but to let others know as well, both of those features will be a part of Donation Can 1.5. Now, I just need to find the time to focus on completing it :)

Reply

Jen Standridge September 8, 2010 at 7:43 pm

PayPal has sent messages saying that their plugin will no longer be working. Does this effect the Donation Can? I love this plugin and hope to help our Pastor in Africa to get donations for his children and his ministries.
Thank you so much for such a great plugin!

Jen

Reply

Paul September 17, 2010 at 11:49 am

How do I change it to show percentages instead of actual values?
For example, instead of showing “$50 / $200″ it shows “Raised: 25% – Goal: 100%”?

Reply

Paul September 18, 2010 at 1:45 pm

I figured it out. I changed a couple lines in “progress_bar.php” to this:
100%

Reply

Paul September 18, 2010 at 1:49 pm

Pasting code here didn’t work so I pasted the code here: http://paste2.org/p/992654

Reply

Paul September 17, 2010 at 4:20 pm

Also a couple of suggestions:

- An option to show relative dates (e.g. 12 minutes ago / 7 hours ago / Yesterday / 2 days ago).

I implemented this by changing donation_can_nicedate($date) in data.php:
{
$date_string = mysql2date(__(‘Y/m/d H:i’), $date);
$time_string = mysql2date(__(‘H:i’), $date);
$time_string2 = mysql2date(__(‘G’), $date);
$date_data = date_parse($date_string);
$now_data = getdate();

if ($date_data["year"] == $now_data["year"] &&
$date_data["month"] == $now_data["mon"]) {
$difference = $now_data["mday"] – $date_data["day"];

if ($difference == 0) {
$time_diff = time() – $time_string2;
if ( $time_diff > 0 && $time_diff < 24*60*60 )
return sprintf( __('%s ago', "donation_can"), human_time_diff( $time_string2 ) );
} else if ($difference == 1) {
return sprintf(__("Yesterday", "donation_can"));
} else if ($difference < 7) {
return sprintf(__("%d days ago", "donation_can"),$difference);
}
}
return $date_string;
}

- An option for donors to leave a comment when they make a donation that is displayed in the "Latest Donations" widget (e.g. similar to this: http://funds.gofundme.com/ncqc)

- Also did Paypal update their API? If you click on the link above, then click the "Donate" button, and enter an amount, name, email, and comment, it takes you to a Paypal page which looks a lot cooler (looks like it uses jquery) than the one that the Donation-Can plugin directs you to. It's an official Paypal page (the link shows as: https://www.paypal.com/webscr&cmd=_ap-payment&paykey=AP-1543357775837014F) but it's a LOT more user friendly.

(I hope you don't mind me using the links above for example purposes. You can remove them once you've seen them if you prefer).

Reply

Marc D - Tjoonz September 29, 2010 at 1:05 am

Hi, I like to chime in with the request for being able to edit/remove donations.

Since one of the payments I received on PayPal got put in Pending mode, I ended up with a duplicate donation after accepting this payment on PayPal. There is no way to delete the pending donation and leave the complete donation!

Also, this may be a bit harder to code, but I’d like to ask the following feature:

I am collecting donations for monthly website hosting fees. Is it possible to make it so, that if there is 10 dollars left for October, and then someone donates 20 dollars, that the 10 dollars that are too much get automatically carried over to November (providing that I already set up several goals/months)? Please? =)

Marc

Reply

John October 3, 2010 at 4:23 pm

I believe this script is broken in PHP 5.3.3. And I could never get the donator list to work at all. Jarkko, can you please look at these issues when you can?

Reply

John October 11, 2010 at 9:55 pm

Also the donation list is also still broken, it never worked.

Reply

John October 11, 2010 at 9:56 pm

Also, how does the callback system work if you are using a MultipleIPN script?

Reply

sam (@duregger) October 7, 2010 at 7:50 pm

wondering about deleting a donation that was mistakenly entered manually?

any help/direction on that?

Reply

Jarkko April 10, 2011 at 7:43 pm

I’m replying late here, but tomorrow, there is a new version (1.5) going live that supports deleting donations.

Reply

Marco October 10, 2010 at 11:59 pm

Hi, I’ve been using Donation Can and it’s quite nice. However I own a .nl domain and therefore users will get a dutch paypal page. How would I go about forcing it to send people to the english paypal page instead?

Thanks in advance,

Reply

Takuya October 13, 2010 at 12:12 pm

I just used the latest version on wp 3.0 and found out followings:

1. Name and description does not support multibyte characters. If these fields contain non English characters, the PayPal payment page shows garbled characters.

2. Even if I change the default currency to YEN, the widget displays in $.

I hope these enhancements will be added sometime in the future. :)

Reply

Jarkko April 10, 2011 at 7:45 pm

The widget is fixed in the next version 1.5 (going live tomorrow).

I will address the multibyte issue in the coming weeks as I plan to go for a more regular release cycle, releasing a new version every two weeks.

Reply

Paper October 13, 2010 at 3:46 pm

It would be awesome to be able to edit or delete the donations in the list. I receive paper donations sometimes and I realized I entered some information wrong and I couldn’t go back and fix it.

Reply

Phyllis Erck October 16, 2010 at 1:59 pm

Is there a usage page for Donation Can?

i.e. something like the usage tab on thispage

Reply

Lisa October 19, 2010 at 5:05 am

Is anyone else having this problem. I’ve activated this plugin and am eager to use it…but keep getting a prompt saying ‘you don’t have permissions to activate this page’. Yes, i’m relatively new at this. Is there something that I must do after activating? Please advise. ..and thanks!

Reply

Schalk November 23, 2010 at 11:04 pm

Hi Lisa
Did you manage? I also get an error message when clciking on the settings via the plugin install page. But it workd fin when I click on the settings in the admin sidebar.
http://cl.ly/3NNd
Now to find the shortcode to get this working on pages.
Regards
Schalk

Reply

Paul November 1, 2010 at 3:39 pm

The easiest to use plugin, but there are still a few parts that need to be fixed, Jarkko, can you contact me please directly?

Reply

Damon November 2, 2010 at 3:44 am

We plan on using this plug in to raise $8300 to build a home for a family in Juarez.

Reply

Peter November 4, 2010 at 4:49 pm

Hello, Does anyone know how to limit the donation can “Fund raising status” report inside the wordpress admin dashboard, only to the administrator level, not to all subscribers of the blog? Also any updates or progress on the editing of the donations? Thanks!

Reply

Dave February 18, 2011 at 6:59 am

I have the same question — why would I want blog subscribers to see my fundraising status? If I can choose whether to display this on the blog, why not decide whether it shows in the dashboard?

Anyway, the best thing I came up with was to go into donation_can.php and comment out line 32 — just add two forward slashes to the beginning of the line:
//require(“model/dashboard/dashboard.php”);

Unfortunately, that makes the dashboard widget disappear for *all* user levels, and I’m sure I’ll have to do the same thing every time the plugin is updated. I’m sure there’s a way to check the user level so you can have it show up for Admins, but unfortunately I don’t have the time to figure it out right now…

Reply

Jarkko April 10, 2011 at 7:47 pm

Good point. I haven’t been thinking a lot about multi-user blogs with many registered users.

I am adding this on my list of features to prioritize. I don’t have a time estimate for when it will be done, but I’ll definitely add this at some point.

Thanks!

Reply

Brad November 10, 2010 at 8:55 pm

I’m trying to test with the sandbox. I don’t get any test email for the donation recipient. What exactly is the IPN url supposed to be? I used a different PayPal plugin before that specified an IPN url, but I’ve read through all the info you provide and don’t see anything. All you talk about is using permalinks that aren’t default. Please help!

Reply

Peter Vandever November 14, 2010 at 10:41 am

I cant use Paypal in Fiji. Can you do a similar plugin for Amazon Payments?

Reply

Mark December 10, 2010 at 5:49 pm

Hi Jarkko,
I have a client who is using your donation plug-in on his site, and asked me if there would be a way to have the person who is donating money also send an HTML e-mail to another person letting them know that money has been donated in their name. I’m not sure where I would insert such functionality, and have had 2 associates look at it as well, and we’re all stumped.

Reply

Rick Bible November 22, 2010 at 9:43 pm

plugin not working anymore. Not on wordpress 3 anyway. Using the shortcode knocks out entire page

Reply

Rick Bible November 23, 2010 at 8:17 am

below is the error in my log
`[23-Nov-2010 06:09:02] PHP Warning: require(/mnt/stor1-wc1-dfw1/375489/505207/www.poweringpeople.org/web/content/wp-content/plugins/donation-can/model/widgets/donation_widget.php/../../../view/donation_form_single.php) [function.require]: failed to open stream: No such file or directory in /mnt/stor1-wc1-dfw1/375489/505207/www.poweringpeople.org/web/content/wp-content/plugins/donation-can/model/widgets/donation_widget.php on line 74
[23-Nov-2010 06:09:02] PHP Fatal error: require() [function.require]: Failed opening required ‘/mnt/stor1-wc1-dfw1/375489/505207/www.poweringpeople.org/web/content/wp-content/plugins/donation-can/model/widgets/donation_widget.php/../../../view/donation_form_single.php’ (include_path=’.:/usr/share/pear’) in /mnt/stor1-wc1-dfw1/375489/505207/www.poweringpeople.org/web/content/wp-content/plugins/donation-can/model/widgets/donation_widget.php on line 74`

Reply

Jan November 23, 2010 at 10:53 am

Hi,

I installed the plugin and get an php error when I open Donations.

Warning: Invalid argument supplied for foreach() in wp-content/plugins/donation-can/model/data.php on line 157

Reply

Schalk November 23, 2010 at 8:53 pm

Hi, I want to add the different features of the plugin, available for te sidebar, in my wordpress page.

Where can I find a list of the available Shortcodes?

Regards

Schalk

Reply

Bill November 29, 2010 at 8:32 pm

Hi, I’m using this in paypal sandbox mode, and when i make a donation, it never registers into the db. I also changed the lines:

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

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

As recommended in a previous post, and that did not help. Is this an issuew with sandbox mode or in general?

Reply

Schak November 30, 2010 at 2:01 pm

Hi, I read that you aim to add the option to delete off-line donations manually. In the meantime, where can i digg in the sql files to delete it myself?

For some reason the add donations feature get stuck and often duplicate donations, which i then need to delete.
regards

Schalk

Reply

Marc December 1, 2010 at 3:09 am

Hi,
On my website I am fundraising for small grassroots sustainable projects. Each project has a page and each project has it’s own Donate button/goal.
What I would like to do is: I am creating an html email to advertise each specific project. On this email there will be a Donate to This Project button. I would like the button to link directly to the paypal donating page rather than link to my website/project page.

Problem is on the email there is no set amount as I have on the project page. However, I do have the option of entering your own amount set for each goal. SO, is it possible to find out what the URL for the paypal page (the enter your own amount option) is? So I can add the link to the Donate To This Project button.

Confusing? Let me know and I’ll try and explain better.
Would love any suggestions. Thanks.
Marc

Reply

LaVerne December 3, 2010 at 2:16 am

When entering a donation manually, I put an incorrect value in the amount. How can I correct it or delete it and re enter? This basic functionality would be very helpful.

Thank You

Reply

Bill December 14, 2010 at 5:56 pm

I must be missing something. I established a paypal sandbox account and I am using that sandbox’s seller email account in the plugin’s field for seller’s email address…. but when I make a donation with my sandbox’s buyer email address… nothing updates on the website.
The buyer’s account is deducted…but nothing is happening on the website

I am using widgets to display the donation info.

There is no IPN number I need to put in? I feel like I am missing something real basic here.

Reply

Bill McCue December 14, 2010 at 5:57 pm

oh…and I am not using default permalinks

Reply

Bill December 14, 2010 at 6:20 pm

ok…If I try it live, it works, it does not seem to be updating the website when using the sandbox mode though (even when using the correct sandbox seller email address)

Reply

Paul January 14, 2011 at 10:56 am

Major problem: when I install the plugin, evry time I try to load a page, I get a “too many redirects” error in my browser. Remove the plugin, works fine.

Help!

Reply

John January 18, 2011 at 9:26 pm

How often does the donation progress update? We’ve received two donations, but the amount displayed still says $0 raised.

I went in and added the two donations we received manually (showing up as offline donations) so the website would display a total, but if there’s a delay before the online donations show up, when they do, it’ll show 2x the correct amount as having been raised, and I see no way of removing or editing offline donations.

Any help?

Reply

Michael January 21, 2011 at 12:02 am

Great Plugin:

I tested out two offline donations, but cannot remove them? So my Goal says that there are two donations, but they are not real because I just added them to test. I just want to remove them so it shows that there are 0 Donations. Also with the two Donations, the progress bar (when used in a template via the donation_can_donation_progress() shows 0%??? The Dashboard shows both of them however?

I can dig and fix it myself, but before I do, I thought I would get your opinion.

Reply

Jason Cate January 22, 2011 at 8:55 pm

Hi there!

I could really use some assistance! I’m getting some sort of error on my blog and I’m not a coder and I don’t need to crash my site. Would you be able to tell me what this means?

Warning: Invalid argument supplied for foreach() in /home2/jasoncat/public_html/blog/wp-content/plugins/donation-can/model/data.php on line 157

Thanks for the help :)

Reply

Luc January 25, 2011 at 7:57 pm

Hello to you Jarko,

I was wondering what is the best way to change the paypal button.gif to a french one. My interest, really, is in translation of this plugin to french. Does one exist or else what is the best way to go about it?

Reply

Tim Lea February 11, 2011 at 9:33 am

Hi there.
I’m trying to get your donate can plugin working on my site. However I don’t want to use the plugin in the widget area but rather install the donate button, description and progress bar for each goal on a donate page. But I just can’t seem to get it working – things aren’t showing up properly… I’m so not technical so I can’t get the shortcode stuff to work y’know, with the display options=true etc… no idea how all that works :-( please help cause the plugin itself is just what I was looking for – if only i could get it working…

Reply

Tim Lea February 11, 2011 at 9:35 am
Philip February 21, 2011 at 9:16 am

Hi, I love your plug-in. Great job!

When my donation can is shown on my web page with my donation goal, (including the paypal “donate” yellow button) there is another “donate” text above this paypal donate button. As I’m trying to conserve space, it’s a redundancy of the word “donate” that I’d love to remove.

Is there a place in the editor I can find to remove the “donate” text. (not the donate button).

Thanks!

Reply

Jason February 21, 2011 at 10:48 pm

I dont know what happen. I had your plug-in working great! then it just stopped updating the site.
Perm links are not default.
I did edit the call back to include the database info, and commented out the include

Any ideas?

Reply

Briton March 18, 2011 at 6:45 am

What version of wordpress are you using Jason? Did you recently upgrade? I’m on 3.1 and having issues as well

Reply

Jeremy Francis February 24, 2011 at 9:45 pm

Hi I used your plugin on another site and I seem to remember that I could upload custom buttons, but when I installed the plugin on a new site I don’t see that option, am I remembering wrong, or did you take out that option? Also in my widget the button image doesn’t display, all I get is text.

Any ideas?

Reply

Verónica Fénix March 11, 2011 at 4:50 am

Hi! Can you update the plugin for to accept donations in more currencies than only dollars??? I use euros.

Thank you so much ^^.

Reply

Jarkko April 8, 2011 at 11:29 pm

I’m not sure if the current version supports multiple currencies yet, but at least in the update coming out on April 11th (next Monday), all currencies supported by PayPal are also supported by Donation Can — also Euros.

Reply

Jarkko March 11, 2011 at 10:16 pm

Everyone, I am very sorry for taking so long to moderate your recent comments, not to mention that I still haven’t answered them.

I have been neglecting Donation Can long enough, and I am now getting back to work on the long due 1.5 update. So, to prioritize my work, I will complete the update before addressing your questions — in fact, I believe the update will fix most of the issues.

I hope this approach works for you, and you’ll like what the new version brings.

Reply

Briton March 18, 2011 at 6:20 am

Any progress Jarkko? Couple issues:

1. Nothing is getting logged (Successful payment since I’m $5 poorer with a test, but it didn’t log in database)
2. Tried sandbox mode… will fake donations show up in the admin area? or no? I’m seeing nothing yet again.
3. I have the latest version as of yet. Not sure what’s going on here……

Thanks jarkko

Reply

Jarkko April 8, 2011 at 11:28 pm

Sorry for not replying earlier, but based on what I saw in your later comments, I think this was an issue with permalinks.

Reply

Steven March 18, 2011 at 2:17 pm

god bless you :)

Reply

jcircle March 15, 2011 at 5:57 pm

If you need testers please let me know. i would be glad to test and let you know how it goes.

Reply

Jarkko April 8, 2011 at 11:27 pm

Thanks for the offer. I’ll think about using a better testing team in future versions but now I think I just need to move fast and release the version when it’s ready — meaning right after this weekend :)

I’ll get in touch when I have my testing routines figured out.

Reply

Tomas March 16, 2011 at 3:22 am

Hi Jarrko,

Looks like a nice plugin but for the life of me I can’t get this to work. I’m new to Wordpress and trying to find detailed instruction on how to embed the form into a page but everytime I followed the link, it toook me to a dead end. I don’t want to use PayPal I’m just trying to use this for people making a pledge, but still like the progress bar and donation list.

There was someone back in 2009 who was looking for a version of this as well.

Hope you can help.

Thanks

Reply

Jarkko April 8, 2011 at 11:25 pm

Hi Tomas, I’m not sure I follow exactly what you’re trying to do but here are some pointers:

1) In the next version going live on Monday, there will be a button on the post / page editing page in WP admin that lets you embed a donation form.

2) Using Donation Can without actual payments sounds like an interesting idea. I haven’t done any work on that and I don’t know if / how it will fit in the grand plan of the plugin, but I’ll think about it when planning next versions.

Cheers!

Reply

rick March 16, 2011 at 11:09 pm

Is it possible to show donors list and what their percentage is of the total donation amount? For instance, 1000 dollars total received and one donator was 100 dollars, therefore 10%. Can this ‘analytics data’ be password protected? This would be along the lines of a family investment for a biz venture.

thanks!
rick

Reply

Jarkko April 8, 2011 at 11:22 pm

Good idea, Rick. I’m planning to add some analytics data on the admin side so it’s very good to hear these actual needs from you guys.

Reply

Briton March 18, 2011 at 6:38 am

Anybody awake this time of night? I’ve gotta go live tomorrow… and reallly don’t want to stray away from this plugin after all the customizing i did.

See my comment above for details…

Payments are being accept by PayPal. I’m received emails from paypal, but I’m not getting email notifications from donation can.

Nothing is getting logged in the database

And nothing is showing up under donations

Reply

Briton March 18, 2011 at 6:42 am

I’m on Wordpress version 3.1 … is that a problem?

Reply

Jarkko April 8, 2011 at 11:20 pm

I tested the plugin on WordPress 3.1.1 today, and everything is working fine.

Reply

Briton March 18, 2011 at 7:55 am

So I read this article

http://www.james-vandyne.com/2009/08/process-paypal-ipn-requests-through-wordpress/

Saw your comment in callback and I realized that Brian up above may have been right by stating that you have to have IPN turned on and use the URL of http://WWW.YOURDOMAIN.COM/?donation_can_ipn=paypal

Reply

Jarkko April 8, 2011 at 11:14 pm

Sorry for being so slow to respond to your comments / questions, folks… But no, to my knowledge you don’t need to specifically enable IPN. The form the plugin posts to PayPal sets the IPN functionality on a “per-request” basis.

The real issue is that PayPal doesn’t allow the IPN callback URL to have GET parameters in it, which is why ?donation_can_ipn=paypal doesn’t work.

This is explained somewhere earlier on this thread of comments (I know it’s hard to follow with so many comments and all — I’m working on writing a better FAQ and other instructions), but the trick is to set your blog’s permalink settings to something else than the defaults. Most bloggers do this anyway to get nicer URLs as well as some SEO benefits.

In the next verion (1.5) which will be released in just two days from today, Donation Can won’t let you use itself unless you setup your permalinks properly. ;)

Reply

Briton March 19, 2011 at 4:18 am

Found a much better plug-in (sorry Jarkko =\ but you’ll find it’s much simpler as well)

Requirements:
- You’ll need at least a premier acct (it’s free and rates are better… not sure why anyone uses personal)
- You’ll need to request API signature from your paypal acct. This will give you 3 items: API Name, Password, and Secret Key
- Download PayPal Target Meter plug in
- Make sure your hosting server supports cURL

Benefits: You can have multiple sources of paypal buttons (facebook, other sites, etc). It doesn’t matter. It will always show the updated amount minus fees, so it’s as accurate as possible.

If you have any questions, email me at BritonSmetzer@gmail.com

Reply

Philip March 23, 2011 at 6:56 pm

Hi Briton,

Jarkko has put a ton of work into her plug in and has added upgrades/options at her own cost w I’m sure very little donations to her for her work.

I’m glad you found another option that seems to work for you but I’d suggest reserving judgement on what’s “much better” to the end user. We all have different needs for our donation plug-ins…and Jarkko’s is working fabulously for me and I’m looking forward to her next version.

It’s easy to forget it’s the generous time of people like Jarkko that make our wordpress sites so wonderful…

Reply

Jarkko April 8, 2011 at 11:19 pm

Thanks, Philip! I’m a guy, btw, but that’s not relevant here. Good to hear that the plugin works well for your needs!

Reply

Jarkko April 8, 2011 at 11:18 pm

Thanks for the tip. I’ll definitely need to look into this PayPal Target Meter plugin (so I can make mine better than it is ;) )

I haven’t looked into this Target Meter plugin yet, but I believe what is special about Donation Can is that it supports *multiple* donation goals. That is actually the very need I created the plugin for in the first place — and I know many people are using it specifically because of that feature…

Reply

Alice March 24, 2011 at 4:37 am

Hi Jarkko,

We just started using your plugin. Is there a way to display the donor names on the external pages (not just under the “donations” category in admin)? Also, can you edit manual donations, or do you need to go through mySQL only?

Once we figure out the bugs, we are going to donate for this very good plugin. Here’s the section of the website where we’re using it to sponsor teams in a fundraiser:

http://www.camptobelongoc.org/index.php/amazing-race/the-amazing-race-teams/

Thanks,

Alice

Reply

Jarkko April 8, 2011 at 11:09 pm

Hi Alice. There is a new version coming out next Monday (April 11th) with a fix that lets you show the names of donors also on the site.

Editing manual donations is not supported in the next version yet, but it lets you delete donations so you can add them again (a bit clumsy, I know, but it works — editing will be added in some version soon too).

Reply

Josh March 25, 2011 at 8:41 pm

Any chance of changing this forum layout so the newest posts are at the top instead of the current set up.

Reply

Jarkko April 8, 2011 at 11:06 pm

Good idea, Josh. I’m planning a redesign for this page right after the next plugin release on April 11th. I’ll do this change in the redesign as well.

Reply

Alex W. April 3, 2011 at 7:14 pm

Boy, this plugin looks like exactly what I need—very well thought out and designed! Unfortunately, it seems to somehow affect my permalink settings to turn all my posts into 404 pages whenever it’s active. (De-activating it and refreshing my permalink settings in the Admin is the only way to get them back.) :( But hopefully the next version that will come out will fix that. I’m really looking forward to using it. Thank you for such a great contribution to the WordPress community! :D

Reply

Jarkko April 8, 2011 at 11:05 pm

Hi Alex, I have never seen this happen on my test blog… Which version of WordPress are you using, and what kind of permalink settings are you using?

I’m releasing the next version next Monday (April 11th). It has a lot of improvements to the internals so I guess it’s worth testing if it helps. If it doesn’t, I’ll try to get this issue fixed for the one after this one (planned to be released two weeks later).

Reply

Alex W. April 9, 2011 at 9:20 am

Hey Jarkko!

That’s exciting that it’s coming out so soon. Great news! :)

I’m using Wordpress 3.1.1 and my permalink settings are Custom Structure “/%postname%/”. My Wordpress install is running the Webcomic plugin using the Inkblot theme. This plugin uses a custom post type for the webcomic pages, if that helps, and I believe those pages were the ones that turned into 404 errors when Donation Can was activated. Could a custom post type cause any issues?

Also, just FYI, I was getting the error on a local install of Wordpress, I didn’t try to install it on my live site, but the externally hosted site is essentially identical to my local install.

I hope that helps!

Alex

Reply

B November 17, 2011 at 3:49 pm

I’m having the same exact issue!

Reply

Mega April 8, 2011 at 4:18 am

How about a time limit and a countdown for the number of day to meet goal?

Reply

Jarkko April 8, 2011 at 11:01 pm

This is an interesting idea, I suppose you mean something like what they have at Kickstarter.com?

I’m listing this down on my wishlist for future releases and let’s see if / when it will make it to a live version… :)

Reply

Mega April 11, 2011 at 3:34 am

Yes, that’s exactly what i meant. Hope it will be added to later updates.

Reply

quiet0ne April 9, 2011 at 6:58 am

Thank you for this wonderful plugin. The web developer in me sends e-hugs for making it so easy to update the stylesheet!! I was able to seamlessly integrate the plugin to the rest of my templates.

I’m using it on a Boxer dog rescue site that will be launching in a few days.

Reply

Gregoire April 11, 2011 at 5:11 am

The plugin is awesome, I give you that, but I just happened to update to the newest version as recommended and it trashed all my database of donations – everything is gone! I thought never mind since I have all the records in paypal, so I tried to update the total amount using a manual entry “add a donation” from the dashboard and impossible… nothing comes up!
*sad*

Reply

Jarkko April 11, 2011 at 6:48 am

Hi Gregoire! That’s terrible. I’m very sorry for this.

In my testing, this has never happened to me, so I need to ask you for more details in order to figure out what went wrong in your update…

So, a couple of questions:

1) What version did you have before updating?
2) What WP version are you running?
3) Can you check the database to see if the donations are still there? (I’m wondering if it’s just Donation Can that is not showing the donations — if that was the case, we could recover your lost data somewhat easily…)
4) When you click “Add a donation,” do you mean you get an empty page? Or some error message maybe?

And if you can think of anything else that could help in tracking down the problem, let me know and I’ll do my best to fix this.

Reply

Gregoire April 11, 2011 at 8:10 am

Hi Jarkko,

It’s now fixed!… but no idea what happened… so sorry for the trouble!
I did the update and the donation data were all gone. Then I tried several time to enter a manual donation which didn’t show on the screen, even by clearing the cache and history. So I deactivated the plugin and reactivated it a while later and it was all showing again, including all the tries I did manually.

I appreciate your earlier concern, it’s very kind of you. Your plugin helps me gathering fund for a Children charity in Kudat, Malaysia – and Donation Can is really simply doing what we expect – excellent work!

Thank you! :)

Reply

Jarkko April 12, 2011 at 9:40 pm

This is great news, Gregoire!

I have figured out the issue, pretty simply, in WordPress 3.1, they changed WordPress’s functionality so that the function I had used for upgrading the database structure didn’t get called at update time anymore. Deactivating and activating the plugin again still calls the function, which is why it helped.

I am committing a new release tonight, although for you this shouldn’t have an effect anymore as after doing the deactivate/activate process you already have the right version of the database.

Also, it’s great to hear that Donation Can is helping in gathering funds for a good cause!

Reply

Bhavana Kalam April 11, 2011 at 10:35 am

I have updated new version of donation can and trying to add offline donation.
Its not adding donation and also its not showing progress bar also. I am using short code
on home page with code

Website – http://www.fivemilliondollardonation.com/

Not showing progress bar. Please help me. My project is in final stage.

Reply

Maximiliano Lobos April 11, 2011 at 10:03 pm

After the automatic update of this plugin, my list of donations dissapeared. I am still receiving new donations and the new ones are not being counted. Everything was all right untill the latest update… now my donation count is in $0… all donations have dissapeared in the donations section, and I am really worried.

Reply

Jarkko April 12, 2011 at 7:44 am

Hi Maxiimliano, if you look at the comment above, Gregoire seems to have had the same issue with this update, and for him, after reactivating the plugin, it started working again. I don’t know why this is happening to some users yet, but because of Gregoire’s experiences, I’m quite sure the data isn’t completely lost.

To fix this issue, I will need some additional info (as it’s not happening on any of my blogs that I use for testing the plugin).

If you can answer these two questions, that would help a lot:

1) What version did you have before updating?
2) What WP version are you running?
3) Are you using any caching plugin, etc. that might have an effect on the plugin?

Reply

Marc April 11, 2011 at 10:25 pm

Hi Jarkko,
Same thing happened to me.
I deactivated and reactivated and now at least I can see the donations on the dashboard but on the actual donation page it is giving me the total number of donations to the various projects as the donation amount, in other words much higher than the actual donation goal for the particular project.

Also, the progress bar has disappeared!

Thnaks,

Marc

Reply

Jarkko April 12, 2011 at 7:47 am

Hi Marc!

I’m trying to figure out what’s going on, so I hope you don’t mind me asking for clarification: do you mean that by reactivating, you got all the donation lists working in your wp-admin?

Also, I have an idea that might help with the progress bars. Are you using widgets or shortcodes? If you are using widgets, going through the widgets and clicking save on them again could make them work right again. With shortcodes, can you double check that they are correct so I can rule that option out for possible cause of this problem…

Thanks!

Reply

Music Download Blog April 12, 2011 at 1:05 am

Can you please upload the previous version? This new v1.5 wiped out all my historical data. Adding offline donations doesn’t work. Basically I want the old one back. Can you please release 1.4.6 I believe? Thanks!

Reply

Jarkko April 12, 2011 at 7:53 am

Hi! Have you tried deactivating and reactivating the plugin as some others have done above with good success.

I am committing a new tag out of the previous version so you can download it as an emergency approach, but my focus is on the new version so I’d love to rather figure out the issues and fix them than revert back to previous versions.

So, if you can test the deactivation approach proposed above first and let me know how it goes, I believe in the long run that would be a better way to go around the issue.

Reply

Free Electro Mixtapes April 13, 2011 at 3:40 pm

Hi Jarkko,

I tried your suggestion, this did indeed work. It doesn’t seem to have preserved my custom CSS though, so I had to go in and hack the plugin again. If you take a look at my site (any other page than the homepage has your donation can) you can see that I’ve tried to really make the plugin blend in with the style of the site.

I’m pretty confident the technical side of your plugin is solid. I hope that future releases will give people more flexibility to change the looks of the plugin. I have no problem with hacking it, or writing CSS somewhere. But having a nice interface would make it more accessible to people who can’t or don’t want to do that. One of the major disadvantages of hacking plugins is that when you update you have to do it all again.

I’m keeping 1.5.0 now (I see you released 1.5.1) until there are slightly more major improvements. Thanks for your time, and keep up the work!

Reply

Jarkko April 13, 2011 at 5:11 pm

Your customizations look really good!

And I have good news for you: the next release will be all about customization / styling of the widgets. I’m planning to release it in two weeks, if everything goes well. Fingers crossed ;)

Reply

Maximiliano Lobos April 12, 2011 at 2:45 am

Please upload the previous version. This is getting me in serious trouble. your version 1.5.0 is a mess. I will donate you happily if you restore to the previous version.

Reply

Jarkko April 12, 2011 at 7:57 am

Hi Maximiliano, I’m really sorry for this, and I will upload the previous version to WP.org as soon as I have some small break from watching my kids… But while waiting, please try to do what the few commentators above (e.g. Gregoire) have done to get the plugin working. (See my earlier response to your other comment for details)

Reply

Jarkko April 12, 2011 at 10:59 pm

Donation Can 1.5.1 is now available at WordPress.org. This version should fix the problems with donations not showing or being saved.

Reply

IL Dobe Rescue April 12, 2011 at 3:08 am

Please fix ASAP! Same as mentioned in other posts, no donations can be added.

Reply

Jarkko April 12, 2011 at 7:58 am

Yes, I’m trying to — the problem for me is that on my test blogs, everything is working just perfectly.

Please try deactivating and then reactivating the plugin.

And if possible, can you answer these three questions for me:

1) What version did you have before updating?
2) What WP version are you running?
3) Are you using any caching plugin, etc. that might have an effect on the plugin?

Thanks!

Reply

Illinois Doberman Rescue April 12, 2011 at 3:46 pm

This was a new plugin download for me, not an update. I am on WP 3.1.1
I have tried deactivating, that did not work. I was able to add 1 donation when I first activated the plugin, but when I tried adding a second, it did not show, and the 1st one disappeared.

Reply

Jarkko April 12, 2011 at 9:49 pm

Hi!

Did you create a new cause before starting to add donations manually? I have been testing the plugin on multiple blogs tonight, and I have no problems with adding donations… :/

Any ideas would help… Thanks!

Reply

Mega April 12, 2011 at 3:52 am

When i clicked the donation button on the sidebar this shown up “No cause selected”

Reply

Jarkko April 12, 2011 at 8:00 am

Hi Mega!

This sounds like there is something wrong with your sidebar widget. This is something I think I might have seen at one point in the development process but thought fixed.

Go to the widgets tab, choose the widget that is not working and save it again. My hunch is that this would fix the donation button. Let me know how it goes as that will help me in figuring out the issues for the next release.

Reply

Mega April 16, 2011 at 7:23 am

I did exactly as you said. Still not working. Also i tried the latest version 1.5.2 and still it doesn’t work.

Reply

Alex W. April 12, 2011 at 6:52 am

OK, so I upgraded to the new Donation Can and tried it on my local install and I have the same issue as before—all my webcomic pages are showing up as 404 Not Found. Other pages show up fine; just not the webcomic pages (which, as I said before, are a custom post type).

Activating and deactivating the plugin does not fix it. Updating my permalink structure in Settings—Permalinks while the plugin is activated does not fix it. The only way to get my Webcomic pages back is to deactivate the plugin, go into Settings—Permalinks and re-enter my permalinks settings (which are simply /%postname%/ ) to update my permalink structure. While the plugin is active, those pages will always show as 404.

If it helps, the Webcomic plugin I am using can be found here

http://wordpress.org/extend/plugins/webcomic/

and its manual is here

http://webcomicms.net/support/manual/

I hope that we can figure this out. I really would like to use your plugin. :)

Cheers,

Alex

Reply

Jarkko April 12, 2011 at 9:03 am

Hi Alex! Thanks for the detailed info! I will look into this right after fixing the latest issues with updating to 1.5.0.

I have a hunch of what may be wrong, so if everything goes right, 1.5.1 will contain a fix for your case as well. Let’s hope so at least! :)

Reply

Alex W. April 12, 2011 at 6:11 pm

Thanks, Jarkko! Please let me know if I can be of any help!

Reply

Jarkko April 12, 2011 at 10:58 pm

Hey Alex, thanks to your report, I found a bug in the way I was handling custom permalink urls in Donation Can. If you upgrade to 1.5.1, both plugins (Donation Can and Webcomic) should work nicely side by side.

Reply

Jarkko April 12, 2011 at 9:01 am

Hello everyone!

Out of the about 120 people who have upgraded Donation Can to 1.5.0 yesterday, five have reported that after the update, they are no longer seeing donations in the dashboard. I’m working on figuring out the cause for this issue and will release a fix as soon as possible.

If this happens to you, it has been reported that deactivating and reactivating the plugin has fixed the issue for some people. Try that first, as well as clearing all your caches.

If this doesn’t help, you can download the previous version from http://wordpress.org/extend/plugins/donation-can/download/

Sorry for the trouble, but rest assured that most likely (based on some commentator’s experiences), your data is not lost. We just need to figure out why it’s not showing correctly.

Reply

Alice April 12, 2011 at 10:20 am

Hey Jarkko,

I’ve updated and temporarily “lost” my information. I was able to retrieve it using the deactivating/reactivating the plugin and I got the information back.
The problem I’m having now is that when I click on the “Donate” button, it sends me to a “missing” page (404 error). The url shows this:
http://www.camptobelongoc.org/index.php/amazing-race/the-amazing-race-teams/team-white-out/index.php/http://www.camptobelongoc.org/donation_can_ipn/start_donation
Am I missing a step?

Reply

Jarkko Laine April 12, 2011 at 11:25 am

Looks like there is a slash missing somewhere in the URL. This should be easy to fix. I’m away from my computer right now, but I can send you a fix tonight if you can wait that long. I think it would be a better solution than downgrading back to the old version – if waiting 9 hrs or so is not too bad of an issue.

Reply

Jarkko April 12, 2011 at 10:56 pm

Hi Alice, I just committed version 1.5.1 to WordPress.org with a fix to this bug — it should be available as an upgrade in a few minutes.

So, if you haven’t downgraded yet, just upgrade to 1.5.1 and everything should be fine again :)

Reply

Alice April 13, 2011 at 12:00 am

Thanks, Jarkko!

I had to go back to the older version as I would have had many people upset at me if I had the website down for that long. I’ll update it to 1.5.1.

Thanks again for working so hard on this! :-)

Alice April 12, 2011 at 10:28 am

One more question, if we download the previous version, do we have to uninstall the current version and will this erase our previous data?

Thanks!

Reply

Marc April 12, 2011 at 9:53 pm

Hi Alice,

I just uploaded and replaced the older Donation Can plugin folder and it worked. All my files and donations are back up.

Good luck !

Reply

Jarkko April 12, 2011 at 10:54 pm

Hello again! Once more, I’m very sorry for all the trouble the 1.5.0 update caused to anyone. I have just committed a bug fix release 1.5.1 to WordPress.org with fixes to the following issues (taken from my readme.txt):

* Bug fix: Database upgrades don’t rely on the plugin activation hook anymore as WordPress doesn’t call that method in automatic updates.
* Bug fix: Better permalink functionality makes the plugin work nicely along with other plugins that use custom permalink structures (tested with the Webcomic plugin).
* Bug fix: Fixed the action url in donation form for index permalinks.
* Bug fix: Texts in donation lists work even without a proper *.mo file now.

As I’m writing this comment, the update doesn’t show in the WordPress dashboard yet, but it should be there in a short while, so whenever you see the update available, make sure to update.

In addition to these issues, some people were reporting problems with adding manual donations. I tested this feature a lot tonight in order to reproduce the reported problems, but couldn’t get the code to break. So, if you are having these issues, please send me as much information on how to reproduce the issue as you can. Otherwise, I don’t have a clue as to where to start digging.

Thank you for your patience, and sorry once again. I am planning a more extensive testing protocol for future releases so that something like this will not happen again.

Reply

IL Dobe Rescue April 13, 2011 at 12:42 am

Still not fixed. Can you email me privately? manda12981@yahoo.com

Reply

IL Dobe Rescue April 13, 2011 at 5:06 am

Does it matter that I have mysql version 5.1?

I have Deactivated – uninstalled – removed database tables referencing donation_can

reinstalled – reactivated

Tables not repopulating in database ??

Reply

Alex W. April 13, 2011 at 8:05 am

Good news! No more 404 pages on my local install test site! Thank you very much for your help and the super-fast turnaround! You’re a rock star!

I’m looking forward to adding this to my live site. I just had a few more questions. The more important ones I’m listing first. :)

1) I entered a valid URL for a logo, but the logo does not show on the donation page. I notice in the comments that there were issues with this before. Has this been fixed?

2) I have a Business account, so I’d prefer to use that (which actually has its own logo) instead of showing/using my email address. Is there a way for me to do this?

3) I tried entering a couple transactions using the PayPal Sandbox, but while the donations went through the sandbox fine, they never showed up in the plugin. I tried it twice. I haven’t used Sandbox before. Should this concern me? Again, I did this with my local install.

4) While all the other CSS classes you list work fine for me within the plugin, I can’t get “.widgettitle” to do anything. Do I need to precede that with something if I wanted to, for example, bold the title?

5) Is there any way to get the Paypal Donate button to float right?

Thank you very much for your help and support!

Alex

Reply

Jarkko April 13, 2011 at 11:02 am

Hi Alex! Good to hear that the fix worked for you too!

Here are answers to your questions:

1) Yep, this is a bug. I was planning to fix it for the 1.5.0 release, but then decided to move it a bit forward as I had some more pressing issues to fix first.

Now with 1.5.0 and its bug fix release 1.5.1 out, I am planning to continue development in two week iterations, meaning that 1.5.2 should come out on April 25th. Unless I get really lucky and the features for that version are completed in less time than estimated, I can’t promise this fix in that version yet. However, I will definitely have this logo issue addressed in the version after that — in a bit less than 4 weeks from today.

2) Right now, no. Supporting business accounts and using the PayPal API instead of callbacks is on my feature wish list, though, and will be added in some future version.

3) There are a couple of possible reasons for this:
- If you run your test blog locally, PayPal cannot call it to inform of the donations, and therefore donations don’t get added
- If your test blog is running on the web but behind something like the WordPress password plugin (like my test blog is), you need to set an exception for the plugin not to block your PayPal IPN URL (http://yourblogurl.com/donation_can_ipn/*)

Let me know if none of these two reasons apply to you and we can figure out what else could be wrong…

4) Looks that the info is outdated and there is no .widgettitle element anymore… Hmm. My next release will be a rework of the widget styling options, so this will change a little at least and I will supply a UI for updating the style, but for now, you can apply your style to the .donation-can_donation-widget element.

5) Sorry, I don’t have time to test the CSS right now, have to make lunch for my kids ;) But I think it should be doable…

Hope these answers help, even though many of the features you are asking for are not there yet.

Reply

Alex W. April 13, 2011 at 6:29 pm

All your answers help me very much, Jarkko. I really appreciate your quick, clear and very helpful responses.

I think I can figure out a way to use the plugin right now even without the logo and with showing my email address to the world, but I’ll be delighted when you are able to make those changes. It will be awesome when you’re able to make use of the PayPal API.

Again, thank you for taking the time to create and support such a useful plugin. I hope you and your kids enjoyed a tasty lunch! :D

Reply

Sweb April 13, 2011 at 11:42 am

Hi, I’m using this plugin since 04/01/11 and it worked seamlessly until this morning, when a lot of warnings on the donation page appears.

I update the plugin, and all the donations were deleted from goals. The donation page show only “0$ raised” but the currency was €.

I can’t add offline donations.

Please help me, the project started 13 days ago and finish on 04/30/11 :(

NB: I’m french so apologies for my poor english

Reply

Jarkko April 13, 2011 at 12:08 pm

Hi Sweb,

This is interesting. A couple of questions might help me figure out what went wrong…

1) Can you post the warnings you get? If you don’t want to post them here, just send them via email to jarkko@jarkkolaine.com.

2) Some of the issues you’re having sound a lot like those I fixed for 1.5.1 yesterday. Which version are you running now, 1.5.0 or 1.5.1? (I’m guessing 1.5.1, but want to be sure…)

3) What happens when you try to add offline donations?

I’m sure we can get these problems fixed before your deadline.

Reply

Sweb April 13, 2011 at 12:11 pm

1)Updating fixed the warnings.

2) 1.5.1

3) I get a message telling the donation have been added. When I clic on “browse donations” I can see any one !

Reply

Sweb April 13, 2011 at 11:51 am

I think the shortcodes don’t work too : When clicking on a donation button, i got a page and “no cause selected” but I don’t change anything.

Reply

Jarkko April 13, 2011 at 12:04 pm

Hi Sweb! Let’s see. Can you post the shortcode you are using?

Reply

Sweb April 13, 2011 at 12:09 pm

Sure, shortcode like [donation-can Goodies], the same for all the shortcodes I used without issue since the beginning

Reply

Sweb April 13, 2011 at 12:13 pm

And the progress bar doen’t appear too. And the currency is wrong, whatever I set on the setting page :(

Reply

Jarkko April 13, 2011 at 12:13 pm

Yep, right after posting my question to you, I went to look at my test blog and realized that I have changed the shortcode format without realizing that I also need to create some kind of tool for updating the codes already in the old format. My bad…

However, if you change the format to this, it will work:

[donation-can goal_id="Goodies"]

Reply

Sweb April 13, 2011 at 12:17 pm

ok so we have found a solution for shortcodes. It even fixed currency. But donations are still 0€, it sounds like the database table changed too ?

Reply

Jarkko April 13, 2011 at 12:25 pm

Well, this is good news :)

The database did change, and the donation code now requires the new database version. In fact, the biggest bug with 1.5.0 was that it didn’t update the database structure if you updated the plugin through automatic updates — which lead to the DB being in the old version while the code expected the new format…

In your case, you should have the new DB version, so I’m not sure what else could be wrong… So, let’s see:

1) Do you see any donations on the donations page / dashboard in wp-admin? If you do, in which state are they?

2) Do you have access to your DB? If yes, could you run the following SQL and post the resulting table: “DESCRIBE wp_donation_can_paypal_donations\G” so I can see if the DB has been updated? While at it, you could also see if the table contains your donation rows… It should, but never hurts to double check…

Reply

Lisa Dayhoff April 14, 2011 at 5:57 pm

We have the same problems that Sweb had after the update. The donations that were previously made for the goal we have active right are not displaying. I’ve already fixed our shortcode problem, but we also have donations that were made which are no longer showing up on the page. I don’t have access to the database on this site, however, so I can’t check for you to see what, if anything, exists in the database where that information should be located.

Jarkko April 14, 2011 at 8:09 pm

@Lisa, @Sweb: I worked with Sweb yesterday and finally figured out the bug that was still left in the 1.5.1 release. This update has been a mess, but it’s finally getting there… I’m doing some testing and will commit yet another quick bug fix update 1.5.2 in an hour or so.

Reply

Jarkko April 14, 2011 at 8:33 pm

Okay folks, a second bug fix release is out. It’s number is 1.5.2 and it fixes two issues:

* One that caused the currency sent to PayPal to always be USD.
* And more importantly, a bug with updating the database.

UPDATE IF you don’t see your donations (and can’t add donations) or use other currencies than US dollars.

If the plugin is working fine for you and you only use dollars, there is no need to update (although you still can update, if you want to).

Sorry again for the trouble.

Reply

Alice April 15, 2011 at 8:42 am

Hi Jarkko,

I updated to 1.5.2 and am having problems adding new offline donations. It’s not taking them at all. It says it does, but it doesn’t show up in the new totals.

Thanks for your hard work!

Alice

Reply

Jarkko April 15, 2011 at 10:01 am

Hi Alice, thanks for letting me know about this bug. Can’t believe I messed up this release too (basically forgot to commit one part of the fix to version control).

I just committed the fix to the 1.5.2 version ten minutes ago, so you should be able to get it by redownloading the version from wordpress.org and copying it over your existing installation.

If that doesn’t work you can also edit the file model/data.php and change where it says “4.0″ to “5.0″.

Reply

Matt April 16, 2011 at 2:12 am

Jarkko,

Great plug in, but I’m still hitting the wall on this problem. I’ve re-downloaded the installation-zip from WordPress and checked that in model/data.php it does say 5.0.

It takes the first Offline entry, but then when I try anymore, no luck.

Do I need to wipe/delete the database before reinstalling. I poked around in mySQL after I deleted and before I reinstalled and the table stayed there. Not sure if it was supposed to do that.

Jarkko April 16, 2011 at 12:16 pm

@Alice, @Matt: Seems I still didn’t fix everything… Working with two small kids running around me and trying to drag me away from my computer apparently does have an impact on my focus. :/

However, after some more testing, I found the bug with adding offline donations. I have a fix, and have committed it to a new version 1.5.2.1. I hope WordPress knows how to handle four digits in a version number so I can reserve 1.5.3 for a real release with actual new functionality. ;)

Reply

Matt April 16, 2011 at 1:41 pm

Jarkko, it’s hugely appreciated! It’s amazing how quickly you were able to take care of all this and the newest version is working like a charm.

Thanks!

Reply

Alice April 20, 2011 at 8:48 am

Jarkko,

As a mom of 4 under 10, I totally understand!! Thanks for your hard work!!

Alice

Reply

Gordon Werner April 18, 2011 at 1:16 am

when I try to configure the widget by clicking on the link in the description of the plugin it gives me the following error:

“You do not have sufficient permissions to access this page.”

please help!

Thanx

Reply

Matt April 18, 2011 at 3:12 am

I had the same misunderstanding. I assume you’re still on the “PlugIns” page. Don’t try to configure it from there. Look down the left column where everything else is. You should see “Donation Can” down near the bottom. Click on that and do all your configuring from there.

Reply

Matt April 18, 2011 at 11:37 pm

Jarkko,

Is the alternate “Thank You” page implemented? I notice that on the drop down on the PayPal default is listed. I was hoping to implement the donations such that after they’re complete it comes back to my page.

-Matt

Reply

Jarkko April 18, 2011 at 11:46 pm

Yes, that dropdown should list all of your pages. One thing that is missing but would probably make a lot of sense would be to have also an option to redirect to the front page… Right now, the list only supports selecting specific pages (or “PayPal default”, meaning no return link at all).

Reply

Matt April 19, 2011 at 5:30 am

Jarkko,

Have you seen/heard of the problem before that nothing’s listed there? I only have the “PayPal Default” option, despite having at least a handful of WordPress “Pages” on my site.

-Matt

Reply