Add support for multiple donation targets

jahwe2000 - September 25, 2009 - 13:34
Project:Donation
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have enhanced the module in a few points and would like to know if I can send you the changed file to mabe become part of the distribution.

I have added:
- recording the fee that paypal takes
- recording the memo field
- using the nodes of a content type as different donation targets
- using a hook for incoming donations instead of the donation thermometer "hack"
- adding a field to store the amount in a converted USD value (currency conversion not implemented yet)
- Placed a t() around the user defined strings (after loading them from variable_get() ) to allow to run multi-lingual sites

I have fixed
- My donations got rejected, as the business form filed was not filled, so I have added a fallback to the receiver_email field

Also, I have created a seperate module that uses a content type to represent a project that receives donations and defines the amount it wants to achieve. Maybe this can be included in this package. It shows a gauge with the donation progress. You can view it at http://en.pdfforge.org/donations

AttachmentSize
donation.module.patch9.47 KB
donation.install.patch618 bytes

#1

hopfrog - October 9, 2009 - 13:54

Compliments: good job, it's Very good

#2

kbahey - October 14, 2009 - 22:50
Status:active» fixed

I committed this, except for the unused field for USD. It does not make sense if you are in Europe or elsewhere.

I also added the fields in the schema so new installations don't have to run update.php.

This should be in the new tarball in about 2-3 hours from now.

Thanks

#3

jahwe2000 - October 19, 2009 - 20:24

hello,

I am using the usd_field to keep unified track of the donated amount. (not used in the patch so far) For a donation thermomter, it would be useless to add 1 € and 1 USD to 2 units of whatever currency. I think paypal even gives the exchange rate. I have not had the time to look at that any further, but maybe I will in the next week.

regards,
Philip

#4

System Message - November 2, 2009 - 20:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.