Jump to:
| Project: | Donation |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
| Attachment | Size |
|---|---|
| donation.module.patch | 9.47 KB |
| donation.install.patch | 618 bytes |
Comments
#1
Compliments: good job, it's Very good
#2
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
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
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
Sorry, I don't know if it's the right place for this question. But I can't figure out how to use this enhancement.
First of all, thanks to jahwe2010 for this work. It's exactly what I was looking for: create multiple donation targets.
But now I can't find the page to create the different target. Do I have to create a new content type? If yes, which fields do I have to implement?
I've seen in your website that the donate/%nid is the donate form and the page node/%nid is the explanation with the list of all the donors and a thermometer. How can I do that?
I'm sorry, I'm a newbie in Drupal and need more help. Thank you for your help :)
#6
As there was no response, I've created another issue with a beginning of documentation #840058: Need documentation to use Multiple donation target
Hope this will help someone,
Julie
#7
Not sure what is $zeichenkette, so I replace this line
$memo = trim(str_replace($matches[0], '', $zeichenkette));by this line
$memo = trim(str_replace($matches[0], '', $memo));