Posted: August 19, 2015 at 12:32 pm
|
Hi, I continue to have problems whereby PayPal Pro and EventEspresso are not communicating properly. It seems unlikely to me that this is a widespread problem with PayPal Pro as it is widely used. What happens is that the transaction is sent to PayPal Pro and approved, but EventEspresso never learns of this and therefore the transaction shows as incomplete thus allowing others to register for an event which may technically be now full. Going to PayPal and re-sending the IPN has absolutely no effect. I really need a solution to this. |
Hi Paul, I think you’re correct, this isn’t a widespread problem as we haven’t heard from other users about this. Since PayPal Pro does not use PayPal IPN, there shouldn’t be any effect in re-sending an IPN for a PayPal Pro transaction. Can you first check to see if cURL is enabled on your server? You can also check the payment logs by going to Event Espresso > Payment Methods > Logs and check for payment log entries there. If there are any errors in those logs it will be helpful to know what they are. |
|
|
Josh, cURL is installed on the server. Just checked the logs. Hmmmm. On August 18th (yesterday), we had three separate enrolments in classes all paid by PayPal and all came through as paid in PayPal. However, looking at the logs, it shows 5 transactions with separate ID numbers, all for the same transaction number (30825) the one transaction that EventEspresso successfully recorded as paid. The other two are completely missing. Any ideas? Paul |
|
I should also mention that the one successful transaction was paid with PayPal standard. Paul |
|
And the two failed transactions were with PayPal Standard as well. (So the title of my trouble ticket is incorrect and should have said PayPal Standard). Paul |
RE:
It turns out those are actually log items. A single transaction can 3-5 log entries because each item logs a specific part of the back and forth between your server and the payment gateway. RE:
Can you check for PHP errors in your PHP error logs at the times the other two registrations were made? |
|
|
I don’t have the tools to look through the log file. Is there some way I can send it to you to look at? |
Sure you can email them to support at eventespresso.com. We were discussing some other PayPal related things and it was pointed out to me that if the purchaser did not have a PayPal account, and when closed their prompted to create any account after paying, PayPal doesn’t send the IPN. Here’s the information that was pointed out to me:
https://www.zen-cart.com/content.php?70-whats-the-difference-between-paypal-standard-express-and-pro So that could be a potential reason for why you’re not getting all of the payment notifications from PayPal. |
|
|
Hi, Just emailed you the log file. I can see what is being said about users closing the window. Just seems odd that two different users in the same day would do the same thing. Not impossible, just odd. Thanks, Paul |
Hi Paul, I got the access log you sent. This could be helpful if I can compare it with the PHP error log, can you send the error log? Along with that, can you let me know about what times the two registrations in question were made? |
|
|
Josh, There were no PHP errors generated. The transactions occurred on August 18 at 10:42PM and 9:01PM MDT. Paul |
Are PHP errors being logged at all? |
|
|
Yes they are. See: redacted
|
Paul the link to the PHP info page should never be advertised on a public forum. I’ve removed the link and highly recommend that you remove that script from your server. For the sake of your server’s security, PHP info should never be made publicly available. Along with that, it doesn’t help me because what I really need to look at are some PHP error logs to find any possible reason why PayPal’s IPN isn’t updating some transactions on your site. If you do not have a PHP error log, you can set your WordPress config file to generate one going forward. Your wp-config.php file will have this line of code:
You change it to true and also set it to not display errors and then log the errors by adding two more lines:
Then you’ll have a log file located in wp-content directory that you can send us. |
|
|
Josh, Thanks for the heads up. I’ve taken care of what you suggested. I have had the settings in my wp_config file set that way for some time. I’ll email you the log file for your perusal. Thanks, Paul |
Hi Paul, I combed through the logs and at those times nothing PHP error wise stands out as far as an error that would prevent EE from receiving the IPN. It may help to add some text to the PayPal Instructions on your site that instructs the purchaser to be sure to return to your site from PayPal after they’ve paid. It’d be good to let them know they need to return in order to ensure their spot is held and get their receipt. You can add instructions to the Description field in Event Espresso > Payment Methods > PayPal Standard. The instructions you add there will display on the page when someone selects to pay with PayPal. |
|
The support post ‘EE4: Continuing problems with PayPal Pro and EventEspresso’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.