Page 1 of 1

donate mod wont update database

PostPosted: Sat Mar 01, 2008 8:30 pm
Author: Pete8441806
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.aye2008.org/site

PHP Version:
MySQL Version:


What was done before the problem appeared?
I have made my own payment system for an event registration that adds lines to the account_hist table so that their payments show in the paypal history, but other than that left the donate and old payment system intact


What was done to try to solve the problem?
I have lowered the ctracker security on the relivant pages and taken its dos attack setting to low.





De.scription and Message

When a user goes through the donation process they can enter the amount it pays into my account and then takes them back to the fourm with a thankyou message but it does not update the database at all. and thus does not show them on the donors list or have their donation listed in the paypal history page.

Re: donate mod wont update database

PostPosted: Sun Mar 02, 2008 11:41 am
Author: tmotley
Is this what you did?
".=QUACK=.Major.Pain";p="31441" wrote:I have the recent donations block workig on all my sites.

There is a problem with the security. When someone makes a donation, it goes through paypal.
Your site needs to receive the IPN (comformation of payment) from paypal.
When it comes from paypal, your site bans paypals IP because it sets of the DDos pretection security.
Therefore who receive no IPN and no record of donation reaches your sites database.

Nobody came up with a proper fix, but I was able to get it to work.

Steps:

Go to ACP>User Admin>Ban Control - you should see a banned ip which is the paypal ip. Delete it and clear the banlists.

Next go to ACP>Security>Special - Set 'DDoS Protection Level:' to LOW - Save it.

Now when you do a donation, you will receive the IPN log and donations will appear in the recent donations block.
Be patient, it can take a bit of time for it to appear, but it will come.
You can see on our site: http://www.aaquacks.com that we have it working.

NOTE: I don't know how vulnerable having DDoS set to low will be on your site. Someone wiser can update us on that.


Maybe Helter can put the instructions somewhere as a tutorial or something for others to use as a fix.


I don't know much about the donation mod since I don't use it. I wonder if it's not retroactive? Meaning, it won't fix previously made donations... I don't know.