Donation Can
Donation Can is a WordPress plugin that lets you set monetary goals and collect donations to meet them. Donations are collected through PayPal and can be tracked inside your WordPress admin area separately for each goal.
Key features:
- Define goals with name, description and amount of money required to meet the goal. For example “Help me buy a MacBook Pro” or “Save the rainforests.”
- Use WordPress widgets to define how and where the donation forms and progress bars are shown in your blog layout.
- Be notified when someone makes a donation to one of your goals.
- Follow the progress and browse donations inside the WordPress admin area.
- Get a quick glance at the overall status of your donations using the Donation Can dashboard widget.
- Customize (almost) everything.
The Plugin is completely FREE.
Download
Download Donation Can from the WordPress plugin directory.
Feedback
For any feedback, questions or improvement ideas, leave a comment to this page and I will address your issue promptly. Thank you for your help!
P.S. I’d love to highlight some actual use cases on this page, so if you are using Donation Can to collect donations and don’t mind a few more visitors, leave a comment!
*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.
{ 848 comments… read them below or add one }
A really good looking plug-in. Thanks for making and sharing. I’m sure I’ll find use for it.
Thanks, Sampsa!
I started to wonder if this kind of “tipping” is somehow regulatedin Finland. Any idea?
@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?
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.
I’d be interested in a recurring option too! That would be amazing!
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?
@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.
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.
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
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
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.
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!
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!
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.
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.
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.
Awesome… thanks. Looking forward to it.
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!
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’);
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
@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.
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.
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!
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?
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?
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.
@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.
@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!
Thank you so much for your quick answer. I will install the 1.2 version.
I am also definitely interested in a bar, so one can graphically see how much was raised towards a goal
@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.
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/
@Nick: I agree, a comment would be cool! Let’s put that on the future features list
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?
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
@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!
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
Is there a way to include this into a post or a page?
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
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
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
@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!
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.
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
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
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
@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 divdefinition for padding conflicts with.donation_progress‘spadding: 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!
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….
@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.comand 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!
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
@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.
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?
Is there any way you can change the currency from US dollars to GBP pounds?
Dear Jarkko,
Thanks, you’re the greatest! Is there any way you can change the currency from US dollars to euro?
Thanks
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?
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”.
Appreciate any suggestions you may have with fixing this!
i would like to use it with the paypal sandbox, can so can you plz tell me were to make the changes?
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!
great work bro..
but can we add this inside the page? i mean not as a widget in the sidebar?
nice work ….
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.
@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]
@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.
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…
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
@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
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.
@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?
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
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
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
@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!
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.
@Jarkko, makes sense and thanks.
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?
@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?
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!
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.
Delete those comments, really don’t like to clutter up comments like that
Just basically enclose the form with fieldset tag for validation purposes.
@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!
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.
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.
Ok – the Notification URL in PayPal settings should be:
http://yourdomain/?donation_can_ipn=paypal
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
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…
Thanks for this plugin
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?
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?
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.
@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.
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
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
@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)
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
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….!
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.
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
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
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?
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.
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.
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!
I have a same problem.
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.
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
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
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
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.
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.
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!
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!
@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
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.
@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.
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
@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”).
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!
@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.
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 !
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?
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
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”);
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"]);”
Thanks, Alberto! I’ll include the fix in my next update.
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.
I am also having the problem of repeated donation amounts and names showing up. Is this a bug? Is there a fix?
Thanks!
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
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?
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?
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”
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.
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 “/../../…/”
)
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
@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”.
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..
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…
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
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?
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…
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?
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
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.
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
Is there in anyway I can add this on a theme template rather use it as a widget?
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.
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
Hi Danny, I’ll take a look at this for the next release.
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!
Awesome, that’s great to hear! Thank you for the comment!
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?
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.
Whatever happened with Sampsa? I’m having a plethora of issues
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
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.
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?
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.).
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
.
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
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
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.
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.
Hi, i had the same problem, but after i changed permalinks to Custom Structure [/%postname%] this great plugin started to work.
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
Thanks for reminding me of this bug. For now, you should be able to access the settings using a different link.
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
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.
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
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.
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?
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.
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?
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.
This plugin rocks! Thank you so much! Is there a way to add comma’s to the donation numbers?
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!
Thanks, Becky! Sounds like something worth adding to the official plugin.
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
Thanks for the report, Dave! I will take a look at it.
The logo I selected doesn’t show up in paypal payment page.
How do I fix this?
The url to the logo is correct.
Actually, now that you mention, I think the logo feature was never tested. I will fix this one in the next release.
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
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.
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
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
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.
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.
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.
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).
how can i show the donor name and amount of donation, something to display the Donor Recognition Wall.
Thank you
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.
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
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.
Thanks in advance.
Regards,
Dimitri
Note: even if I use: [donation-can server show_donations=true]
so without “” then it is also NOT working.
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).
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
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
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).
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
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
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!
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.
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
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
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.
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.
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.
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.
Hey Jarkko,
The donation list is still broken, it doesn’t work at all.
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.)
Thank you for the summary, Dimitri!
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
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?
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!!
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?
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.
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!
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!
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
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
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%”?
I figured it out. I changed a couple lines in “progress_bar.php” to this:
100%
Pasting code here didn’t work so I pasted the code here: http://paste2.org/p/992654
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).
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
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?
Also the donation list is also still broken, it never worked.
Also, how does the callback system work if you are using a MultipleIPN script?
wondering about deleting a donation that was mistakenly entered manually?
any help/direction on that?
I’m replying late here, but tomorrow, there is a new version (1.5) going live that supports deleting donations.
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,
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.
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.
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.
Is there a usage page for Donation Can?
i.e. something like the usage tab on thispage
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!
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
The easiest to use plugin, but there are still a few parts that need to be fixed, Jarkko, can you contact me please directly?
We plan on using this plug in to raise $8300 to build a home for a family in Juarez.
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!
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…
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!
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!
I cant use Paypal in Fiji. Can you do a similar plugin for Amazon Payments?
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.
plugin not working anymore. Not on wordpress 3 anyway. Using the shortcode knocks out entire page
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`
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
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
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?
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
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
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
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.
oh…and I am not using default permalinks
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)
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!
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?
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.
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
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?
Hi there.
please help cause the plugin itself is just what I was looking for – if only i could get it working…
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
in case you want to have a look
http://rebuildinglivesproject.org/donate/building-rebuilding-lives/
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!
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?
What version of wordpress are you using Jason? Did you recently upgrade? I’m on 3.1 and having issues as well
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?
Hi! Can you update the plugin for to accept donations in more currencies than only dollars??? I use euros.
Thank you so much ^^.
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.
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.
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
Sorry for not replying earlier, but based on what I saw in your later comments, I think this was an issue with permalinks.
god bless you
If you need testers please let me know. i would be glad to test and let you know how it goes.
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.
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
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!
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
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.
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
I’m on Wordpress version 3.1 … is that a problem?
I tested the plugin on WordPress 3.1.1 today, and everything is working fine.
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
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.
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
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…
Thanks, Philip! I’m a guy, btw, but that’s not relevant here. Good to hear that the plugin works well for your needs!
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…
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
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).
Any chance of changing this forum layout so the newest posts are at the top instead of the current set up.
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.
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!
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).
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
I’m having the same exact issue!
How about a time limit and a countdown for the number of day to meet goal?
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…
Yes, that’s exactly what i meant. Hope it will be added to later updates.
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.
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*
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.
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!
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!
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.
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.
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?
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
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!
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!
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.
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!
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
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.
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)
Donation Can 1.5.1 is now available at WordPress.org. This version should fix the problems with donations not showing or being saved.
Please fix ASAP! Same as mentioned in other posts, no donations can be added.
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!
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.
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!
When i clicked the donation button on the sidebar this shown up “No cause selected”
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.
I did exactly as you said. Still not working. Also i tried the latest version 1.5.2 and still it doesn’t work.
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
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!
Thanks, Jarkko! Please let me know if I can be of any help!
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.
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.
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?
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.
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
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!
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!
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 !
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.
Still not fixed. Can you email me privately? manda12981@yahoo.com
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 ??
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
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.
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!
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
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.
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 !
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.
Hi Sweb! Let’s see. Can you post the shortcode you are using?
Sure, shortcode like [donation-can Goodies], the same for all the shortcodes I used without issue since the beginning
And the progress bar doen’t appear too. And the currency is wrong, whatever I set on the setting page
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"]
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 ?
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…
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.
@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.
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.
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
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″.
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.
@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.
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!
Jarkko,
As a mom of 4 under 10, I totally understand!! Thanks for your hard work!!
Alice
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
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.
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
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).
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
Hey Matt, you’re right… It doesn’t list anything on the general settings page… Will fix for next release. However, you can select the page on a per goal basis on the goal page.
Hi Jarkko,
Thanks for this wonderful plugin! I’m about to launch an NGO site from Australia and they are using this plugin for the donations.
I have completed my design and I’ve hard coded the donation form in the theme. The only unique item I’m looking from every donation is the ID of that donation.
But I don’t have enough knowledge of PHP so I’m not being able to combine a custom field with your shorttag.
I crated a support topic here: http://wordpress.org/support/topic/add-customfield-inside-a-plugin-shorttag?replies=1 but no one has replied yet.
The whole site is stuck only for this so I would really appreciate if you could help us with it!
Thanks a ton in advance
Cheers,
Lee
Lee,
Here’s an idea you might have a think about. You can modify the code that the short-tag will generate by looking in the file where it comes from:
../plugins/donation-can/view/donation_form_single.php
In there you can see the php/html that’s being output when you call the short-tag.
If you wanted to customize what happens inside that form based on your own stuff you could define a variable (maybe use an array) before you call the short-tag and then inside this page you could check to see if the variable is set and take action accordingly. So where ever you call the short-tag you’d look something like:
$DC_Args = array(“color” => “blue” , “text-color” => “red”, “bar-width” => 100, …)
[donation-can goal-id="my_goal" ... ]
And then inside the file I mentioned back at the beginning you’d have code something to the effect of
if !isset($DC_Args) { … set default values }
isset: http://www.php.net/manual/en/function.isset.php
That’s a rough idea of how you might be able to customize the plug-in to work for you. Plus it’ll save you the trouble of manually coding a form on your pages. (Which is sounds like you might have already done, but maybe it’ll save you some little bit of headache.)
Hi,
Somehow the new update is not working for me. However, I reactivated my old version 1.4 and it’s all good except for the latest project we posted. Somehow, only $10/#3850 has been donated so far to this project but the progress bar is all filled up and under it it states that the project has been fully-funded.
Anyone have any ideas as to why this is? I am not a programmer nor do I understand php but I can be directed to try a fix
Here is the project page: http://ecodana.com/?p=2553
Marc
Hi Jarkko,
GREAT UPDATE!!! And kudos to your speedy attention to bug fixes.
For future version, would it be possible to add an “anonymous” option to donations? I added in your new donation forms where it lists the donors and have had several donors request that their name be removed. If possible, it would be easier to do this when they make the donation.
Thanks!
Philip
This is a good idea. I’ll add it if not in the next version then in one soon after it
Hi Matt,
Thanks very much for your suggestions. I will definitely give it a go for the next phase of the site development. Right now I’m hoping to find a solution for the shortcode integration. I am sure it shouldn’t be that difficult to integrate the shortcode with the custom field.
The content is already completed so we are trying to get this done now and later work on a more elaborate solution.
http://wordpress.org/support/topic/add-customfield-inside-a-plugin-shorttag
Thanks again guys!
Another option…
I hadn’t quite thought about it fully enough, but you could also just modify the short-tag form, which shouldn’t be too bad. Frankly, if you’re going to implement what I suggested before, you’d be just as quick to do this too. You can read about the format of short code functions here:
http://codex.wordpress.org/Shortcode_API
In the main file in …/plugins/donationa-can/donation-can.php you could modify the function donation_can_shortcode_handler (about 1/3 of the way down the file) to accept more arguments in the parameter array.
That way you could seamlessly integrate some of your own personal fields into the short-tag.
Hi,
Is it possible to add Turkish Lira to the list of supported currencies? PayPal has Turkish Lira support.
Thank you in advance.
Thanks for the request, Oguz! I will add this in the next release.
The update messed up a couple of things.
1. The title of my widget went from to the regular text size.
2. I had the Donate button centered, now it looks a little goofy. (I did expect this one though.)
Just a heads up. I know how to fix it myself, and here I go to do just that…
Love the plugin! I’m not getting rich, but it helps pay for the server.
Code correction:
1. The title of my widget went from H3 to the regular text size.
I have the same problem with the title being regular text!! How did you change it back to H3? I have look everywhere and just can’t seem to locate the answer. Thank for your help!
Got the temporary fix for the widget title. There are 2 issues (v.1.5.2.1):
1. The widget title set by Donation Can is shifted one line below where the title should be.
2. The widget title size is smaller than my theme’s H3.
a. Go to “[Donation Can root]/view/donation_form_single.php
b. On line 21, change the div class from “donation-can_donation-widget” to “sidebar-title”. This will place the title on the proper line at the top of the widget.
c. I then wrapped lines 22-24 in bracketed H3 like this:
<h3><?php if ($show_title) : ?><?php echo $before_title; ?><?php echo $title;?><?php echo $after_title; ?>
<?php endif; ?></h3>
There might be a better way, but this worked fast for me.
IT WORKS!!! Thanks Brad!! You saved me a lot of research!
Thanks for the heads up, Brad!
Right now, I’m working on a complete rewrite of how the style of the widget is defined, so this code is changing as well (and you’ll probably have to redo some of your customization again, except this time, there will be a UI for doing it
)
I’m really happy with how my two default styles are looking, and I can’t wait to share the update with you, but this time I’m doing more testing… Can’t do three bug fix releases after every major update.
Great plugin.
We noticed that Widget is displaying double listing of donations in case if you select Display latest donations check box. List one is before message “Powered by Donation Can.” and contain only listing for current goal (new entries). Normal (5 last donations) displayed after the message in addition. You can use work around (box un-checked) in order to display one list only but it looks like it is not normal functionality. You can see example for it on our site. We left double listing for next couple of days, so you can get idea how it looks like.
P.S. We are running on latest version available on Wordpress.
Sorry, It looks like we missed second widget (Latest Donations) and were presenting 2 widgets at the same time. Latest donation for specific goal + 5 last donations. Functionality is OK, please ignore original message.
Hi, jarkko!
Awesome plugin, however now I suddenly get the error:
Warning: Invalid argument supplied for foreach() in /home/www/karaokespain.com/wp-content/plugins/donation-can/model/data.php on line 187
Warning: Invalid argument supplied for foreach() in /home/www/karaokespain.com/wp-content/plugins/donation-can/model/data.php on line 187
In the widget on the WP dashboard. Other than that it seems to work, but I can´t be sure =P
Ok, so nevermind – apparently the problem solved itself
This is a feature suggestion: WOuld it be possible to have each donor’s donations be listed on their Wordpress Profile page, or some profile page that is only accessible to them once they login to Wordpress? I have had some people point out that some donors may not want to have their names publicly displayed along with their names, but they may also want a way to keep track of their donations, without having to go to Paypal.
Great plugin otherwise.
Thanks for the feature suggestion, Josh! This sounds like a good addition to Donation Can, although probably doesn’t go to the top of my priority list just yet… So many things to do to make this plugin rock
Hi,
I need help. When I post a new donation goal it automatically says that the donation goal has been reached and there is no Donate icon. You can see an example here: http://ecodana.com/?p=2553
I am on the latest version of WP.
I tried to install the latest version of Donation Can but it didn’t work for me– so I went back to the 1.4.4 version which was working fine until I installed and de-installed the latest version.
Anyone have any thoughts on this? Please help, I can’t get donations for my projects if I don’t fix this?
Marc
Hey Marc, sorry for answering your comments late. I went to check the link on your comment and at least at first sight, the donation form looks correct. Did you figure out the fix already, or do I need to make a donation in order to see the error?
Are you using 1.4.4 now, or a later version?
Jarkko, we are using [donation-can CMFAgarwood show_donations=true] instead of [donation-can CMFAgarwood]
Does this make sense to you?
I am still using 1.4.4. Will try update again to see if adding show_donations=true will work with the update.
Thanks
Marc
Hey Marc, sorry for the delayed response… Luckily the solution to your problem is easy: using a release from the 1.5.x series, replace “donation-can CMFAgarwood” with “donation-can goal_id=’CMFAgarwood’” and that should do it.
Hi Jarkko,
Great widget! Wondering if you could help me, I tried to read through the comments to see if anyone else had the same issue, but I am not seeing it. I am sure its something simple.
(1) The donate button seems to be going straight to the paypal homepage and not the page that is specific to our donation and our account. Any ideas? I upgraded to a premier account and activated the IPN as someone suggested above.
(2) We have 2 causes setup, 1 that we would like only to display 2 options for donation amounts, but even though we adjusted the settings as such in that cause, the general settings seem to be over-riding it. I tried removing the amounts on the general settings and that removed the amount drop-down all together.
Any thoughts? I appreciate any help you can offer. Or, if you have already answered it in the comments above and can point me to that, that would be great too!
thanks!
Melinda
Hi Jarkko,
I recently updated to Donation Can 1.5.2.1 and somehow it messed up my site (www.kingofrpgs.com); when it was activated, none of the content on my pages or posts would show up. I was still able to view the sidebar which is on all my pages, but in place of the Donation Can link there was this error text:
” View not found in /nfs/www/WWW_pages/jason/kingofrpgs.com/wp-content/plugins/donation-can/view/permalinks.php.php”
I deactivated Donation Can and now the rest of the site seems to be working, but I don’t have any record of my donations and I’d really rather have Donation Can than not have it. Is 1.5.2.1 the latest fix, or is there another version I’ve missed? Any help would be really appreciated!
Many thanks,
Jason Thompson
Hi Jason! You found a bug hidden inside an error message handler
The fix for the “view not found” issue will be included in the next release 1.5.3 (which should be out soon, hopefully next week… working hard on getting it done).
However, the real issue is that Donation Can doesn’t work with WordPress’s default permalink structure (unless you switch your permalinks to something else, payment notifications aren’t received from PayPal, and the plugin cannot record your donations). That’s why I added this error page (which isn’t working that well, it seems…) to tell people that they should update their permalinks before using Donation Can.
I hope this helps!
Hi Jarkko,
How is 1.5.3. coming along?
I updated the permalink structure to /year/month/name, I no longer get that error, but then when someone tries to donate, they get forwarded to the paypal gate but see the following error:
“The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”
Ideas?
Actually, just upgraded to 1.5.3, and the plugin won’t activate: Parse error: syntax error, unexpected T_CLASS in /nfs/www/WWW_pages/jason/kingofrpgs.com/wp-content/plugins/donation-can/model/widget_style_elements/widget_style_elements.php on line 2
Hi Jason!
This is interesting… I haven’t been able to reproduce this problem yet. The line the error comes from contains nothing but a very basic PHP abstract class declaration. Right now, the only thing that comes to mind is if this could be a PHP version related issue. Then again, it could be something completely different, so let’s see…
Hi,
I added the donation can to my site and though I’ve received 8 donations they aren’t showing on the meter, and they don’t show when I go into the dashboard and click on the donations tab. When you donate you are taken directly to Paypal and I’m not sure why it isn’t counting the money….
thank you for the plug-in it looks really great!
sincerely,
Heather
My website is mamaiscomic.com I have the shortcode on a post and the widget on the right hand top. thanks!
Last night I received this:
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
http://www.example.com/donation_can_ipn/paypal/
If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf.
I figured out how to turn on IPN s and used the above address as my notification URL. It’s been hours and I don’t have any donations showing yet (except the ones that I manually added) and in my IPN history it says ‘retrying’ beside all the messages.
I started a major fund drive yesterday and people are making donations but the donation bar isn’t working. Every time I think I’m getting close to figuring it out nothing works.
Paypal has a screen that makes no sense at all about setting up an IPN listener, do I need to do that?
Also, my husband wonders if it’s even automated at all, maybe I’m supposed to go in and manually add all the donations?
thank you!
sincerely,
Heather
Hi Heather, I’m sorry for taking this long to respond. I went to your site and noticed that you are using a different donation plugin now. If you’re still interested in figuring out the issues with Donation Can, just reply to this comment and let’s look into it a bit more.
You shouldn’t need to turn IPN notifications on for Donation Can to work. The plugin sends the IPN notification URL as a parameter to PayPal automatically so you don’t have to worry about its exact format…
Thank you for the app. I do need some help determining where the error on the above site comes from…Please check error in right column:
View not found in /home/ther4576/public_html/savingformyhorse.com/wp-content/plugins/donation-can/view/permalinks.php.php
Thanks,
Christian
Hi Christian,
This is a bug in showing an error message
The fix for the error message is coming in next release (I was hoping to get it out by now already, but I forgot to take Easter into account in my plans…)
However, you can get past it by fixing the settings that are causing the error message (which in turn fails and gives you this view not found error): Donation Can only works with your WordPress permalink settings set to something else than the default option. So, switch to a different permalink structure and everything should work just fine.
Hi I have been using this plug in for a while now and i love it. But recently I have updated my wordpress to the latest version (3.1.2)
and when i try to submit a donation a blank page with this line appears. “No cause selected”.
Any help please
thanks
Hi Alberto! I have a hunch of what might be wrong…
Let me know if this isn’t the case and we’ll hunt for something else. However, my guess is that you are using shortcodes, such as [donation-can some-goal-id ...]?
Update them to [donation-can goal_id='some-goal-id' ...] and that should do the trick.
Thanks , I was using the widget so i just need it to update the widget code
great plug-in
This plugin is great. Works 100% the way it should, LOVE it!
2 Questions – Is there a way to have Paypal require a shipping address? We like to send thank you cards to our donaters. And, is there a way for the message that they can type in to show under the donation?
Thanks!
Hi Amanda! Good to hear that the plugin is working for you!
About your questions. Donation Can used to have a field for requiring a shipping address but I removed it to make things cleaner on the settings page.
I’ll see if I can put it back once I finish the redesign of the general settings page.
Adding a message to donations is something I’ve been considering, and will probably add in some later version. I don’t have it scheduled yet but it will be there at some point…
Is there a way to not display the link (donate button and credit card images)? On specific pages I would like to simply display the Title, description, and progress bar.
I made a 10 sec photoshop job displaying what I would like to try and do here… http://i.imgur.com/DePLI.jpg . But I can’t seem to get the donate button to hide (no attribute to set to false?) It seems to be tied in no matter what display attributes I specify.
Hi Scott! Starting from 1.5.3 (released today), you can define your own custom widget styles — and in them, choose the components and their order as you please. This sounds like something that should be rather straightforward to implement using these new tools.
Hi, I can’t set up Thank you page
Hi Swayb!
This should work in today’s version (1.5.3).
Cheers!
When i click on the donation button it leads to a 404 not found page httm://domain.com/donation_can_ipn/start_donation
The version i’m currently using is Version 1.5.2.1 and the theme i’m using is Mandigo 1.42
hi there!
love donation can- it has been a huge help to our fundraising efforts! we have been using it since last year and now suddenly when donors click the donate button the following errors show up for a few seconds before directing to the paypal page:
Warning: fopen(/f5/gappsservice/public/wp-content/plugins/donation-can/model/../log) [function.fopen]: failed to open stream: Permission denied in /f5/gappsservice/public/wp-content/plugins/donation-can/model/data.php on line 357
Warning: fwrite(): supplied argument is not a valid stream resource in /f5/gappsservice/public/wp-content/plugins/donation-can/model/data.php on line 359
Warning: fclose(): supplied argument is not a valid stream resource in /f5/gappsservice/public/wp-content/plugins/donation-can/model/data.php on line 360
Warning: fopen(/f5/gappsservice/public/wp-content/plugins/donation-can/model/../log) [function.fopen]: failed to open stream: Permission denied in /f5/gappsservice/public/wp-content/plugins/donation-can/model/data.php on line 357
Warning: fwrite(): supplied argument is not a valid stream resource in /f5/gappsservice/public/wp-content/plugins/donation-can/model/data.php on line 359
Warning: fclose(): supplied argument is not a valid stream resource in /f5/gappsservice/public/wp-content/plugins/donation-can/model/data.php on line 360
Any ideas? Thanks in advance!
Hey Chelsea, looks like there is a problem with writing to the donation can log file.
The same issue has probably been there in the past as well, but it just hasn’t shown up because there wasn’t any log writing outside the PayPal callback. In the newer versions starting from 1.5.0, Donation Can saves the donation already when the payment is started, and apparently also does some logging to a file called “log” at that point — that’s where these warnings come from.
The solution would be to grant write access to the file “log” in “/f5/gappsservice/public/wp-content/plugins/donation-can/”
I hope that helps!
Just started using donation can and so far so good. Some would be donors, however don’t want their names shown when they give. Can I just show a total rather than the details of who gave and who didn’t?
Hi Jarkko,
As per my previous entries, we have been humming right along using your plugin just fine after the last major core upgrade.
Recently though, donations have been disappearing from the back-end…that is, they used to show up on the progress bar and in the admin section under “donations” but no longer. I checked with PayPal and all the donations are still there, thank goodness.
Any thoughts on what might have happened and how I can get them to show up again?
Thanks so much!
Alice
Hi Alice!
Do you mean that donations that were already there in the counter and dashboard have suddenly disappeared? That’s very strange… I will see if I can figure out a reason for this, but right now, I have no idea yet.
Hey Jarkko,
I figured out what went wrong…basically it was an issue with my client’s server (database) and the Pay Pal IPN. He was running off of a Windows server (gasp!) and apparently, PayPal doesn’t play well with it. The good people at Events Espresso figured it out as I had also been using their plugin. We now have moved my client’s sites over to a Linux server and should have no problem.
Hello,
Any possible way to implement this as a regular counter instead?
Our visitors will be submitting a form with the number of items they’ve registered. We’d like to make the counter show how many items have been registered so far.
So we’d need to get the form we’ve built using “Contact Form 7″ plugin connecting to the counter script.
Any help/advice would be greatly appreciated.
Thanks.
- Lucille
Hi Great plug in! We would really like to use it however the following warning appears in both the dashboard widget and on the Goals page prior to setting the first goal.
“Warning: Invalid argument supplied for foreach() in /home/XXXX/public_html/wp-content/plugins/donation-can/model/data.php on line 187″
After a first goal has been set the warning disappears even if the goal is deleted and zero goal remain.
Is there a way to fix this? Perhaps with an initial ‘sample goal’ that the user can delete?
We are using Wordpress 3.1.2 multisite with BuddyPress 1.2.8.
Thank you!
C
Hi Clm, I just released a new version (1.5.3) before noticing your comment, so I haven’t addressed this issue yet. I’ll have a fix for it in 1.5.4.
Thanks!
I really enjoy using your Donation Can widget. I am not a “coder” and would like to know how to use the portion of your widget:
You can use the following CSS classes to customize the looks of your donation widget:
.donation-can_donation-widget: the donation widget container
.widgettitle: The title of the donation widget (usually goal name)
.donation-can_goal-description: description of the goal in the donation widget
.donation_meter: Holder for the donation status display (contains the progress bar and textual presentation)
.donation_progress: A container for the donation progress bar item
.donation_progress_container: A container for the bar inside the progress bar item
.donation_progress_bar: The actual bar (fills .donation_progress_container according to current donation progress)
Do you have any screen shots of how these actually work or could you show me how to use these CSS codes in my Wordpress website? If you already explained how to use it already, could you please explain where that is?
Thanks a lot and keep up the great work!!
Hi Charles!
I’m sorry for the rather incomplete documentation… I will definitely work on it more in the near future. However, you might like to try out the latest release 1.5.3 which comes with a complete redesign of the widget customization functionality. (Look for “Widget styles” in the plugin settings and check the two default styles for examples on how I have customized the widget myself).
Good luck and thanks for the kind words!
How do I contact you for paid customization to the Donation Can?
Hi Rob, if you send me e-mail to jarkko@jarkkolaine.com with a brief description of the customization you’d need, we can see if there is a fit
Cheers!
I emailed you. Hopefully you got the specs.
Thanks,
Rob
Can you customize this great plugin for PayPal Adaptive Payments? I want to use it for a Crowdfunding Platform with all or nothing functionality (like Kickstarter).
Hey Paul, thanks for the request. I will look into this — let’s see
Impossible to translate in French these sentences:
“3″ => array(“type” => “progress”, “text-format” => “%CURRENCY%%CURRENT%Obtenu%TARGET%Objectif”),
Nothing happens after refresh page
Broken lines :/
It’s in data.php
Hi,
Is it possible to tweak this plug-in to become a crowdfunding plug-in with the different sums have a perk description next to them (a la Kickstarter)
Thanks
Pixelwala
Yes, actually, this shouldn’t be very hard after the latest release. If you look at the default style “Default vertical,” you’ll see that the plugin already supports showing donation options as a list of links rather than a drop down list. If you add the perks to each link, you are already quite close to what you’re aiming for. An even nicer approach would be to save the perks to the donation cause…
I’ll think about adding this to some future version. It’s not a huge task, but I have to be careful with the plugin’s vision.
Hey Jarkko!
So, thanks to your help, your plugin has been working great on my site.
I’ve set it up so that I will offer to put up an extra page of my webcomic when donations reach $250. And now I have a good sort of problem—the donations are getting close to $250! Yay!
So, when I reach $250, I’d like to be able to do is “reset” the cause back to $0 so that people can start donating for the *next* extra page of my webcomic. Is there a way for me to do this? It seems like it would be a hassle to have to create a new cause every time this happens, particularly if I have the good fortune of having it happen frequently. It just seems like it would be great to reset the counter. Is there a way?
Thank you for your excellent plugin and support!
Alex
That’s great to hear, Alex!
I just read the first 15 pages of your web comic today, and can’t wait to read the next one. Great work. But I won’t donate because I don’t want to have you reach $250 too fast
So, yes, I am adding the option for resetting the donations to my next release (1.5.4).
Cheers!
Yay! That’s awesome! Thank you so much for adding that feature to your next release!
(And thank you for the props for my webcomic! I’m delighted to hear you’re enjoying it.
)
I am working on a donation tracking system for individual fundraisers for a non-profit fundraising bicycle tour called S2SF (Seattle to San Francisco) at http://www.s2sf.org
The biggest thing I would love to be able to do is export the donations to a file. That would be unbelievably helpful! Is there a way now?
I would really love to see some additional fields added as well such as more contact info and an option for remaining an anonymous donor so we know not to post their name on our website.
You have a great plugin going that could be a great help to non-profits everywhere!
Hi Josh!
Exporting data from the database is a feature I have been planning for but still haven’t had the time to include it in any of the releases so far. So, it’s coming…
Right now, if you are OK with fiddling a bit with the database, you can take an SQL dump of the donation_can_donations database table manually… Other than that, I don’t think there is a way to do this right now.
The option for remaining anonymous is coming in the next release. Additional fields is also a nice idea for the future, I’ll see when I can fit it in.
Thanks for the ideas!
Dear Jarkko,
I am working on a website for a non-profit theatre company, and we are using your plugin to collect donations from the theatre’s members. The settings and options could not be easier to follow, but there is an error message that shows up whenever we try to use plugin.
On the sidebar of the page, where the plugin is located, this message appears just over the donation box:
“Warning: Invalid argument supplied for foreach() in /home/kjlegacy/public_html/dreamstreettheatre.org/wp-content/plugins/donation-can/model/data.php on line 307.”
Does that make any sense to you?
Dear Jarkko,
You can scrap that last e-mail. Turned out we did not have all the necessary information filled in. We did, however, find a new inconsistency that we hope you can help us with!
The widget is installed and looks great, but there’s one key problem: the font of the donation box is white, and the background is white, as well! It’s difficult if not impossible to read the text in the box. Are we missing something, here, with the settings?
Hi Peter,
Thanks for letting me know about the foreach error. I’ll be fixing that still tonight for the next release (hopefully ready this weekend).
My guess about the font issue would be that the font color in the widget style (on the Donation Can side) hasn’t been set and it’s now defaulting to one of your site’s styles… I’ll add a default color, hopefully that will do the trick.
Hey Jarkko!
I just updated to your latest version with the cool new widget styles you came up with—and I LOVE it! Very nice!
But I have a couple dumb questions:
1) Right now the title of my cause doesn’t seem to be showing even though in the Default widget the “Title” item is listed. I created a new style based on the Default style and the title still seems to be missing. Is there something I need to do to get the title of my cause to show again?
2) I chose “Options as selection buttons” but they aren’t showing as buttons. Instead they are showing as text links. That’s a bit messy for me. I’d like them to be just radio style buttons with the dollar amount—no need to say “Donate” or be clickable links. I’d rather the person select an amount with the radio buttons then click Donate—I want it to act like the Dropdown menu, but just show all the options at once. How can I do that?
3) Just a suggestion: it’d be great if a user could copy the Default styles and use them to build a new style. Your basic style is lovely and I just wanted to make a few tweaks. Having a “Copy Widget Style” button would have saved me a lot of copy-pasting.
Thank you as always for your awesome plugin!
Alex
Hey Alex, I loved this comment because you just confirmed that I’m working on the right things!
I have an almost finished release (I think if I work hard, I can still get it out this week) that will answer all your needs:
1) This is a bug. It has been fixed and will work in the next version.
2) “As buttons” probably is a bad choice of words here (I guess I’ll need to change it to say “as links”) because the thing that makes them buttons in the second default style really is the CSS and not the option itself.
The option “As radio buttons” is on my task list and I’ll implement it today.
3) I implemented this feature the day before yesterday. Most people will anyway rather tweak the existing styles than create new ones from scratch…
Ah, good! Well, with the ability to reset the donation amount for a Cause also planned, then I have a lot of great things to look forward to in the next release!
Thank you for the quick response!
Hi. I have three issues I’d like some help with. The first is that the widget title isn’t showing ; second is that I would rather use £ than GBP; and finally whenever I save a Cause, forward slashes (//////) are added to the title and description elements in the backend, and these display on the frontend (of course only the description as the title doesn’t show on the frontend. Thanks.
Hi Webby77,
Thanks for letting me know about these issues: I have a fix for the first two coming up in the next release (hopefully tomorrow or Sunday).
Unfortunately, right now, I have no clue about what could be causing the forward slashes — I haven’t seen that happen before… Is there anything special about the title or description you are using?
Thanks!
Hi Jarkko
Thanks for the update – the £ and widget title issue have been resolved which is great.
As for the slashes (I should have said backslashes), they appear in the title and description whenever there is an apostrophe, for example, The council’s buildings would change to The council\’s buildings.
If a cause is saved again by clicking on update cause, the one slash multiplies by two, thus, The council\\\’s buildings. If saved again, is multiplies again by two, thus, The Council\\\\\\\’s buildings.
I hope that helps with what appears a very good plugin. Thanks.
Thanks for the clarification! I think I know now what’s wrong and can fix it soon.
Hi,
I did the last update, now I am not able to include or change causes the causes.
The plugin is very good thanks!
Hey Rodrigo,
I’m not sure I understand the problem. Can you explain it in a bit more detail?
Thanks!
Jarkko,
Thank you for your attention, I solved the problem, I had to reinstall the plugin. I did some modification in the plugin has problem.
I wanted to integrate the plugin with the system MoIP. How much do you charge to develop.
Tks!
Sorry for bad English.
MOIP = http://www.moip.com.br/
Hi Rodrigo,
Sorry for the delayed response. I do take some plugin customization work at USD 75 / hour. Right now, I am quite busy, but if you can wait for a couple of weeks before I get to your project, send me an email and we can discuss the details.
Cheers,
Jarkko
When a subscriber registers on my website, they can see the donation can information including the paypal e-mail address that is accepting the donations. Is this correct? Is it good?
Thanks ahead of time.
Hey Martin,
That’s a very good point. Donation Can doesn’t yet have functionality for defining the user groups / visibility for its functionality. I will add this to the next release (which I’m planning to release in early to mid July).
Thanks!
Hi, I have the latest version and i’m having trouble with the currency. In the general options I select ‘Australian Dollar’ as the currency and save it, but all my donations coming through are in US dollar only. I tried myself donating from another paypal account and there is no way to change the currency to Australian Dollar. Paypal then charges more fee’s to convert back into Australian dollar.
Anyone have any ideas?
Thanks!
Hey Matthew, thanks for letting me know about this issue!
I tested with euros before committing the release, and that seemed to work fine, so maybe there is something specific with the Australian Dollars that is broken in the plugin. I will look into this.
Is it possible to add the donor list on a separate page? So I can create a donor wall…Thanks and nice plugin….
Right now, there is no widget / shortcode specifically for this functionality, but you could probably do it by creating a custom donation widget template style that contains nothing but the donor list and then embedding a shortcode with this style to your page…
I hope this helps.
Getting used to the new upload, a little different, but appears nice!
I cannot get the description to show no matter what I do.
Also, I will ask again… Any chance you can have an option to request shipping info by paypal so that we can send “thank-yous” to those that donate? This would be a huge help for us, as donation can is used several times a day and we have to contact those donors for their address to send them the thank-you and for our records.
Thanks again for such a great plugin!
Also, I realized the widget in the sidebar is not limiting how many donations are being displayed. I have it set to display 10, but it is showing all donations that have been made!
Sorry, disregard the part about the description not showing. That was my fault.
However I also noticed only the last 5 donations are showing under the cause, and no way to make more show up (like there used to be).
I have decided to revert back to the old version.
Hey Amanda,
I’ll answer all your questions in this one comment.
1) The shipping option is scheduled to be added in the next release.
2) That sounds like a bug in the recent donations widget element. I’ll fix it for the next release. Thanks for letting me know!
I’ll do my best to make the next release such that you won’t have to revert anymore.
Thanks for your feedback, and for sticking with Donation Can!
How would I change the color in my donation list widget…right now it’s showing a grey color…see here: http://d.pr/dzTS
Thanks.
Hey Ed,
The easiest way to do this would be to create your own widget style by cloning the default style and then editing the CSS value for text color.
1) Click on “Widget styles” on the Donation Can admin menu
2) Move your mouse over the Default style (first in the list) and click on “Clone”
3) Type a new name for the style in the JavaScript popup that appears and click “OK”
4) Click on the name of the new style to edit its settings.
5) On the “Stylesheet” tab, find the sections that have the “color” property defined. Most likely, the first one is what you need to update, but it may be good to check the others out as well.
I should definitely write better usage instructions for the new (and old) features… But that will have to wait just a bit longer. I hope this will help you forward anyway
Hi, I’ve installed this plugin, but donations made via paypal do not show up automatically, and donations added manually do not appear to be being saved and listed. Any ideas?
Hmm… This doesn’t sound too good… Sounds like a bug I had a while back — it shouldn’t be there anymore, but I guess I should never say never.
Are you using the latest version of Donation Can? And you have created a cause, right? I’ll look into this…
When people make a donation to a 501-C3 group, does the person who donates money get automatic documentation for their tax records?
Thank you, great plug in.
Hi John, I have to admit that I have no idea… I suppose this depends on whether PayPal does something like this automatically or not. It does send a receipt for each donation, but you probably want to check from their documentation if it’s good enough for the tax records.
Donation Can itself doesn’t send any receipt to the person who makes the donation.
Is there support on this plugin?
Hehe, it depends on how you define support
There is one developer guy who tries to keep up with the comments and questions but often responds too slow. But I did answer your comments just now
Cheers!
Greetings,
Thank you for making this easy-to-use plugin available
!
I just have 1 question, how and where do I find the paypal IPN link? I had a previous Donation plugin (before I found this awsome one). My Paypal IPN is using the previous donation link.
Soo, any advices?
Hi Mike,
Donation Can passes the IPN URL to PayPal along with the form data, so you shouldn’t need to specify it at PayPal. Just remove the previous IPN from PayPal and that should be enough.
But if you really need the IPN, it’s http://yourblogurl.com/donation_can_ipn/paypal/
I hope this helps!
Sorry for the delay, but THANK YOU for your help!!!!!
Hello Jarrko,
Great plugin here! I spent quite some time trying to find one that would allow me to offer a variable set amount of donations with radio buttons. Kudos!
One question. I would like to offer an “Other” radio button WITH a textfield for the donor to input how much they want to donate. I know currently there is an “Other” radio button that will take the user to Paypal and allow them to enter their amount there, but I would like to have that done from the website.
Is this possible currently with your plugin? I looked but did not see that option. If not, could that go on your list for a future addition?
Thanks so much and keep up the good work!
Hi Robert, I like this idea. I will add this to the next version.
Dear Jarkko!
Can you help me to add unique label to an each donation sum (value) different from the value?
I mean something like the following:
<input type="radio" name="amount" value="”>
Thanks for your plugin!
[input type="radio" name="amount" value="$sum"][label for "amount"]$sum_label[/label]
Thank you for a great plugin. I am having trouble getting it to work. I have just upgraded my paypal account from personal to the basic business account. When I enter a new cause, it does not save. Nothing happens, the add cause button does not seem to get any response.
Thank you, John
Hi John, I’m not sure why this would happen, but I’ll look into it to see if there is a bug in the plugin.
I downloaded it and activated it. But when I click on the configure settings for my site button, it tells me I do not have sufficient permissions.
Hi Terry! I’m trying to figure out where this error comes from. Could you send me the URL where the link is sending you when you get the error?
Could you include the capability to define the date for when a donation was actually received, when entering donations manually through the dashboard. Sometimes I get donations and do not have the time to immediately log them into DONATION CAN until after some days. When I do enter the donation, the date on which I enter the donation is shown on the front-end as the date the donation was made, which is not correct.
Yes, this makes a lot of sense. I’ll add it to the next version.
Im trying to use your plugin, i saw it on a friends site and really like the simplicity and ease of use
i downloaded the plugin from the wordpress directory but when i click the button to configure the settings i get a message that simply states i dont have sufficient permission to access this page? any help is appreciated
I’ll look into this. Probably one of the links is broken. To get past the issue, you can use the other settings link (“general settings” in the side bar).
Dear Jarkko ,
I am just looking for this plug-in.
I am thankful to you.
I chose Yen (JPY) by “Genaral Settings.”
However, in a widget and Paypal, currency is still “USD.”
Do I need to do other setup?
thanks in advance.
Jun.
Hey Jun, sounds like there is a bug in the plugin. Sorry for that. I’ll fix it soon and release in the next version!
Hi again, Jun!
I started testing this today in order to fix the bug and then realized that actually, what you are seeing is most likely not a bug: the general setting option for currency doesn’t change the currency for existing causes. It only affects causes that you create after changing the option. This is for consistency so that donations made in a different currencies don’t get mixed up.
I hope this helps.
Dear Sir,
I am just looking for this plug-in.
I am thankful to you.
I chose Yen (JPY) by “Genaral Settings.”
However, in a widget and Paypal, currency is still “USD.”
Do I need to do other setup?
Thanks in advance.
Jun.
Hello,
We have the donation can installed on this website (http://www.themightyriverproject.com/). Great plugin by the way.
It seems to be “breaking” the dashboard. What I mean is, it does not ever fully load properly. I really could do without the dashboard widget, but the problem is, it does not allow the other half of the widgets to load properly (or at all). The button “screen options” also cannot be clicked either.
We are running WordPress 3.1.3. We’ve deactivated ALL other plugins to see if its “conflict” with another.
Can y’all help?
Thank you in advance.
Brian
Hi Brian! Can you send me an email to jarkko@jarkkolaine.com with a screenshot of where the dashboard breaks? I think that should help me in figuring out where it breaks. Thanks!
Hey again,
Also curious if there was a way to force those donating to give their mailing address ?
Brian
Right now, no. But as this was already requested before, I’m planning to add this in the next release.
Hi there,
Great plug-in. Everything seems to work and I am notified of PayPal donations to my cause. The problem is it is not updating the progress or adding the donations automatically to the page. Do you know of any reason why this might be? Currently, I have to manually enter the donations from my email and doing it that way shows up as anonymous. Any help would be greatly appreciated. Thanks.
Hi Jarkko,
After doing some further research here is what I come up with. If I go into the log file under the donation bin directory it is writing to the file. This is the error I am getting:
Donation started to robert-taylor-funeral-expenses – Item Number: robert-taylor-funeral-expenses-1309899907
[2011/07/05 09:05:07] Inserted to database. Redirecting to payment provider.
[2011/07/05 09:05:52] IPN notification received
[2011/07/05 09:05:52] item_number: robert-taylor-funeral-expenses-1309899907
[2011/07/05 09:05:52] cause_code:
[2011/07/05 09:05:52] payment_status: Completed
[2011/07/05 09:05:52] amount: 0.01
[2011/07/05 09:05:52] transaction_id: 35M617578P678240N
[2011/07/05 09:05:52] payer_email: email address (taken out for privacy)
[2011/07/05 09:05:52] payer_name: Justin Chadha
[2011/07/05 09:05:52] fee: 0.01
[2011/07/05 09:05:52] time: 2011-07-05 17:05:52
[2011/07/05 09:05:53] Transaction verified –> saving donation to wp_donation_can_paypal_donations
[2011/07/05 09:05:53] Error, no transaction found with item_number robert-taylor-funeral-expenses-1309899907
[2011/07/05 09:05:53] OK
[2011/07/05 09:05:53] Sending email to: email address (Taken out for privacy)
Any idea what could be going on here? Everything else works in the plugin. I am using the latest version of wordpress and php 5 and mysql.
Hi Justin!
The plugin inserts the donation to the database before redirecting the user to PayPal. Then, when it receives the IPN notification from PayPal, it looks up the donation and updates its status. Now, it looks like for some reason the donation wasn’t saved in the first place… This sounds a lot like there is a problem with the database table (wp_donation_can_paypal_donations).
If you have access to your MySQL, you could send me the structure of that table so I can compare it to how it should be. This sounds like a bug in the plugin, although I’m not sure why it’s happening…
Thanks for all the information so far, I’m sure it will help me fix the problem and get the plugin working for you!
How can I remove the Anonymous checkbox? It is not relevant for our site and it adds confusion and clutter. Is there an option or do I have to edit one of the plugin files?
I just added a visibility:hidden in the anonymous php page for now. Seems to work. This just hides it.
The anonymous option is a part of the widget style. While your option does work, you can also do it by creating an alternative widget style:
1) Go to the Donation Can / Widget Styles” admin page
2) Clone the default style by moving your mouse over it and clicking on “Clone”
3) Edit your new style and remove the “Anonymous Donation Checkbox” element by dragging it away.
4) Save, and select the new style in your donation widget.
Nice plugin.
Modified your code as it wasn’t working for me . Now anyone can add this to Pages and to end of post.
Here it is:
It will show title and description.

Ijustutter.com
Oh sorry…
The coding….
People remove the first and last spaces between bracket and ? to use it.
Hey Mrinal,
I can’t see your code. Apparently Akismet removed it completely… :/ If you want, you can send it to me via e-mail (jarkko@jarkkolaine.com) and I’ll see if there’s something that should be fixed in the plugin itself.
Anyway, you can already add the widget to your pages and posts by using the [donation-can] shortcode. You can find a button for entering it next to the media buttons in the page editor. That should do the trick without having to change anything in the code…
Cheers!
Hi and thanks for an incredible plugin! I do have one quick question though.
I’ve setup a custom payment page in Paypal and set it as my “primary”. However, the donation can plugin seems to want to always send you to the default payment page in Paypal.
Is there any way to customize this plugin to direct a visitor towards a custom payment page on Paypal if/when one is setup that way?
Thanks in advance for your help!
Hi Sean, I haven’t thought of this before, but this sounds like something that should be added to the plugin in the future. I’ll add it to my TODO list.
Thanks!
POLL: Does anyone know which one of these two scenarios is better for getting donations?
1. You allow the visitor a few different options to choose from ($1.00, $5.00, $10.00, etc);
2. You simply direct them to the Paypal page to input their own payment.
Any thoughts or data on this? Thought it might be an interesting topic!
This plugin is so gorgeous. I started out using chipin, but that thing is so clumsy and ugly. One problem I am having though is that it’s not recognizing the donations. The money and notes are coming in from paypal fine, but the plugin isn’t adding them. I added them in manually with no problem, but when someone donates through the plugin, it’s not being added. The weird thing is, that I think I was having the same problem with chipin. I’m not sure why this would be happening. Any clues?
Hey Tammy. I’ll look into this. One thing you could do to help me is to check out your Donation Can directory in /wp-content/plugins and see if there is a log file (no extensions, just “log”) there. That file should contain a few more clues on what went wrong. You can send it to jarkko@jarkkolaine.com if that’s OK with you and I’ll take a look.
Thanks!
I would love to randomise what is shown in the widget if you have several donation campaigns going on at the same time instead of having seperate widgets for each campaign. Maybe instead of a drop down a check box interface with the campaigns that will show all campaigns listed down, then if you choose random, it will randomly show only one campaign at random.
Thanks.
Hey Jared! I don’t think I’ll be adding this feature very soon, but you never know — so I’m adding it to the feature wish list and let’s see what happens
Hi… there’s one thing missing which seems to be available on much simpler, less featured donation plugins – the ability to have descriptive text for each donation level. Your plugin does pretty much everything I need, but that’s essential for me, and I’d expect, for anyone implementing donations for crowdfunding. Any chance of implementing this?
Hey Seth! Thanks for sharing the idea, it’s a very good one and I believe many people would benefit from it. I’ll see if I can still squeeze it in the next release. If not, then at least in the one after it
I don’t have a Wordpress site but totally LOVE the look of this plugin tool. Do you have a non-wordpress version or option? Or can you suggest one that looks as clean as this one?
Hi Brandon,
Right now, I don’t have any plans for a non-wordpress version… It would be a great idea, but I just don’t have the time.
Cheers,
Jarkko
This donation can is pretty neat. I am wondering however: How much out of every dollar donated actually goes to the charity or cause we’re donating to? When I want to donate it links me up to paypal to process my credit card/checking acct. Surely PayPal doesn’t do this for free…. or do they?
Yes, PayPal takes a cut of a few percents. I’m investigating other payment processing options as well, but I’m sure they all take a share — that’s their business, after all
how can i make it to auto detect wordpress default language? I am trying to make a multilingual website, but mainly in spanish.
Right now, Donation Can is not fully localized. Most of the code is ready for localization, but I haven’t had the time to complete it yet. I hope I’ll have a chance to finish the work on localization soon, but I can’t make any promises…
Hello,
When I click donate on yor plugin it gives me a Error 404 – Page Not Found
http://i52.tinypic.com/2nap6dy.png
Never mind i assume it was becasue my blog was on a sub domain.
I have recently changed this so this is no longer a prob, it is working right as far as I can see.
I tested and looked al all kinds of donation plugins and this one really is the most elaborate I have seen so far. But I have to join Ronald Soriano’s question about multiple language use. It actually is the only reason so far I haven’t installed it. Nevertheless, so far Donation Can is still the BEST.
That’s good to hear, Serge! I’m going to rise the priority for localization as it seems to be an important feature for a lot of people. The next version 1.5.5 will not include it yet, but the one after it will. Cheers!
Hey Jarkko I was wondering, is there any chance you can change the widget style in your theme instead of going to the widget page in the dashboard?
This is a good question, and I can see the point in it. However, widget styles can be used not only for styling but also to customize the widget for different uses (for example, you could create a donation summary widget or a latest donations widget just by using a different widget style), so I’m not sure how intuitive a top level switch for the style would be…
I’ll think about it, but right now, I think I’ll just stick with the current approach.
Thanks for the idea!
Hi! Lovely plugin…
We’re looking for a plugin for use with WordPress multisite that would give registered users who also receive their own blog their own automatically installed and configured version of something like your exact plugin.
Scenario: A non-profit has a cause and would like to invite the public to raise money for them… but visiting the site, getting their own page/site specific to the cause and directing people to their page to donate.
Any thoughts? Right now we’re doing it using your plugin, but everything manually… creating pages within one install of WP, and creating new “causes” for each person who submits a form stating they’d like to help raise funds.
I am signed in as admin but when I click on settings all I get is a message saying I don’t have permission…
What’s up with that?
Hey RJ,
Which link are you clicking? Can you post a screen shot? The reason I ask is because I’ve been hearing about this bug a lot, but I’m not sure if I have been fixing the right link or not.
It doesn’t have anything to do with permissions… For some reason WordPress prints out that message when an admin page is not found.
Hi,
when i try to ‘update style’ nothing happens and the updates are not saved, please can you advise.
Thanks
I’m experiencing the same problem
Hello,
Thanks for a great plugin!
In have been hacking around to get it working with templates.
Here’s what I have so far (works)
However, it uses apparently the default style. I tried
but this doesn’t have any effect.
Any help is appreciated.
oops, the code doesn’t display. –> http://paste2.org/p/1596839
I figured it out. Was easier than I thought
I added in theme_methods.php the argument to the donation_can_donation_form funtion. Maybe this could be added by default in future releases?
Hi Flo,
Sorry for the late response. That’s a good catch. I haven’t been updating theme_methods.php as much as the rest of the plugin, apparently.
Instead of using the functions inside theme_methods, you could also just do
apply_filters(‘the_content’, ‘[donation-can ...]‘);
inside your template. This way WordPress calls Donation Can’s widget code, and the code stays up to date even if I forget to fix the helper functions.
Hi, I have the admin bar on all the time so your function storeJSONStructureAndSubmit doesn’t work as it submits the first form which is the search in the admin bar.
To fix this I changed jQuery(“form”).submit(); to jQuery(“#poststuff form”).submit();
Thanks, Kode! I didn’t notice this one. Will fix right now.
Just noticed that the input fields (e.g. text field) don’t accept special characters (like German Umlauts ä,ü,ö and ß). Quotation marks (“) end up with a leading backslash.
Thanks.
Hey Flo,
Thanks for pointing this out. I haven’t had the time to finish localization yet, so I’ve missed this stuff too. I’m doing that to the version after the next one — and I’ll probably need to leave this fix to that version too. But it’s coming
Cheers!
When the anonymous check box is displayed, the page doesn’t validate.
Fix: in view/widget-blocks/anonymous.php, change to: http://pastebin.com/0tVgyrtA
similarly the validator doesn’t seem to like the “border” of the paypal button in submit-button.php.
Cool, thanks!
For the people with the language check out problem; add the following line to your submit_button.php :
For one second I thought it was working, but unfortunately I still get redirected to the NL PayPal site! Is there ANY possible way I can get redirected to a US/UK (English) PayPal website?
That’d be very much appreactiated!!
Hi Jarkko,
First of all, I want to say thanks for building (and continuously updating!!) a truly awesome plug-in!
I was wondering if there was a way to be able to grab the number of funders and the total amount donated for a cause, and be able to display that on a page (outside of the actual plugin).
For example, if for cause 1, we have 10 donors and $100 donated, would it be possible to get that information and display on another page? I assume that would be done via a php script in the page I’m trying to display it in, I just have no idea what method or action I would call to get that information.
Thanks for any help that’s possible!
Guillaume
Hi Guillaume!
This comes very late, so I’m not sure if you’re reading this anymore… Anyway, there is a function that you can call, donation_can_get_donation_count(); You can pass the id of the cause as parameter or leave empty to count donations to all causes.
Similarly for the total amount collected, you can call donation_can_get_total_raised_for_all_causes() or donation_can_get_total_raised_for_cause($cause_id).
I hope this helps.
Great donation plugin! I really enjoy the style of it and the way you’ve implemented the administration panel.
A couple of questions:
How does the reset option work? Is it manual? Does it need to be reset manually? Does it reset when the goal is reached? Can the reset value be date oriented – such as weekly, monthly, etc.. ?
Also, I see that HTML cannot be added to the “description” of a cause, or at least when I add it HTML tags display through the widget. I think it would be an excellent idea to be able to include HTML in the description, as I would like to add a image into it.
Thanks again for an excellent plugin! I look forward to its continued development!
Travis
Hi Travis!
Resetting is manual at the moment. A date oriented reset is a cool idea. I’ll think about it
Allowing HTML also sounds like a good idea, although it risks breaking the layout… So, same as with the resetting, I’ll think about this too
Thanks for the feedback!
Hey There,
Is it possible to customise your actual donation form to include extra fields of information form the donor?
Thanks in advance.
Hi Troy,
I have been thinking about this as well. I’m not yet 100% sure about the best way to do it so I haven’t implemented it yet. Probably will at some point. Just not yet
Thanks for the feedback!
Hi,
I’ve just setup WP with your 1.5.4 Plugin.
At Sendbox it woks just fine but at real donation I can’t see any progress at my site, though I got pending payment mail from PayPal.?
Thanks
Hello,
For some reason when we get donations towards a certain goal it doesn’t show the progress once you leave paypal and go back on to the site unless we put the donation in manually on the back end of wordpress. Any help you could give would be so appretiated!
Thanks
I really need help asap. Has anyone ran into this issue and figured it out?
Thanks so much!
Working on rebuilding my non-profit’s website right now and your tool is exactly what I needed. Quick q, is it possible to display multiple campaigns at once? We have several different things that we’re simultaneously fundraising for, and but I only have two sidebar options. Any ideas? Thanks so much!
Hi Craig,
Do you mean multiple campaigns in one widget? Right now, it’s possible by adding several widgets, but not in one widget…
This is a really thorough and professional plugin. Thank so much for developing this. I’m sure the time and effort you have put into developing the plugin has seen much additional sponsorship raised for charities across the globe!
Hi Treehouse,
Thank you very much for this plugin; it is just what I have been looking for!
Unfortunately though, it seems to have lost a bit of functionality with the latest version of WordPress.
The problem? The short answer: you cannot update Widget Styles. After I change settings of a widget style, then click “Update Style”, I am taken back to my homepage. When I take a look at the widget, it is unchanged, and when I go back to settings, they still look like the defaults.
Another (related) problem: also cannot add a new style from scratch. Cloning DOES work though, but it doesn’t help much considering that editing does not work.
Your help would be greatly appreciated!
I’ve got the same problem…..
I cannot save style either…….. Otherwise great plugin!
Hi Michael, Nic, and Sonia.
I’m sorry for taking this long to release a fix for this issue. It’s done anyway, and will come out soon!
This plug-in is saving my life. I run a non-profit. I have zero website experience and needed a way to track donations. One quick q…is there a way to format and automatically send a thank-you email to the donor? If you contact me personally, I’d be willing to pay for this addition. I was using another PayPal plug-in that allowed me to do so, but yours has many more features and is by far superior. Thanks so much and hopefully, we’ll be in touch!
Hi Craig,
Sorry for the slow response. But luckily I have good news for you: this feature is part of the version 1.5.5 feature set, is about 90% completed and will be out any day now, as I finish the next release (1.5.5.)
Thanks so much for a great program. I have a few points which would make use of the program much easier for users:
1) Have a separate field for first and last names
(Makes it easier to send personalized first name only thank you letters.)
2) Have a way to export all the donors, their amounts, time of donation and e-mail address into a spread sheet. In order to do this manually, I had to do some serious spreadsheet jujitsu, which was pretty time consuming. (It would have been easier to do it through the Pay Pal records, but a different person was handling the Pay Pal account.)
3) If people misspell the name of the cause or get creative with the cause name when filling out Paypal, their donation does not register in the Donation Can tally for the cause, even though it does get properly routed to the cause’s account in Pay Pal (Because it is on the cause’s page already).
Again, thank you for creating this!
Thanks for the feedback, K.L. 1 and 2 are something I’ll definitely update in future versions, but I’m not sure I understand what #3 correctly. What kind of misspelling / creativity do you mean?
Cheers.
Hello, l have setup donation can on this website http://face-foundation.com, l made a donation, went thru to paypal and completed the transaction, but do not see if in the backend, its shows zero donations, please help, can’t seem to figure out what l am doing wrong
Jarkko,
Love the plugin. How can I change what is included in the confirmation email?
Thanks
Chris
Hi Chris,
In the next version, there will be a text field for editing the confirmation email template. It’s actually implemented already, just waiting to be released… Any day now
Hello
I was looking for a Donate plug in and as a beginner I found yours interesting. Still, after downloading and filling up the form for the widget, nothing appears in the website. I would very much appreciate your help because I have no programming experience. If I can facilitate thing providing you with information, I will gladly do it.
Regards
Michel Cohen
Trying to make a donation on your website – but the donation link stays on blank page……
Hey Jarkko!
I just wanted to stop by and let you know your plugin has been working really great for me. I really appreciate the features you added such as resetting the donation bar. And I figured the best way to thank you would be to use your awesome plugin to send YOU a donation—which I’ve just done.
Thanks again for your great work and continued support!
Alex
Thank you, Alex! I’m really happy to hear that the plugin is working well for you. Keep up the great work!
Hi,
Thanks for the fantastic plugin! Just wondering, is there a shortcode to just call the progress bar of a particular project, without the donation form? When I create a new widget style, if I only drag over the progress bar it still displays the donation form.
I have looked in theme_methods and tried to add my own shortcode, however it has not worked.
I’d be happy to pay to get a shortcode added.
Thanks,
Jess
Hi Jess,
What you’re doing with the new widget style is exactly how I think it should be done. I’ll see if there is a bug: if you only put a progress bar element into the style, it shouldn’t show anything except a progress bar…
Thanks for reporting this!
Everything about your plugin is awesome, but I need something slightly different.
I wish I needed donations. What I need though are pledges to donate. Right now, there is no money exchanging hands. Donations will come after the event based on how well each person does in the event.
The website is still being developed, but will be ready to launch later this week. Is there a quick and easy fix to your plugin code that would turn it into a Pledge Can instead of a Donation Can? In other words, don’t open PayPal – just choose a pledge amount.
Just tried this plugin out and it seems really good. However, I’m not able to save a new widget style. I cloned the default widget, gave it a new name, and changed what I needed to. Clicked the Save button and it redirected me to my home page, with a blank search query. Every time I hit save I end up here:
http://www.longren.org/?s=
Needless to say, the changes never actually get saved.
Any ideas on why this is happening? Using Donation Can 1.5.4 and WordPress 3.2.1
Hi Tyler! Yeah, there is a compatibility bug with the latest WordPress versions. I have a fix for this which will be released as soon as I finish the rest of the features for 1.5.5. (if you are adventurous, you can download at the development version from http://wordpress.org/extend/plugins/donation-can/download/
)
Hey Jarkko,
We’ve found Donation Can really useful, so thank you!
One question though around recent donations – we have these listed on our website (www.walkamerica.co.uk) but it looks a bit messy. Is there a way of tidying it up so it looks a bit more ordered (like how you do it on this site)?
thanks,
Nick.
Hey Nick, sorry for the slow response. Good to hear that Donation Can is working well for you!
About the formatting:
Basically, you’ll have to do some CSS tweaking. To format the date of the donation differently from the rest of the text, you can change the properties of a span called “donation-date”. Then, you’ll probably want to tweak the list settings a bit (“ul.donations-list” and related “li” elements).
I don’t know if this helps at all… Also, I noticed there is a bug with the ‘ character being prefixed with \ in O’Connor. I’ll have that fixed in my next Donation Can version (which *should* be out soon)
Cheers!
Good job man! Thank you.
Hey Jarkko!
I’m experiencing something strange today at my site. Earlier this week I reset my counter to zero because I had yet again achieved the $250 needed to post a bonus page. Today I’ve received a bunch of donations: $79 so far. I can see them all in my Donations list in the Dashboard. But my counter is only showing $54 and also, strangely, all the donations are being listed in that Donations list as posting “yesterday” even though they all posted today. The time is right, but the date is wrong.
Any guesses what’s happening here? This is the first time I’ve had this issue…
Alex
The good news is that I’m getting more donations. The bad news is that it’s still $25 behind and showing the wrong days (24 hours behind).
Any idea how we can troubleshoot this?
Hi Alex, sorry for the slow response. My hunch is that it has something to do with the resetting of the donation counter (I guess by saying this, I’m not adding much that you hadn’t thought of already
).
Maybe you could check the times of the new donations. Were they made around the same time as you did the resetting? I’ll then see if I can reproduce this issue by making a few resets and donations on my test blog.
Thanks for reporting the issue!
Hey Jarkko!
I reset the counter on 9/25 and started receiving donations again on 9/28. And when that happened, it listed those donations as “Yesterday” in the list even though I was looking at them on the same day I received them. Also, it was off by exactly $25 (which I eventually corrected by manually adding in my own $25 donation).
There’s one other factor that might be influencing things here. One donation I received (on 9/23) was by “eCheck payment” and thus listed as “pending” by PayPal. It cleared on 9/28 (the same day I started receiving donations after I reset the counter). And it was for $25. Could that combined with the counter reset be causing the trouble?
Thanks again for your help—and the great plugin!
Alex
Hmm. I left a lengthy reply to this yesterday but I’m not seeing it here. Has it just been moderated? I’ll try leaving this reply and I’ll see if it shows up….
Gosh darn it, looks like somehow my reply got swallowed by the void.
OK, here is the short version:
I rest the donation counter on 9/25. Started receiving new donations on 9/28. Those donations were off in time by 24 hours and were $25 dollars short on the counter.
Here is another factor that I think might be influencing things.
On 9/23 I received an “eCheck” donation in the amount of $25. PayPal told me it cleared on 9/28—the same day I started receiving new donations. Perhaps that somehow was a factor?
Anyway, hope this helps! Thanks!
Yeah, for some reason, WordPress / Akismet had decided that your comment was spam. Well, I restored it now. I think that e-check actually caused the issue:
Resetting works by saving the latest donation’s id. The ID for the eCheck was created when it was first created, but the money only came in when it cleared. So, Donation Can decided that it was a donation that was made before the reset…
I’ll think of a solution
Thanks for the info, Alex. It helped a lot!
I’m trying to use your donation plugin, but have noticed a few things do not work.
First the widgets, I have it set to display every option, but it does not display “latest donations” then I noticed the other day when someone made a donation they were not added to the donations list.
I added a fake donation to the list and still doesn’t show up in the widget. So something is wrong with the donations list. Any ideas?
Hey Jeremy. I’ll check if there is a bug causing this for the next release.
hi, its normal to wait arround 40-50sec to redirection?
Thanks
In sandbox mode, I’ve seen this happen. If PayPal is acting slow, that would explain the delay. All Donation Can does at redirect is one write to the database and then the redirect. So either it’s PayPal loading slowly, or then there could be a problem with the database setup…
(Just some quick first thoughts…
I’ve no idea to get the plugin working! I’m in sandbox mode and the progress bar still shows nothing!
Changed the permalink structure with no effort, read through the comments but couldn’t figure out how to solve this problem…
Is there anyone outside how could help me? Thanks!
Hey guys! Sorry for the delay with the next release and the lack for responses to your comments. I’ve been quite busy with other work, but wanted to let you know that I’m working on the next version (1.5.5) again.
I’m read through your comments to see if there are severe bugs that I should fix in this release. The number one priority now, however is just to get this release completed. There are some good improvements coming up.
Thanks for your patience! I hope you’ll like what’s coming soon
I just wanted to complement Jarkko on a great plug-in and the support he’s provided on customizing to my specialized needs. He proved to be professional and responsive to my needs. I highly recommend him as a programmer and wouldn’t hesitate to provide him with more coding jobs.
Thanks for the kind words, Rob! It’s been a pleasure to work with you too.
Is it possible to set up Donation Can to use PayPal Web Payments Premium? It would be nice to be able to transfer payments on the site itself if I can.
If this isn’t possible, I might be able to develop this myself if you have any thoughts on how best it would be done. Thanks!
Hi David! I have some plans for adding more payment providers / methods to Donation Can. Before doing that though, I’ll have to do a bit of refactoring as until very recently, the plugin has been developed with mostly PayPal in mind.
I will look into PayPal Web Payments Premium to see what it takes and then give out more info as soon as I know more
Thanks for confirming my assumption that there is at least some need for other payment methods than standard PayPal.
Cheers!
I installed you widget on our site but it is not showing anywhere after I activated it. I am running WP 3.2.1 and Donation can version 1.5.5. I changed permalinks from default to another. When I click on the link in the plugin section to configure settings it gives me this message ” You do not have sufficient permissions to access this page.”
I don’t know how to make it work. Can you help.
Thanks
Kristof, I had the same problem. Logging out and back in worked for me.
Jarkko, I am in the process of adding the plugin to our website and I wanted to give another vote for other payment methods. I noticed the comment in the code where it says it can be extended for other payment providers. Is this ready for use and if so could you explain how to use it? Right now I’m hacking away at the code which I would rather not do.
Thanks!
Hi Jeff,
Actually, there are other places that need to be changed too to support multiple currencies. That comment you’ve found, is just place that I noticed while editing the code for other reasons… I have some plans for how I need to change the plugin to make it ready for changing payment methods, but I haven’t done a complete design for that yet.
So right now, hacking away is pretty much the only way to do it… knowing that once I finally do add the support, the new code base will most likely not be compatible with your changes anymore.
Sorry I can’t offer more info yet…
Hi Jarkko,
I needed a quick and dirty solution for a annual charity run next month, but I can replace it if there is ever a permanent solution. When the time comes I would be happy to help with the iDeal payment provider, which is the most common payment provider in The Netherlands. I also have a Dutch translation of the plugin if you want it.
The problem after installing the plugin which Kristof mentioned is that Donation Can didn’t show up in the admin panel. I tried the link through the plugin page but I also got the message ‘You do not have sufficient permissions’ although I was logged in as admin. Logging out of Wordpress and back in solved that for me.
Thanks again!
Hi Kristof!
Did you try if Jeff’s suggestion below helps with the problem? If not, maybe you can explain a bit more: what do you mean by not showing anywhere? Do you see the settings pages on the WordPress admin sidebar when you scroll down?
To show the widget on the site, you’ll also have to either embed a short code to a post or place the Donation Form widget (on the widgets tab) to one of your theme’s widget slots.
About the configure settings link: I’ve been chasing that broken link for a long time, but now I found it, thanks to you! Fixing it right now, so it’ll be fine in the next version. You can use the link on the sidebar menu for now
Let me know if you need more info!
Hi,
I love you’re plugin, better than anything I’ve seen so far, by a mile.
But something is holding me back…recurring donations.
I see you had plans for this some time ago. Are you still working on this?
Regards
Hi Marlon,
Recurring donations is not among the highest priority items right now, but of course knowing that there are people still interested in it gives the feature a little boost
So, I can’t promise anything yet, but I’m keeping it on the list and most likely at some point will implement it too.
Thanks for the feedback!
Is there any way to take all of the info created with Donation Can and use it to create a donation PAGE, not just a widget in a sidebar?
THANKS!
Yes! Create a page in WordPress, then use the Donation Can button next to the media buttons (it looks a bit like a coin
) to embed a donation form.
I hope this helps!
hey jarko. i’m using 1.5.5 donation can. simple question … on the paypal donation page that comes up when donation is being made, under purpose, it has my charity name, but underneath the name appears a reference phrase/number. i believe this is the reference to my donation can acct. can this reference # be removed from the donor’s page without affecting the plugin/ thanks
steve
Hi Steve,
The reference number is a unique identifier for the donation. It consists of the id of the donation cause and a variable number. I don’t think there is any easy way to remove it from that page, but if it’s security you are worried about, I think this one is rather safe as there isn’t anything the donor can do with this reference number to hack your site.
I hope this helps. Anyway, I will write this issue down and think about it, I could maybe pass the reference number to PayPal in some other way so it doesn’t get shown…
Thanks!
Hello Jarkko,
I am using 1.5.5 and seem to be having an issue with the fundraising progress widget. It doesn’t seem to be displaying anything and honestly I am not sure what it should look like if it was working. I am in sandbox mode at the moment and have done one donation through the sandbox and a couple through the offline entry. You can see the page here http://ayc.thestem.ca/donate/
I have searched the comments and haven’t found any mention of this in the newer versions.
Hi Brett,
The progress widget is actually showing on the sidebar (it’s the green bar you’re seeing
).
Anyway, I am in the process of getting rid of the current progress widget and replacing it with a new style in the normal Donation Widget. I haven’t added the new style yet, but you can create one yourself and use the Donation Widget already now:
1) Go to the styles menu and clone the style “Default” by moving your mouse over the style and clicking on “Clone”. Name the clone for example “Progress Only”.
2) Edit the style you just created, dragging all unnecessary elements from to the widget over to the “palette” on the right side of the widget. This will remove the elements from the widget style. You will want to keep “Title” and “Progress,” and maybe “Latest Donations.”
3) Save the style.
4) Use the Donation Form widget on your side bar: Select your new style from the style drop down menu, set the title of the widget to “Latest Donations” and pick the cause you want to follow (or “Summary (All goals)” if you want count the total progress towards all causes).
I hope this helps!
Hi Jarkko,
Thanks for the quick reply. I should have thought of that myself, doh! Very helpful. Only problem is I don’t see “Summary (All goals)” in the drop down menu for the donation form widget. Also if I clone a style I can’t seem to remove any of the sections from the widget (I am on mac os x lion and i tried in safari and FF). This is more of a convenience then a anything.
I am also having a problem with emails being sent as in they aren’t being sent. Is there a file I have to modify to get emails going out correctly? Or could this be a server config issue?
Do you have any plans on incorporating encrypted transactions?
Thanks,
Brett
Ouch… I promised a bit too much. The “Summary (All goals)” option hasn’t been released yet. I’ll have it in the next release on the 25th. Sorry!
Donation Can uses the default PHP mail() function for sending email, so you should look at your PHP configuration to see if there is something wrong with how the email servers have been set up for your environment. I’m considering adding support for third party email providers at some point, but haven’t had the time yet…
If by encrypted transactions you mean HTTPS, yes, it’s on my list, but I haven’t scheduled it yet.
I hope this helps!
Hi Jarkko,
Thanks for the update and looking forward to the update.
It seems the issue is with donation can as all other email features of wp work. I will take a look and see if i can find anything.
Brett
Hi! Just installed the Donation Can plugin, and when I try to go to set it up, I get one of those “internal Server error” messages. Any idea what might be wrong? Am I missing something I should have in place? Do I need to give specific info to my website host? Not sure where things have gone wrong.
Thanks!
Hi TC,
I haven’t seen this before. It’s definitely got something to do with your PHP configuration, but I’m not sure what. What kind of web host setup do you have? And what PHP version are you running on?
Let’s see if we can figure this out
Hey Jarkko!
I just had another of those e-check transactions that will span a reset. I’ll let you know how that goes with the new update.
I’m encountering another issue. On the Donations tab, if I try to Delete a donation or even if I try to go to Page 2, it brings me to a 404 page. It’s been doing this consistently for a while. I was hoping that the new update would fix it, but it’s still doing it every time. Do you know what might be going on? Is it a memory issue? Is there a way it can be fixed?
Let me know. Thanks!
Alex
Hi Alex,
Actually, the current version (1.5.5) doesn’t contain a fix for the resetting bug yet…
But I am releasing a new one on the 25th — I suppose that’s soon enough for your next reset?
And about the second issue, I noticed that too. It happens when you have moved your wp-admin to some other location than blog-url/wp-admin/. Anyway, it’s fixed and a part of the next update.
Thanks!
Hey Jarkko!
Alas, I think the reset bug will still have time to bite me this time around, but I’m glad a fix is on the way for both issues.
Thanks!
Alex
This is a good plugin. Is it possible I can use it for a wedding website. I want wedding guests to view a gift list and make donations torwards different gifts for our wedding. Towards some plates, honeymoon, towels, etc. So I can have a different donation setup for each item. Is this possible?
You could do very well to rebrand this as a wedding gift list plugin …
Have a grid out put of items with the plugin donate info below each item, and when the item is clicked, the page shows the full item details with the plugin donate in the top left or right or at the bottom of the page. Or they can donate from teh item grid page. It can then in the admin back end, log emails, names and amount donated for each item.
Just an idea.
Hi Simeon! Thanks for the idea!
The wedding gift list you describe is a perfect match with Donation Can.
By creating a cause for each of your wedding list elements, you can track all elements on the list separately. Then you either create one page that contains all of your items, or multiple pages with one item on every page. Basically, you could implement most of the idea you describe even with the current version — you just have to create a lot of pages manually instead of using the plugin to create them.
I’m not sure if I’ll do a full wedding list rebranding any time soon, but I like the idea, and it got me thinking… Let’s see what I can make of it
And congrats for getting married!
Hi,
Thanks for this plugin we are using it for a charity situation. I wanted to double check that the Donation button using this plugin falls under Paypal’s Donation button. The reason I ask is becasue for every £25 we raise paypal is taking £1.05 (~5%) which seem high to me. On reading around Paypal they say that if you go through their site and get the code for the donations button you have lower transaction fee’s.
As we are doing this for charity we really do want to give away as little as possible. So does this plugin just make a normal payment to the email adress OR does it fall under Paypal’s donation button. Thanks
Hi Alex,
Yeah, that sounds a bit high. Donation Can uses the “Donate button” code so it is using the donation pricing. It’s been a while since I read the pricing documentation, though, so I’m not sure what the % should be these days…
Hi
Great plugin. Thank you.
One quick question though on the donations list. I made a couple of donations and got the email receipts etc. without a problem. But when I go to donations list page, I dont see them at all. I have a simple “thank you” page that is linked as a back link from Paypal. Do I need to do anything special on this page to get the return transaction added to the database? Tried going thru the comments here, but couldn’t figure this out. Thanks in advance for any help you may be able to provide.
-Srinivas
I am using Donation Can: 1.5.5 and Wordpress: 3.1.1.
-Srinivas
Hi Srinivas! This is weird. If you get the email receipts that would mean that the notification of the payment has arrived correctly from PayPal and Donation Can has parsed it right. Sounds like there is something wrong with the DB setup. As I am releasing a new version of Donation Can tomorrow, before that, I’ll make a test on a clean WordPress install to make sure it’s not a bug in Donation Can…
I’ll let you know!
I just installed the plugin and I am having problems saving online donations, it doesn’t show up
Hey Allan,
Can you give a bit more info on your setup?
With the current version of Donation Can some links on the admin side (like paging through donations) break if you have WordPress installed in its own directory. Using the admin_url() function instead of hardcoding links to [siteurl]/wp-admin/ would fix this. This would also respect the FORCE_SSL_ADMIN flag.
Hey Aaron!
Yeah, I noticed that too. I am releasing a new version tomorrow, which includes the fix… Thanks!
THANK YOU so much for this! We’ve been wanting a donation widget that would actually have a working status bar for ages, and the only things we could find simply were not useful. This is great.
Now, to find one for a css/html website! LOL
Hey Jarkko,
Did you by chance figure out how to change the language of the landing page of PayPal?
My PayPal account is registered with a Dutch address and therefore it automatically goes to the Dutch PayPal webpage. However, I want people to ‘land’ on the US or UK (as long as it’s English) page.
Please help me out!
Thanks!
Jarkko,
Great plugin! It took me a long time to find the form icon on the post edit page! Anyway…I have elected to use the radio buttons and wanted to know where I could edit the actual layout so they run across instead of vertically on my page. Also, an input form for the contributors name, address, etc. would be good. Or perhaps it’s there by I haven’t found it yet? You can see what I am working with at the indicated website in the /donation page.
Hi, Jarkko.
Thank you so much for this plugin.
I have a question. If there are several causes in a website, can the donations for each cause go to a different Paypal account?
Hi Pedra! Right now, Donation Can only supports using one PayPal account at a time. Setting a different one for each (or some) donation cause sounds like an interesting idea. I’ll have to think about it.
Thanks!
Thanks, Jarkko. This will really be helpful as the money can directly go to the Paypal account of the respective charities (fewer Paypal fees/deductions).
HI, Id like to see this be an option also. I have multiple causes and I’d like to have multiple paypal accounts associated with them Do you think this is a simple thing to do?
Ever since I updated to your most recent version (1.5.6) whenever I try to make a change to a custom widget stylesheet and then “save” the whole stylesheet gets lost.
Sorry… I missed that one when testing the new release. I’ll fix it tonight and try to have the fix out within the next few days as I want to include some other changes in the release too.
Thanks for letting me know!
I just launched a new site, http://www.InNOutBurgerFan.com and have donation can enabled on it.
One thing I noticed is that if the donation total (or the donations themselves) end in a tenth of a dollar (dime) there is no second zero after the decimal point. The formatting is $3.2 not $3.20 for example.
I just donated 9 cents (as your total was $307.01) so you can see the issue on your site now that the formatting has it as $307.1 without the final 0.
My feelings about the formatting is if it isn’t a whole dollar, then make sure there are 2 decimal points, if not then none. For example $307.10 if “cents” are part of the total otherwise $307 if just “dollar” amounts. Of course, some people might want 2 decimal points always to be displayed ($307.00), so maybe an option?
Hi Gerry,
Good catch. I guess I just forgot all about the decimal point… The formatting should of course be $3.20 and not $3.2
I’ll fix this for the next release. And I’ll think about the option for always displaying the 2 decimal points-
Thanks!
2nd request for help — Can you please tell me where and how I would add required fields? Specifically, I need to add “Employer” and “Occupation”. Thank you!
Hi Bill,
Sorry for not answering your earlier comment! I was going through the comments this morning and just as I was about to post an answer to your questions, my kids needed my attention — and so I forgot the comment… :/
Anyway, let’s see if I can help.
At the moment, Donation Can doesn’t support adding custom fields to the donation form. It’s something I’ve been planning to add, but it hasn’t been a top priority, so it’s been pushed forward a couple of times…
And about your other question: you can edit the CSS style of the donation widget by using the widget style editor’s CSS tab (in Donation Can settings). For styling radio buttons, the following CSS classes are useful:
- The radio buttons are inside a div with class “donation-radio-button-list”.
- Each radio button is contained in a div with class “radio-button”.
I’m not sure if any of this helps or not, so feel free to ask more questions if needed
I am running the latest WP update and also the latest Donation Can update. When I try to log some offline donations, nothing happens when I hit the “Add Donation” button. Also, if I select to have an invoice sent to donor when submitting an offline donation, is the same receipt email template used as would be used for sending receipts for online donations? Really want to know whether I should therefore make sure that template is configured with my thank you message etc?
How do I get “Other” for other amount other than pre-specified to show up in the drop down? Seems like a perfect plugin so far though man! Great work!
Am I the only one experience the problem of failing to enter in new offline donations? Need help with this ASAP.
OK, Resolved issue. Donation Can was conflicting with “After The Deadline” Have removed “After the deadline”.
Hi Josh,
That’s good to hear! I’ll install “After the deadline” to my test blog and try to figure out what causes the conflict between the plugins…
Thanks for the info!
I am really loving the Donation Can widget, except I’m running into a little problem with making changes to the general settings. On that page, it isn’t letting me change any of the options on the paypal check-out page.
For example, I tried to upload our logo, a header image (using the max size you specified), change background colors, etc, and none of that shows up. As well, I changed the donation amounts, but that change isn’t showing up on my widgets…
Also, on the Paypal page, it’s only displaying my e-mail address in the header, instead of our organization name. I really need it to show the organization name due to tax exemption stuff.
Wondering if you can help me out with how to fix these problems.
Thanks!!
Hi Cam,
I’m releasing a new version later this week, so before that I’ll double check the check-out page options to see if there could be something wrong in my code
One thing though to keep in mind is that for some reason, the options don’t affect the sandbox page… So to test your changes, you need to be sending the user to the real PayPal page.
I think the e-mail / organization name issue is something you’ll have to change from PayPal’s settings. If I remember correctly, you need to make your account a business account for it to show the name… Now that I’m thinking of this, it could even be that this has an effect on the customization options too (just guessing, though).
I hope any of this helps
Hi,
I’ve been using donation can very successfully for a while, but for some reason it has stopped recording donations! (and sending out notification email.) The money goes through – PayPal collects them perfectly – but donation can records zero donations. I’m using the latest version 1.5.6 and the install worked a few days ago until I tried it again today.
Appreciate any help!
Chris
Hi Chris,
This is weird… Let’s see if we can figure this out. Do you have logging enabled in Donation Can (and is your log file writeable)? If yes, you could send me a copy of your Donation Can log (to jarkko@jarkkolaine.com) so I can take a look. It’s a file named “log” right there in the plugin directory.
Thanks!
Hi,
Ever since I have installed this plugin it hasn’t worked for me. I have the latest version of Wordpress and of your plugin. I have tested the plugin using the sandbox Paypal version, and as well as setting up a real account through Paypal. In the database it’s reading all of these transactions. Please let me know if there is anything that you can tell me to check.
Thanks
Hi Rolando,
I’m sorry but I am not sure I understand how it’s not working for you. So, you say you see the donations in the database — but do you mean you don’t see them on the site itself?
One thing to notice is that donations made in sandbox mode are not displayed when you go are done with testing and switch to normal mode. This could be the explanation for what you are seeing.
So we figured it out. A programmer looked at it and we found out that the name of my Cause was to long! That’s why it wasn’t showing up on my site. So I renamed it to be less than 64 Characters and all the Donations appeared on the Progress Bar. The programmer had found something in the earlier posts and went off of that. You probably knew this already but I guess it wouldn’t hurt to add some code that would only let you name your Cause up to 64 Characters. At least that was what my problem and our way of getting this to work for us.
I just came across your plugin and think it’s very robust and will work well with all of our mended mutts that we raise money for. I have a question regarding the “Add New Donation” section. I’m assumming this is giving us the ability to log checks/cash received for the cause so that this money can show up in the progress meter. Is that a correct assumption? Also, will this manually added entry show up in the donor wall, and if so is there a way to make this particular donor annonymous if they don’t want to be on the wall?
I also have a feature request, and that would be the ability to embed the donation form widget into other websites. We are in animal rescue, and our animals are added to sites like Petfinder and Adopt a Pet. We currently use ChipIn for soliciting donations. I think I would much prefer to have the Donation Can widget showing up on these sites instead, so that all of the data can stay in sync. I’m sure this request is a tall order and not a quick fix, but it would be a really nice enhancement. Thanks for your time.
Hi Stephanie,
Yes, you are right about “Add New Donation.” Donations added through that page are shown just as any other donation on the site. I hadn’t noticed, but that page is missing the anonymous checkbox. I’m making a new release later this week, so I’ll add the checkbox before that
And thanks for the feature request! I like the idea, but as it’s not trivial to implement and set up, I’ll have to think about it some more before making promises. I’m writing the request down to my feature wish list and who knows, maybe it’ll get implemented at some point.
Hi,
Thank you for the plugin. I just installed it and am still exploring it. I’m finding the delay between pressing the “donate ” button to arriving at paypal a bit slow. Is this normal? Do you know why this might be? My site is not up and running yet so unfortunately I can’t send you the link to check it out.
Thanks for your help!
Please! I’m urgently needing to get “Other” for other amount other than pre-specified to show up in the drop down? We are in the middle of a live fundraiser! Thank you in advance.
When you are in your Cause – Donation Options, you have the option of adding new options of set prices, there is a Checkbox that says “Include the option for your visitors to pick their donation sums freely. ” Click that button and you will now see Other in your dropdown.
Thanks, Rolando!
Thank you so much!! Awesome plugin, we have exceeded our goal for our fundraiser and it’s only been a few weeks! http://www.helpspencer.com/
I will be making a donation to you shortly. A million thanks for the top notch programming.
Thanks, Jason! It’s great to hear that the plugin is helping people with important causes such as yours!
Hi Jarkko,
I have been using Donation Can for quite a long time now, and I haven’t paid a single hosting bill since I started using it. It’s great, our visitors help us stay online!
I’m currently in the process of making a new design for Tjoonz.com and I’d like to incorporate Donation Can again. The issue I am having is that since I’m 100% making my custom theme, I’d like to keep the code as clean as possible. Ultimately I’d only like 1 CSS file and 1 JS file. I also want to keep database queries down to a minimum.
For this reason I am trying to contact you directly. You’re quite low on activity on Twitter, so I’ll try through leaving a comment here. I would like to work closely together with you to develop a Donation Can hack that is specific for my site only. I am willing to pay for it.
Please get in touch with me, use the email I provided for this comment.
Thanks in advance!
Marc
Hi Marc,
Yep, I haven’t been nearly as active on Twitter activity as I’d like
I’ll send you email and let’s see what we can do.
I am looking for a reliable donation plugin for our charity website. Donation Can is well thought of and by reading through some of these comments is also well supported. So that’s all good stuff!
I am working on a UK website and would like to add a field so that a user can tick a box to allow us to claim gift aid on personal donations similar to this set up below:
https://www.rednoseday.com/donate
Thanks for your help.
Hi webwitch!
Gift aid sounds like a great idea from your government!
Adding support for custom fields in donation forms has been on my list for quite some time already, but so far I have always been pushing it forward to the future. I will see if I can squeeze this in this week’s version — if not, then the one after it… How tight is your schedule?
When trying to ‘add cause’ it the button doesn’t work on that page at all. My permalinks are not set to default. So if I cant add causes I cant use the plugin unfortunately.
Hi Sean,
Are you by any chance using the “After the deadline” plugin? The Donation Can version currently live conflicts with that plugin, causing the very issue you are seeing. I have made a fix for this, and will release it later this week along with my other updates.
If it’s not this plugin, you could maybe try disabling your other plugins temporarily, just to see if that helps. If it does, let me know the conflicting plugin and I’ll fix Donation Can to work with it
Cheers!
I was yes. I am disabling it until you get your fix out. Thanks.
Also when you will you change the $ amount formatting? (Ex. $1.0 to $1.00)
Hi Sean, that’s also going to be changed in the next version
hello! i am in the process of building a new website, and this plug in is amazing
will definitely be donation once we raise some funds!
quick question — is it possible to embed the same widget on a different website — i know i could just create a new one, but i’d like to be able to show the overall goal and progress.
Thanks again!
Hi Lilia! I’m glad you like the plugin
What do you mean by different website? If the site is hosted on a separate WordPress / other installation, you can’t. But if you mean a different page on the same WordPress site, absolutely, you can add as many widgets as you like.
I hope this helps.
Quick question: In the settings we can select the default page where donors should be directed after submitting the donation. I selected our Thank You page.
The same option is available with the creation of each new cause but it does not reflect my selection of the Thank You page.
Will donors be directed to my Thank You page (selected in General settings) or to the paypal default? I.e. do I have to select it AGAIN?
Thanks so much.
Good question, Maayan! You don’t have to select it again. If you choose the default option in your cause, Donation Can will use the setting from general settings.
Thanks for the question — this is a good way to spot confusing UI designs.
Jarkko,
I really like the plug in. I searched for hours before settling with your design. I am using this on a site we just built. Everything seems to work except donations are not being either displayed or recorded. Is there an issue on my end or a work around. Here is a bit from the error log.
[15-Nov-2011 03:05:53] WordPress database error Incorrect integer value: ” for column ‘anonymous’ at row 1 for query INSERT INTO `wp_donation_can_paypal_donations` (`item_number`,`cause_code`,`payment_status`,`amount`,`transaction_id`,`payer_email`,`payer_name`,`fee`,`anonymous`,`time`,`offline`) VALUES (‘christmas–1321326353′,’christmas-’,'dc_started’,’10.000000′,”,”,”,’0.000000′,”,’2011-11-15 03:05:53′,’0′) made by require, wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, donation_can_parse_request, donation_can_process_start_donation, donation_can_insert_donation
[15-Nov-2011 03:53:32] WordPress database error Incorrect integer value: ” for column ‘anonymous’ at row 1 for query INSERT INTO `wp_donation_can_paypal_donations` (`item_number`,`cause_code`,`payment_status`,`amount`,`transaction_id`,`payer_email`,`payer_name`,`fee`,`anonymous`,`time`,`offline`) VALUES (‘christmas–1321329212′,’christmas-’,'Completed’,’10.000000′,’offline’,”,’Cindy Heifner’,’0.000000′,”,’2011-11-15 03:52:14′,’1′) made by do_action, call_user_func_array, donation_can_add_donation_menu, donation_can_insert_donation
[15-Nov-2011 04:41:56] WordPress database error Incorrect integer value: ” for column ‘anonymous’ at row 1 for query INSERT INTO `wp_donation_can_paypal_donations` (`item_number`,`cause_code`,`payment_status`,`amount`,`transaction_id`,`payer_email`,`payer_name`,`fee`,`anonymous`,`time`,`offline`) VALUES (‘christmas–1321332116′,’christmas-’,'Completed’,’10.000000′,’offline’,”,’Cindy Heifner’,’0.000000′,”,’2011-11-15 04:41:20′,’1′) made by do_action, call_user_func_array, donation_can_add_donation_menu, donation_can_insert_donation
[15-Nov-2011 05:17:19] WordPress database error Incorrect integer value: ” for column ‘anonymous’ at row 1 for query INSERT INTO `wp_donation_can_paypal_donations`
Thanks,
Ken
Thanks for including the error log, Ken! I think I found the problem. I’ll fix it tonight and include the fix in the next version which I’m releasing on the 16th (tomorrow).
Thanks, I appreciate the quick response.
What time?
I just did.
Apparently, there was a bug left in the release. I’m not sure about the % of users it affects (as I didn’t notice it myself), anyway, I’m releasing a quick fix version 1.5.7.1 right now…
That fixed the issue for my site. Thanks!
I have read a lo of these comments but still cant get my widget style to work.
1. I cloned a default style
2. Changed some fields and saved it
3. No how do i use it? Where do i choose what style to apply to the widget? I saw comments saying to choose it from the dropdown but i dont see a dropdown with that option.
thanks so much seems like a great plugin just finding my way around
Hi Rulona,
On WordPress’s widgets page, when you add the donation widget to a sidebar, in the widget’s settings the second drop down should be “Widget style.”
I hope this helps
Thanks found it but still not showing up. Im trying to use the widget in the content area using the short code not just placing in the side bar. Does that make a difference?
thanks!
Hi Rulona,
This should work too, as long as you specify the style id also for in the content area embed code. Did you use the insert donation form button next to the insert photo/media buttons or write the short code by hand?
yup the button on the top works great i wasn’t declaring the style ID OOppps
thanks!!
Is it possible to do subscriptions or recurring donations with donation can?
Hi Tom,
right now, Donation Can doesn’t support subscriptions or recurring donations. In the future, I think they will probably be supported. Not sure when, though
Thanks for the feature request!
Really cool plugin. Small issue for me, we use a multi-user site and when I try to create a cause it will not allow me to click on the save button. Before I start to enter info into the form if I click on save it triggers the error message but after filling everything out I cannot actually save the cause. Any help you could provide would be great.
Hey, I was going through your comments and found some reference to After the Deadline. I solved my own problem but thought I would let you know that the issue I was having and others is a result of the Jetpack plugin for Wordpress. Thanks really cool plugin.
Hey Brac,
Thanks for letting me know! I already completed my work for today’s release (1.5.7), but I’ll test Donation Can together with Jetpack and fix any issues I’ll find for the 1.5.8 release
Cheers!
Hi,
Thanks for a great plugin. I’m sorry if this has already been asked and answered elsewhere… I’m wondering if there is any way to use your plugin to acknowledge receipt of plugins that do not come through PayPal.
In other words we want an administrator to be able to manually add donations made through other channels (such as a bank transfer).
P.S. Time is of the essence with the launch of this project. So a quick yeah, nay or some guidance on how to customize the code to make this work would be much appreciated.
Thanks for your help.
Hi Elan,
Yes, the plugin supports inserting donations manually. Just go to the WordPress admin page and look up the item “Add new donation” in the Donation Can settings group. So, no code customizations needed
I really need to take some time to improve the documentation (what documentation?!
)
Cheers!
Hi Jarkko,
Just updated the plugin to 1.5.7 and I received an error in the Donation Form Widget
error:
Warning: number_format() expects parameter 1 to be double, string given in …/wp-content/plugins/donation-can/model/data.php on line 1183
I changed line 1183 from:
return number_format($number, $decimals, $decimal_point, $thousands_separator);
to:
return number_format((double)$number, $decimals, $decimal_point, $thousands_separator);
And that seemed to fix it.
elan
Thanks, Elan!
I’m not sure what is causing the problem as I didn’t notice it in my own testing, but I’m releasing a quick fix right away and try to figure out the root cause with more time.
Cheers!
PS. Not sure that it matters but the error appeared when I was using the Default Vertical widget style.
I’m getting a weird T where a comma should be in all of my currency amounts over three digits. So in the drop down list when a user wants to choose a donation amount, they would see:
$25
$50
$100
$500
1T000
2T000
3T000
4T000
etc.
Any ideas?
elan
Actually, I do have an idea… What’s your blog’s locale? You can check it from wp-config.php.
If your locale isn’t en-US or en-UK, that would explain the problem… I’ll make another fix. Let’s see if I still get it included to 1.5.7.1 before WordPress notices the new version.
Well, I ended up making a new version: 1.5.7.2 should be out there in the plugin directory any time now. In fact, I think it was probably the T’s that were causing the bug you noticed first as well…
Thanks Jarkko,
I did try changing the language setting but so far the problem continues. A quick fix would be so awesome.
Thank you for being so responsive.
elan
Looking to use the Donate Can plugin to allow for reoccurring donations. We are setting up a child sponsorship program for children in an orphanage. I don’t see any option to do so. Any ideas?
Hi Eric,
Yep, unfortunately, Donation Can doesn’t support recurring donations at the moment. I will probably add that functionality at some point — just haven’t had the time to think through it and make a solid design for how it would work…
In the past two days, I have already received two requests for this feature, so it’s getting higher up on the priority list as we speak. But I can’t make promises about it. I have a lot of other functionality planned as well…
The formatting seems a bit off. The right currency symbol is not displaying and the progress bar seems offset and overflows the background.
Any ideas?
Thanks.
http://sarahscovenanthomes.org/schbeta/product/genevieves-surgery/
It looks like the progress bar’s styling conflicts with some of your site’s CSS definitions… This would explain why the progress bar looks higher than it should.
I see the currency symbol… Unless you mean that there should be a currency symbol also before the target amount. This is by design, but you can change it using the style editor Donation Can settings page:
1. Clone the default style
2. Edit the “text format” field within the progress element.
3. Save the new style
4. Use the new style in your donation widget
I hope this helps!
The problem I’m having is that any time I change my permalinks to anything but the default, I get 404s on my blogs archives. Any tips at all?
Thanks
Hey B,
I remember seeing something like this in the past, but can’t recall exactly what the problem was… If anyone else has ideas, feel free to jump in
Some ideas though:
- This could be caused by your server setup. Maybe .htaccess can’t be edited or it can’t use the permalink rules defined in that file?
- Or it could be some plugin conflicting with Donation Can. What other plugins are you using?
Like said, these are just guesses, so let’s keep investigating
great plugin, worked fine before (and still on one of the domains)
however in one of the domains which I moved from one directory to other on the same server, i get 404 not found error when the donate button is clicked and we’re on /donation_can_ipn/start_donation
in the source it says:
/* */
Hi Nabeel,
This is indeed a bit strange. Let’s see if we can figure it out. I’m emailing you separately to ask for details about the URLs and what happens.
Anyhow, here’s what the source code on /donation_can_ipn/start_donation should say:
<html>
<body onload=”document.getElementById(‘paypal_form’).submit();”>
<form id=”paypal_form” action=”https://www.sandbox.paypal.com/cgi-bin/webscr” method=”POST”><input type=”hidden” name=”business” value=”YOUR PAYPAL EMAIL”/>
[... and a bunch of other PayPal attributes ...]
</form>
</body>
</html>
What seems weird to me is that there shouldn’t be any /* */’s and neither should that piece of JavaScript be there… But anyhow, let’s track this down and come up with a solution
in source it says in a js tag in between the other code:
var DonationCanData = {
ajaxUrl: “http://nabtron.com/wp-admin/admin-ajax.php”,
text_currencyFormat: “%CURRENCY% %SUM%”
};
Hey Jarkko,
I think its because the free server I’m using blocks any traffic to foreign servers. Would it work if the plugin uses the PayPal APIs (API USername, API Password and Signature)?
I’ve got two problems:
Activating the log file feature leads to an error when clicking the Donate button. After a few seconds I get redirected to the PayPal page and everything seems to be OK but the error is very irritating! I installed version 1.5.7.2 on WordPress 3.2.1. You may take a look at my testblog: http://tyrann0us.ty.funpic.de/testseite and click Donate.
The second problem is that the plugin doesn’t work at all…
Do you have plans to integrate this feature to the plugin?
Greetings, Philipp
Hi Philipp,
Thanks for the link! I got the errors copied and will try to reproduce and fix this tomorrow.
Regarding the second problem, I have good news for you. I plan to release the next major version (1.5.8) in about two weeks, with PayPal API being the most important new feature.
Cheers!
I too can confirm latest version of the plugin and an error when activating the log feature (error included in English)
Warning: fopen(/home/spaceilx/public_html/wp-content/plugins/donation-can/model/../log) [function.fopen]: failed to open stream: Is a directory in /home/spaceilx/public_html/wp-content/plugins/donation-can/model/data.php on line 732
Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceilx/public_html/wp-content/plugins/donation-can/model/data.php on line 734
Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceilx/public_html/wp-content/plugins/donation-can/model/data.php on line 735
Warning: fopen(/home/spaceilx/public_html/wp-content/plugins/donation-can/model/../log) [function.fopen]: failed to open stream: Is a directory in /home/spaceilx/public_html/wp-content/plugins/donation-can/model/data.php on line 732
Warning: fwrite(): supplied argument is not a valid stream resource in /home/spaceilx/public_html/wp-content/plugins/donation-can/model/data.php on line 734
Warning: fclose(): supplied argument is not a valid stream resource in /home/spaceilx/public_html/wp-content/plugins/donation-can/model/data.php on line 735
Hi Yaniv! Thanks for the confirmation. I haven’t yet had the time to check this myself, but I have a guess that might explain why I don’t see the error myself… I’m not sure about this, but the issue could be related to creating a new log file…
Maybe you could give it a try and manually create a file named “log” in the plugin’s directory and then try again to see if that helps?
Hi Philipp and Yaniv!
I think I figured this out. Please tell me if I am wrong, though
My guess is that you both created a *directory* named “log” when Donation Can actually needs a file named “log”. At least, doing this on my test site created the same errors that you both reported…
Anyway, if this is what happened, just remove the directory, create a file instead, and make it writeable by the plugin and that should do the trick. I’m adding better error handling in the next version (it will fail graciously telling that log should be a file and not a directory).
Hi Jarkko, thanks a lot for your advice. Now it works!
Nevertheless there a still a blank page for 6 seconds…
Hello Jarkko,
What is the status on the style sheet updating bug? When I update a cloned style I get this error.
Warning: Invalid argument supplied for foreach() in /home/thestem/public_html/ayc.thestem.ca/wp-content/plugins/donation-can/model/settings/donation_can_edit_widget_style.php on line 72
I have updated to 1.5.7.2
Here is the style rules causing the problem
background:#eeecec;
border-radius:6px;
-moz-border-radius:6px;
-webkit-border-radius:6px;
-moz-box-shadow:0px 3px 3px rgba(0,0,0,0.1);
-webkit-box-shadow:0px 3px 3px rgba(0,0,0,0.1);
box-shadow:0px 3px 3px rgba(0,0,0,0.1);
If I enter it as
background:#eeecec;
border-radius:6px;
-moz-border-radius:6px;
-webkit-border-radius:6px;
-moz-box-shadow:0px 3px 3px rgba(0,0,0,0.1);
or
background:#eeecec;
border-radius:6px;
-moz-border-radius:6px;
-webkit-border-radius:6px;
box-shadow:0px 3px 3px rgba(0,0,0,0.1);
It works fine but if i add a second box-shadow rule it blows up.
Hi Brett,
This is very interesting…
I will test this tomorrow and hopefully have a fix for it soon.
Thanks!
Hi Brett,
I found the problem: The commas in your rgba definition were caught by a bad regular expression that then broke the encoding.
I am not making a new release yet as I want to get some of the new features completed as well before doing that, so if you want to get the fix right now, you can download the development version from the plugin directory (should be a safe update).
If you don’t like the idea of downloading a development version, the css editor will work if you don’t use those rgba values…
I just commented out the whole RegExp and it works fine. I am sure I might be breaking something and or leaving an injection hole open but it works.
Actually, commenting out the whole RegExp seems to work just fine… To be honest, I have no idea why I added that RegExp in the first place
Hi Jarkko,
I also seem to have a bug with showing the anonymous donation check box in the new version. I have dug through all of the files and have gotten to the point where in the class DonationCanWidgetAnonymousElement $widget_options["allow_anonymous_donations"] is not 1 even though it is included on the widget style structure page. I am just disabling the if statement in the render view function for now. Also when I echo $element["type"]; in the donation_form_single.php file the anonymous type shows up if its in the structure and gets removed when I remove it from the structure.
Hi Brett,
I will test this too, but just to make sure, did you check the “Allow anonymous donations” check box in the widget’s settings?
Hi Jarkko,
I thought I may have missed that as well but I checked it twice and set and reset it and still the same thing. I ended up doing this to the render_view in donation_can_widget_anonymous_element.php
function render_view($widget_options) {
//echo $widget_options["allow_anonymous_donations"];
//if ($widget_options["allow_anonymous_donations"] == “1″) {
require_donation_can_view(‘widget_blocks/anonymous’, array(“prompt” => $this->element_data["prompt"], “cause_id” => $widget_options["goal_id"]));
//}
}
I should also mention this wasn’t a widget but for the shortcode generated forms.
Thanks for the info, Brett! This helps a lot. I have been focusing too much of my attention to the widget and probably missed a bunch of bugs in the short code forms because of that…
Hi,
I was wondering how I can make a box for where people can enter something such as their names so I can know who donated. Is that possible?
Hi Paul,
Donation Can doesn’t yet allow you to add custom fields to your donation forms, but you will get the name of the donor automatically from PayPal’s payment data. Does that work for you or do you need a different name?
For some reason my Donation Can only displays one “cause” at a time. If I select “summary of all goals” in the widget area, it will not display a Donate button and only shows one of the goals anyway. Do you know what might be causing this?
Hi Kim,
I noticed this too… It seems a bug sneaked in and broke the Summary of all goals view.
I’m fixing it for the next version. Sorry!
Hi Jarkko,
Thanks for all your help and bug fixes last week. The plugin is working great now.
I’d like to change the behaviour of the donation links to have PayPal open in a new window.
Can you point me to the file where the donate button code is for the page and the widget?
Thanks for your continued support.
elan
Hi Elan,
The donation form is collected from pieces, all located in the directory “view/widget_blocks”. The form itself is created in view/donation_form_single.php.
I just installed this plug in and everything looks great, but I’m trying to figure out how to change the appearance when adding it to a page, not by using the widget system.
I have the short code for what I’m after on the page [donation-can goal_id="pavilion"] but I want to change the background or maybe some other colors around so that its more visually appealing? Anyone know how I go about doing that?
Thanks
Oliver
Yikes! I updated to Version 1.5.7.2 a couple days ago. This morning I hit my donation target and reset the donation bar to $0 and since then, even though I’ve received $67 from five donations, the donation bar is still showing $0. Help!
Alex
Also, I notice that the parenthetical PayPal fee numbers seem to change at random. For some $5 donations it’s (-0.50), but others it’s (-0.45). For $10, some are at (-0.69), another is at (-0.59), the latest (pending) $10 donation actually says just (-0).
The donation bar is now working again, but still not counting the $67 in previous donations…
Hi Alex,
Thanks for the update and sorry for the late response. I emailed you about the details of this issue but I have a feeling that it might be about time zone differences between PHP and MySQL. I’ll try to fix this soon!
About the PayPal fees: for pending donations, I think it always stays at 0. The fee is sent back from PayPal only after the payment is completed. Why PayPal would sometimes take 0.50 and sometimes 0.45 for the same donation amount is strange, but I think it is an issue with PayPal rather than Donation Can. (I might be wrong, though, so let’s keep an eye on it
)
Hi there,
is there a way to add Donation Can in the header instead of a page or post?
take care,
Konstantin
Hi Konstantin,
There are two ways to do this:
1) You can add a widget holder to your blog header and use the Donation Form widget. Check this page for more info: http://codex.wordpress.org/Widgetizing_Themes
2) You can edit your template to print out the Donation Can short code with the following function:
http://codex.wordpress.org/Function_Reference/apply_filters
Like this:
echo apply_filters(“the_content”, “[donation-can ....]“);
I hope this helps
Hi Jarkko!
We are an ONG in Spain. Your plugin are very useful. We need different goals for a good causes. I’m testing in “http://abd-ong.org/donatiu/”, and the definitive web is “http://abd-ong.org/cadagestocuenta/”. donation-can and I added two different widgets in order to encourage people to do donations. One widget is a grid with avatars of different user-donors. Another widget is a list of donations current user, with the possibility to choose goal.
My problem is when I want to put in the post (shortcode), because I don’t know how can I do for constructing the shortcode with goal_id parameter. If you want I send all files and look this.
Thanks,
Monica
Hi Monica,
Here’s an example of a short code for a cause with id “test-cause-2″, using style “default_2″.
[donation-can goal_id='test-cause-2' style_id='default_2' show_progress=true show_description=true show_donations=true show_title=true title='']
In the post editor, you can also click on a coin button right next to the image upload buttons to insert a donation form with having to type it yourself.
Let me know if you have more questions.
Hi Jarkko!
Yes, I do for donation-form.
But I need create new shortcode for my news widgets (one widget is a grid with avatars of different user-donors. Another widget is a list of donations current user, with the possibility to choose goal). I need create shortcode for these.
Thanks!
Hi Jarkko, thanks for your response. I’m hoping you fix the “summary of all goals” issue soon.
When a user makes a donation, the widget displays their full name. But I am thinking some users might not want their full name displayed for all to see. Is there someway I can edit the Recent Donations display to show only user’s first name?
Thanks.
Hi I’m testing a donation on my blog but the donor’s Paypal shows “donation unclaim”, so the question is how do I claim a donation made to my blog?
Great plugin!!
Just wanna add my vote for the addition of recurring donations – it will make this great plugin even better!
Thanks!
is it possible to have a pay button instead of a donation button? in the US you need to be a legal 501(c)3 entity to use the paypal ‘donate’ button…
Hello
I really love your plugin and I am looking forward using it on my next project.
But there are some little things I will like to know if it is possible before i embark on this project.
Is it possible for me to display on my causes (At least, the titles, Goal and total Donation Collected) in a widget of the site or sidebar.
Is it also possible to do same on post and page. Please let me know and how I will go about it.
The widget isn’t working. Any idea why?