Donation

Contrib type: 
Module
Status: 
Uploaded for testing
Latest version: 
1.0

Downloads

Compatibility: 
Ubercart 1.x

The donation module adds a pane to the checkout that allows an amount to be added to the total of the customer's choosing. It also adds a line item.

This module isn't very complicated, and I hope to add some extra functions down the line. I'd definitely like to add a report that calculates how much has been donated.

Hope someone else finds this useful,
Stephanie

Now updated for alpha 8.

Related threads: 
PreviewAttachmentSize
uc_donation.zip Version for alpha 75.67 KB
uc_donation-alpha8.zip Version for alpha85.9 KB
oadaeh@drupal.org's picture
Offline
Joined: 10/04/2007
Juice: 2
Alpha 7c Failures . . .

This module doesn't work with the Ubercart Alpha 7c release.

First off, it doesn't install correctly because the the SQL is incorrect. In the .install file, 'autoincrement' should be 'auto_increment' (at least for MySQL 5.0.38).

Also, donation fails during the checkout process looking for a non-existent function called uc_cart_checkout_new_pane.

August Engkilde's picture
Offline
Joined: 10/07/2007
Juice: 26
Re: Alpha 7c Failures . . .

So what's next on this module. Is it working now or ?

/august

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Re: Donation

Sorry for the delay in updating, I went on a month vacation and was extremely busy at my day job in the month or two before going away so I just couldn't get to it. I'm working on it now and should have it posted soon.

Cheers,
Steph

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Updated for alpha 8

Ok, I've now updated for alpha 8. It would be really helpful if a couple of people could download and test so I can maybe mark this to be checked by the moderators. Any suggestions or requests are welcome too. I think the javascript may be a bit fishy, but I'd like to get some testing for suggestions.

Cheers,
Stephanie

webmasterkai's picture
Offline
Uber DonorBug Finder
Joined: 08/09/2007
Juice: 302
Re: Updated for alpha 8

I like the idea of designating a product to have a "pick your own price" option. http://www.ubercart.org/forum/ideas_and_suggestions/2071/donation_anothe...

Biodiesel * (ubercart + drupal) = Sundays Energy

bowwowadmin's picture
Offline
Bug FinderEarly adopter... addicted to alphas.
Joined: 12/09/2007
Juice: 70
Re: Donation

Does the donate module work on beta2?
I am working on a site for a foundation for skier that passed away...

fang27's picture
Offline
Joined: 01/30/2008
Juice: 121
Error Using Donate Contribution Module

On the "Review Order" page for Ubercart (5.x-1.0-rc1), I am getting this error:

"warning: Invalid argument supplied for foreach() in /home/xxx/public_html/modules/ubercart/contrib/uc_donation/uc_donate/uc_donate.module on line 744."

And the item being checked out isn't even a donation!

Please help!

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Re: Error Using Donate Contribution Module

Sorry, I haven't looked at this module in quite awhile. This was developed for a really old version of Ubercart. I will update it to version 1 soon.