We are starting a new donation campaign and we noticed that both the Donor and Donation reports are empty, even though we are receiving donations. We upgraded to 4.0.8 to see if that was the issue, it resolved our problems with mobile access to the donation page, but we still don’t have donors and donations listing. Here is a sample log:
[Seamless Donations Log Data]
2015-09-05 20:37:28 Success URL: http://www.midwestboxerrescues.com/?page_id=173&thanks=true
2015-09-05 20:37:28 Saving transaction data using guid/audit db mode
2015-09-05 20:37:28 Name: Jxxxx Pxxxxxxxxxx
2015-09-05 20:37:28 Amount: 10
2015-09-05 20:37:28 Preparation complete. Entering PHP post code.
2015-09-05 20:37:28 Checking for repeat. REPEAT value is [].
2015-09-05 20:37:28 Computed RETURN value: 'http://www.midwestboxerrescues.com/?page_id=173&thanks=true'
2015-09-05 20:37:28 Redirecting to PayPal… now!
2015-09-05 20:38:58 —————————————-
2015-09-05 20:38:58 PREPARING DONATION FORM
2015-09-05 20:38:58 Seamless Donations Version: 4.0.8
2015-09-05 20:38:58 User browser: iPad 600.1.4
2015-09-05 20:38:58 Assigning hidden field session ID to 276F7BA1-B15F-B716-A63A-61B377B01A45
2015-09-05 20:38:58 Form action: http://www.midwestboxerrescues.com/wp-content/plugins/seamless-donations/seamless-donations-payment.php
I also tried hitting the IPN directly to make sure it was functional and it generated this log (as expected):
This log data doesn’t appear complete. There are three sections in what you’ve pasted in. The first, beginning at 20:37:28 is a partial chunk of the send-to-PayPal process, but I can’t tell if it works or not, because I don’t see a transaction code. If that code is really missing from the log, then that might be the problem.
The second section, beginning at 20:38:58 looks like what it should when preparing and displaying the form. The key element is the session ID, which will (or should) follow the donation through to completion.
The IPN ping looks just like it should. Since there’s no data coming in from PayPal, the log just reports that something happened.
I stand the best chance of helping you with this if you clear your log data, and then do one complete pass of loading the form, doing a sandbox donation, getting back to the site, and then sending me that complete log transaction.
By the way, I like the idea of anonymizing the donor info in the log. I’m going to make a note of that for a future release. We want to be able to look up the entry, but there’s no need for that in a log that might be publicly viewed.
I ran a test through the Sandbox and did get an IPN response on that call. I did not on the live version. I ran them two back to back. I diff’d the two log fragments and the only difference is that the sandbox gave an IPN response (other than session and date/time info).
The only changes I made in the admin were: Delete Logs, Settings>Paypal Settings>Sandbox (save) run test (confirmed the notification that we were in sandbox mode was at the top of the form). On complete of test, checked log and noted form creation, paypal redirect, IPN response. Checked donor and donation, both were still empty.
Went back to Settings>Paypal Settings>Live (save) run test again (confirmed notification was gone). Checked log again, noted creation and paypal redirect, no IPN response. Donor and donation remain empty.
Here are the logs:
Sandbox:
[Seamless Donations Log Data]
2015-09-07 11:07:46 ----------------------------------------
2015-09-07 11:07:46 PREPARING DONATION FORM
2015-09-07 11:07:46 Seamless Donations Version: 4.0.8
2015-09-07 11:07:46 User browser: Chrome 44.0.2403.157
2015-09-07 11:07:46 Assigning hidden field session ID to E0E664A8-0017-EA3E-EA01-078944D106D1
2015-09-07 11:07:46 Form action: http://www.midwestboxerrescues.com/wp-content/plugins/seamless-donations/seamless-donations-payment.php
2015-09-07 11:08:06 ----------------------------------------
2015-09-07 11:08:06 DONATION TRANSACTION STARTED
2015-09-07 11:08:06 Test mode: A
2015-09-07 11:08:06 PHP Version: 5.4.43
2015-09-07 11:08:06 Seamless Donations Version: 4.0.8
2015-09-07 11:08:06 User browser: Chrome 44.0.2403.157
2015-09-07 11:08:06 IPN: http://www.midwestboxerrescues.com/wp-content/plugins/seamless-donations/dgx-donate-paypalstd-ipn.php
2015-09-07 11:08:06 Payment process nonce 354c38ef5f validated.
2015-09-07 11:08:06 Session ID retrieved from _POST: E0E664A8-0017-EA3E-EA01-078944D106D1
2015-09-07 11:08:06 Looking for pre-existing session data (guid/audit db mode): E0E664A8-0017-EA3E-EA01-078944D106D1
2015-09-07 11:08:06 Duplicate session data not found. Payment process data assembly can proceed.
2015-09-07 11:08:06 Success URL: http://www.midwestboxerrescues.com/?page_id=173&thanks=true
2015-09-07 11:08:06 Saving transaction data using guid/audit db mode
2015-09-07 11:08:06 Name: Christine Panus
2015-09-07 11:08:06 Amount: 50
2015-09-07 11:08:06 Preparation complete. Entering PHP post code.
2015-09-07 11:08:06 Checking for repeat. REPEAT value is [].
2015-09-07 11:08:06 Computed RETURN value: 'http://www.midwestboxerrescues.com/?page_id=173&thanks=true'
2015-09-07 11:08:06 Redirecting to PayPal... now!
2015-09-07 11:08:29 ----------------------------------------
2015-09-07 11:08:29 PROCESSING PAYPAL IPN TRANSACTION
2015-09-07 11:08:29 Seamless Donations Version: 4.0.8
2015-09-07 11:08:30 IPN VERIFIED for session ID E0E664A8-0017-EA3E-EA01-078944D106D1
2015-09-07 11:08:30 PayPal reports payment status: Pending
2015-09-07 11:08:30 IPN processing complete.
Live:
2015-09-07 11:09:57 ----------------------------------------
2015-09-07 11:09:57 PREPARING DONATION FORM
2015-09-07 11:09:57 Seamless Donations Version: 4.0.8
2015-09-07 11:09:57 User browser: Chrome 44.0.2403.157
2015-09-07 11:09:57 Assigning hidden field session ID to 2D19477F-F57A-B71D-9D9E-EC3CB1DAC6CD
2015-09-07 11:09:57 Form action: http://www.midwestboxerrescues.com/wp-content/plugins/seamless-donations/seamless-donations-payment.php
2015-09-07 11:10:48 ----------------------------------------
2015-09-07 11:10:48 DONATION TRANSACTION STARTED
2015-09-07 11:10:48 Test mode: A
2015-09-07 11:10:48 PHP Version: 5.4.43
2015-09-07 11:10:48 Seamless Donations Version: 4.0.8
2015-09-07 11:10:48 User browser: Chrome 44.0.2403.157
2015-09-07 11:10:48 IPN: http://www.midwestboxerrescues.com/wp-content/plugins/seamless-donations/dgx-donate-paypalstd-ipn.php
2015-09-07 11:10:48 Payment process nonce 354c38ef5f validated.
2015-09-07 11:10:48 Session ID retrieved from _POST: 2D19477F-F57A-B71D-9D9E-EC3CB1DAC6CD
2015-09-07 11:10:48 Looking for pre-existing session data (guid/audit db mode): 2D19477F-F57A-B71D-9D9E-EC3CB1DAC6CD
2015-09-07 11:10:48 Duplicate session data not found. Payment process data assembly can proceed.
2015-09-07 11:10:48 Success URL: http://www.midwestboxerrescues.com/?page_id=173&thanks=true
2015-09-07 11:10:48 Saving transaction data using guid/audit db mode
2015-09-07 11:10:48 Name: Christine Panus
2015-09-07 11:10:48 Amount: 1
2015-09-07 11:10:48 Preparation complete. Entering PHP post code.
2015-09-07 11:10:48 Checking for repeat. REPEAT value is [].
2015-09-07 11:10:48 Computed RETURN value: 'http://www.midwestboxerrescues.com/?page_id=173&thanks=true'
2015-09-07 11:10:48 Redirecting to PayPal... now!
I think the anonymization would be a great feature to add, glad you like it. Old habits die hard, I used to work in a privacy-centric industry π Love this plugin. I’m glad I don’t have to reinvent the PayPal API wheel…
Good info. Any chance you didn’t set up the IPN with your real PayPal account on their live server? And did you change the email account address used with PayPal in the Settings tab?
Re-copy/pasted the IPN and tried again… Apparently my account doesn’t have a confirmed address… so, once I accepted the payments, everything worked fine… so.. some kind of copy/paste error, plus no confirmed address = cluster π