Posted by Mark_Watson27 on July 9, 2009 at 10:02am
| Project: | Donation |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Hello,
I don't know wether this is an issue with Donation or Simple_PayPal but... donations are being added irrespective of payment_status in the POST
I added the following:
if ($_POST['payment_status'] != 'Completed') {
return;
}to the donation_ipn() function so that it waited for a payment to be confirmed prior to it being added as a donation.
Is this correct?
Thanks
Mark