[Plugin: Personal Fundraiser] Can't create a cause, plus dates error
-
I’m testing it – cure.org was a site we shortlisted as an example to follow last year for our website redesign, so the plug-in is very welcome. However, none of the edit buttons or shortlists appear to go anywhere so nothing is actually generated except blank pages.
I’m also getting a fatal error for dates entered (tested with multiple formats) on the Campaign form:
Fatal error: Call to undefined method DateTime::createFromFormat() in /home/viggorlijah/test2.riverkidsproject.org/wp-content/plugins/personal-fundraiser/includes/functions.php on line 26Is there a demo installation or more documentation available? Thanks!
-
It looks like there is a PHP incompatibility issue. Do you know what version of PHP your WordPress site is running? Also, what version of WordPress are you using?
WordPress 3.2.1 and PHP 5.3. I’ve installed and reinstalled with PHP 5.2, but the same thing happens – the pop-up window to create a campaign appears with the three form boxes for Name of Campaign, URL and Goal, and the OK button never proceeds anywhere, no matter what I fill in for the three form boxes.
I have identified the issue and will release a patch on Monday. I will update this thread once that patch is available.
Thanks so much!
The patch has been released (v 0.7.3) and it should resolve your issue. Please let me know if it does indeed do so.
Also, the plugin now adds a sample cause so that you have an idea of how to create a cause.
The upgrade installed and the causes and campaigns create perfectly now.
1. However (sorry! It’s a great plugin, so I’m very eager to get it working), I did a test donation for one campaign, and although it did go through at paypal correctly, the campaign & cause show no change in the amount or donors recorded – they’re stuck at zero.
The donation went through for the paypal button on the campaign page (http://www.test2.riverkidsproject.org/give/tom-for-kindergarten/) and then I was returned to that page after the transaction finished with the little pop-up to say Thanks for the donation. I got the paypal notification and checked on my paypal account to see it went through, but there’s no change on the page itself, or in the wordpress admin pages to reflect any donation going through.
I’ve done this twice on two different campaigns to confirm that the donation & donor are currently not being picked up on the page.
Do I manually update the donations/donors? Or is this a bug?
2. What’s the url for the custom registration? When I’m logged in to wordpress, I get prompted to create a campaign on a cause page, but when I’m logged out of wordpress, I don’t see any edit/create campaign links. It’s easy to work around because I’m planning to make them sign up via buddypress/wordpress anyway, but I saw in the readme/code references to a custom registration page.
Thank you!
BTW, I’m planning to tie this in with Buddypress so I can automatically create mini-blogs for registered fundraisers that will embed within the campaign page without them having to work with WordPress directly.
As far as #1 is concerned, the plugin should automatically update the totals. If it is not there are a couple of things to check:
1) Did you create a donate button or is it another type of PayPal button? I can’t tell for sure, but the checkout screen on PayPal seems to be the one used for normal shopping carts, not the Donate button. The plugin is designed around the Donate button.2) Check the Personal Fundraiser PayPal options in the administrator interface of your WordPress install. Make sure that you have filled both the Donate Button Code and Payment Data Transfer Token fields. Also, unless you are testing with a PayPal developer account in their sandbox, the checkbox that states “Use PayPal Sandbox” should be unchecked.
3) The plugin accepts payment information from PayPal in two different ways. If one fails, the other may work for you. The way it works is as follows:
- When someone makes a donation, PayPal returns them back to the fundraiser page, passing along transaction details. If the user doesn’t close their browser or otherwise interrupt this return, the donation is recorded at that time.
- If the first method fails, there is a secondary call that PayPal makes directly to the server which will also attempt to record the transaction details. If the first method was successful, this second method is ignored.
As far as #2 is concerned, in order to allow registrations, you have to set the following Personal Fundraiser settings:
- Login Required to Create should be unchecked
- Allow Users To Register should be checked
When these options are set, you don’t get a registration page directly, but rather what happens is that when a user who isn’t logged in creates a campaign, they are presented with the option to login or register after they have created their campaign.
Hey John,
Thanks for this great plugin. I however, I am not a programmer and when I tried it and didn’t work, hired someone else and it didn’t work, I think I need the mastermind behind this plugin.
So, is it possible (for a few), to install this plugin for me? Our nonprofit needs this plugin as we are running multiple campaigns and need as much help with the fundraising as possible. Our website is: http://africaneeds.org (hosted with justhost.com).
Thanks, please get back to me at your earliest convenience.
Sorry, typo:
So, is it possible (for a FEE**)…
Unfortunately, I am not available for hire.
If you are looking for a developer to hire implement this plugin, I would recommend getting in touch with exygy: http://exygy.com/contact/.
They have done some development for non profit WordPress sites and I believe they could provide the support you need (for a fee).
Hey John, thanks for a great plugin. I too cannot make the plugin update my campaigns. I am using different PayPal donate buttons so that I can track the various funds on Paypal as well as the personal fundraisers. Is this why the recordings won’t work? It is processing and redirecting, but only redirecting to the site URL with a string. It seems there is no default thank you page showing up. I do have a generic button in the code section on the settings as well as the token. I have followed all of the instructions… I’m thinking it must be the donate button ode being unique. If this is the case, can you tell me how I can make the transaction unique on the PayPal side to show the specific cause or campaign in the details of the transaction?
You can find our donations at http://emptyhands.org/donate
Thanks.
B
When using PayPal with the Personal Fundraiser plugin, there is currently no way without custom code to make the transactions unique in PayPal. I am guessing that you are not using the pfund-donate shortcode to display the donate button but rather are placing the donate buttons directly in the cause. In that case, you are not going to get the functionality that redirects you back to the campaign page after a person donates via PayPal.
If you want to approach this problem from a custom code perspective, you can use the pfund_donate_button filter to add additonal information to the PayPal transaction. For example:
add_filter( 'pfund_donate_button', 'add_pfund_paypal_desc' ); /** * Passes the campaign title to paypal in the item_number field. */ function add_pfund_paypal_desc( $donate_btn ) { if ( ! empty( $donate_btn ) ) { global $post; $btn_doc = new DOMDocument(); $btn_doc->loadHTML( $donate_btn ); $form_node = $btn_doc->getElementsByTagName( 'form' )->item( 0 ); $input_node = $btn_doc->createElement('input'); $input_node->setAttribute( 'type', 'hidden' ); $input_node->setAttribute( 'name' , 'item_number' ); $input_node->setAttribute( 'value' , $post->post_title ); $form_node->appendChild( $input_node ); $donate_btn = $btn_doc->saveHTML(); } return $donate_btn; }Please note that this example will only work with a PayPal button configured as follows:
- Do not provide a donation id.
- Do not save the button.
- Remove code protection from the generated button code before copying the code to the personal fundraising settings.
The topic ‘[Plugin: Personal Fundraiser] Can't create a cause, plus dates error’ is closed to new replies.