DragonflyCMS Projects > Treasury and Supporters > Treasury accepting Donations but not adding to records? > Community Forums > Phoenix Netology
Forum Index > eCommerce > Treasury and Supporters

Treasury accepting Donations but not adding to records? Reply to topic


I think this may be to do with the 9.0.6.0 upgrade (although I've only changed files from the CVS once they've been released).

Donations are still coming through and members who have selected 'List your name?: Yes' dont get added to the module records in the Treasury (at least for the last 2 anyway).

The date seems to coincide with me updating the /includes/cmsinit.inc file for 9.0.6.0 and updating with the installer.

Is there a known bug with this? Maybe there was a file I updated that had some mod in for the Treasury module (like the IP_Tracker requires something in footer.php)

Please enter your server specs in your user profile! 😢


Mine is acting the exact same way. I have the most recent version.

My friend has the next lower version and his still works fine.

I know mine used to work because the test and an additional donation worked fine. It could have "broke" during one of the recent upgrades to DF. Not certain though.

One additional note, when I add someone in manually the first person added fine, but the next person, although it shows they were added in the table in the admin section, their donation amount was just added into the last person showing on the main block. Strange.

- |\/|ystic
Life In A Handbasket is now hosted by Site5.com

Please enter your server specs in your user profile! 😢


I've just run WinMerge to verify changes between what my site uses and what is in the 9.1 release, and can confirm the only changes are those relating to the language definitions I was developing i.e. what I am using is functionally identical to the download.

I have tested on 9.0.6.1 and CVS sites and every aspect functions correctly, so I don't believe DF is an issue.

This leaves us with Paypal setup and the user:
1. If Paypal setup is incorrect, you have no chance of the user being correctly returned.
(reverting to IPN does require the changes indicated in install.txt - IPN is a better solution as it allows people to use the one Paypal account for numerous applications, whereas the previous approach was restrictive)
2. If the user isn't logged in, you won't get the desired username.
3. If the user doesn't click that last "Continue" button, you won't receive the desired username.

Just one thought - do you have,
index.php?name=Treasury&file=ipntreas
for "URL for Return Page" & "URL for IPN Notification"

Regarding manual changes, I just cannot fault it, unless you have neglected to enter data for one of the variables there.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


A separate issue, but partially related to this, is trying to track down who the donor was when the transaction doesn't make it to the database.

The following mod to Treasury.tpl will result in the Username being provided to you in the Paypal notification email.

Insert the following 2 lines between approx lines 44 and 45 <input type="hidden" name="on1" value="User Name" /> <input type="hidden" name="os1" value="$USERNAME" />so that lines 44 to 47 look like </div> <input type="hidden" name="on1" value="User Name" /> <input type="hidden" name="os1" value="$USERNAME" /> <input type="hidden" name="no_shipping" value="$PP_NO_SHIP" /> This has been tested in the sandbox and provides the required result Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Phoenix wrote
Just one thought - do you have,
index.php?name=Treasury&file=ipntreas
for "URL for Return Page" & "URL for IPN Notification"


Yes. Testing IPN reports no errors, also.

Entering a donation manually still works.

Please enter your server specs in your user profile! 😢


Ahhh thanks!

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: