Support

Home Forums Event Espresso Premium IPN Validation Failed for PayPal

IPN Validation Failed for PayPal

Posted: January 4, 2018 at 4:37 pm

Viewing 8 reply threads


Paul DeLanoit

January 4, 2018 at 4:37 pm

I’m getting this error message:
IPN Validation failed! Paypal responded with ‘WP Error. Code: “http_request_failed”, Message: “cURL error 6: name lookup timed out”, Data: “”‘

But it does appear that the transactions are going thru on PayPal, so the purchasher get a failed message and then tries again, and at least one instance I had to refund because they purchased twice.

What can I do?

Thank you.
Paul DeLanoit


Tony

  • Support Staff

January 5, 2018 at 2:31 am

Hi Paul,

IPN Validation failed! Paypal responded with ‘WP Error. Code: “http_request_failed”, Message: “cURL error 6: name lookup timed out”, Data: “”‘

Looks like an issue during the DNS lookup, which is most likely an issue with your server configuration.

Are you using EE4? If so Id first recommend switching to PayPal Express, it uses the same account type as PayPal standard but needs different crednetials from your account:

https://eventespresso.com/wiki/paypal-express-payment-gateway/#locate

PayPal Express works differently and doesn’t use IPN’s (which are known for being unreliable). PayPal Standard was phased out of EE a while ago for that very reason but we left is working as usual for users that had it set up already.


Paul DeLanoit

January 5, 2018 at 1:51 pm

thanks Tony, I have followed the instructions. When I test the payment using PayPal Express, I get this message: An error has occurred:
It appears the Off Site Payment Method was not configured properly.
Please try again or contact secretary@prit.net for assistance.


Josh

  • Support Staff

January 5, 2018 at 2:41 pm

Hi Paul,

If you’re absolutely sure the API credentials entered in Event Espresso > Payment Settings > PayPal Express are correct and complete, then the other possibility is Debug Mode On? is set to Yes. In which case you’ll need to change that to No, then save the settings.


Paul DeLanoit

January 5, 2018 at 9:47 pm

No, Debug Mode is set to No.


Tony

  • Support Staff

January 8, 2018 at 4:44 am

When exactly do you get that error? Is it when selecting PayPal Express from the payment options or when clicking to be directed to PayPal?

That error is shown when no payment object could be created, which only happens when either the credentials are incorrect, or your server could not connect to PayPal at all (which would tie in with your opening post).

If you go to Event Espresso -> Payment methods -> Logs

Do you see entries for PayPal Espress there?


Paul DeLanoit

January 8, 2018 at 8:26 am

This happens after you select PayPal Express and then click on the Proceed to Finalize Registration button.

Yes it does show up on the logs, Gateway Response: 10002; Security error


Tony

  • Support Staff

January 8, 2018 at 10:44 am

Ok, that error only happens for 2 reasons.

Either the credentials in use are incorrect, space at the beginning/end of a field or the details are in the wrong fields.

Or, Live credentials have been used but the payment method is in debug mode and sending the request to sandbox (or vice versa).

Can you please double check the credentials in use are correct and that your are using a live account when the payment method is not in debug mode (I know you mention it isn’t above, but as that’s the only 2 reasons for the above error could double/triple check please?)


Paul DeLanoit

January 8, 2018 at 11:22 am

Thank you for your assistance.
I had the owner of the PayPal account send me the actual values for the api credentials instead of a screen shot. After I copied an pasted them in it worked. Even though I quadruple checks the values I typed in from the screen shot, there must have been a difference in the api signature…

Viewing 8 reply threads

The support post ‘IPN Validation Failed for PayPal’ 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.

Event Espresso