Support

Home Forums Event Espresso Premium PayPal IPN Validation Failed + No Admin Emails

PayPal IPN Validation Failed + No Admin Emails

Posted: January 30, 2017 at 2:41 pm

Viewing 13 reply threads


mvincik

January 30, 2017 at 2:41 pm

Hello,

I have 2 problems that I am running in to now. I am trying to open the registration for my clients yearly conference and right now they are receiving this message: IPN Validation failed! Paypal responded with ”

The second problem is that the admin wants to get notified when someone registers regardless if the payment is complete or incomplete. They never get notified.

I have even setup the website to send emails through their actual email account instead of the WP Send mail function. All my tests are good but still, they are never notified when someone registers.

I have covered all the basics on these two issues. I need some assistance now so I can get this conference registration open for them. Please help.

Thank you.


mvincik

January 30, 2017 at 4:13 pm

I wanted to post an update that I have tried all of the paypal methods and none of them are working. This normally takes about 5 minutes to setup with WooCommerce. I even installed an SSL certificate, generated the API keys in the paypal account, enabled the IPN url in paypal and literally none of the 3 default payment methods that come with EE4 are working. I’ve never had this issue in the past 4 years that we’ve used this plugin. I really need some help here.

Thank you.


Tony

  • Support Staff

January 30, 2017 at 4:42 pm

Hi there,

Which version of Event Espresso are you running?

IPN Validation failed! Paypal responded with ”

This is often caused when the server is not correctly setup/updated to handle HTTPS/TLS connections but there are multiple different reasons the IPN Validation can fail.

In your second reply you mentioned:

I even installed an SSL certificate, generated the API keys in the paypal account, enabled the IPN url in paypal and literally none of the 3 default payment methods that come with EE4 are working.

If you’re using IPN’s that’s PayPal standard which does not use API keys, so which payment method are you testing?

The second problem is that the admin wants to get notified when someone registers regardless if the payment is complete or incomplete. They never get notified.

If you go to Event Espresso -> Messages -> message activity

Do you see the messages shown there?

If so what colour ‘status bar’ do they have on the left? – http://take.ms/z9UPT

I have even setup the website to send emails through their actual email account instead of the WP Send mail function. All my tests are good but still, they are never notified when someone registers.

I’m not sure what you are referring to here, can you provide further details?


Tony

  • Support Staff

January 30, 2017 at 4:43 pm

Also, can you link me to the event so I can run some test registrations?

I’m not sure which site on your account you are having problems with currently.


mvincik

January 30, 2017 at 5:00 pm

Hello,

We are on the latest version of EE4, WordPress and every other plugin. 100% up to date.

I started out with PayPal Standard. It failed. I then deactivated it and moved on to PayPal Pro, that took the payment but then sent the user back to the website where it generated the incomplete order status and email. So I deactivated that and moved on to PayPal Express, that failed so that is where I am now.

https://www.ohstormwaterconference.com/conference-events/

As for the emails, the emails in the log are all green but they are never generated for the admin. Only the registrant gets the email even though the admin is listed to receive them. As an attempt to fix this, I added the admins email to the default template after the shortcode listed in the to field by adding a comma as suggested and then listing their email. I even had their email account open while I would see mine come through and not theirs. Odd thing is we are both on the same email server and if I am the registrant, I will get my registration incomplete email.

If you would like access to the website or FTP to see the logs I would be happy to provide that if you let me know a secure way to do so.

Thank you.


Tony

  • Support Staff

January 30, 2017 at 5:26 pm

I started out with PayPal Standard. It failed.

What failed? The payment didn’t show on the site? Or the user could not select PayPal standard and be directed to PayPal.

I then deactivated it and moved on to PayPal Pro, that took the payment but then sent the user back to the website where it generated the incomplete order status and email.

PayPal pro should not direct you offsite, you mentioned it sent the user back to the site? Do you mean fro the payment options to the thank you page?

So I deactivated that and moved on to PayPal Express, that failed so that is where I am now.

What was shown when Express failed?

As for the emails, the emails in the log are all green but they are never generated for the admin. Only the registrant gets the email even though the admin is listed to receive them.

So both the Registrant and Event Admin emails are listed, and show as sent with a green status bar?

As an attempt to fix this, I added the admins email to the default template after the shortcode listed in the to field by adding a comma as suggested and then listing their email.

Please remove this, some mail servers do not allow for this and it can cause more confusion.

I’ve just registered onto one of your events, selected Invoice and received a Pending Payment email. So you should have a Recipient and Event Admin email for that registration in the message activity log. (But the admin still doesn’t receive it?)

Next go to Event Espresso -> Messages -> Default message template -> Registration Pending Payment.

Edit the event admin context (read more about message contexts here: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/)

What is set for the TO and FROM fields there?


mvincik

January 30, 2017 at 5:41 pm

I started out with PayPal Standard. It failed.

What failed? The payment didn’t show on the site? Or the user could not select PayPal standard and be directed to PayPal.

—- You were directed to PayPal ok, but when paypal sends you back to the website it says that the IPN failed. But I have that setup in PayPal to go to the transaction page as directed in your notes. Mine would be: https://www.ohstormwaterconference.com/transactions/

I then deactivated it and moved on to PayPal Pro, that took the payment but then sent the user back to the website where it generated the incomplete order status and email.

PayPal pro should not direct you offsite, you mentioned it sent the user back to the site? Do you mean from the payment options to the thank you page?

—-My apologies, Pro couldn’t connect to PayPal. That was the error that the cart listed that said it could not connect to PayPal.

So I deactivated that and moved on to PayPal Express, that failed so that is where I am now.

What was shown when Express failed?

—-As for the emails, the emails in the log are all green but they are never generated for the admin. Only the registrant gets the email even though the admin is listed to receive them.

So both the Registrant and Event Admin emails are listed, and show as sent with a green status bar?

—-No. Only the email to the Registrant was listed. I have this resolved now.

As an attempt to fix this, I added the admins email to the default template after the shortcode listed in the to field by adding a comma as suggested and then listing their email.

Please remove this, some mail servers do not allow for this and it can cause more confusion.

I’ve just registered onto one of your events, selected Invoice and received a Pending Payment email. So you should have a Recipient and Event Admin email for that registration in the message activity log. (But the admin still doesn’t receive it?)

—- The admin got the payment pending email. I have this resolved now.

Next go to Event Espresso -> Messages -> Default message template -> Registration Pending Payment.

Edit the event admin context (read more about message contexts here: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/)

What is set for the TO and FROM fields there?


mvincik

January 30, 2017 at 5:52 pm

Here are some of the error codes from the Event Espresso Admin Transactions screen:

PayPal Express – Error occurred while trying to setup the Express Checkout.

Paypal_Standard – IPN Validation failed! Paypal responded with ”

Paypal_Pro – No response received from Paypal Pro

Perhaps that will help. Please note, I have PayPal Standard enabled now. That is the only one that actually processes the money transaction at this time even though when paypal sends the registrant back to the website from paypal they get the message: IPN Validation failed! Paypal responded with ”

And this generates an incomplete order notification.

Thank you.


Tony

  • Support Staff

January 30, 2017 at 5:52 pm

—- You were directed to PayPal ok, but when paypal sends you back to the website it says that the IPN failed. But I have that setup in PayPal to go to the transaction page as directed in your notes. Mine would be: https://www.ohstormwaterconference.com/transactions/

It sounds like the IPN is hitting your site, however when it hits the site it is validated to confirm it is not a fake request, it’s the validation that is failing not the setting for IPN’s.

I’ll need to check over the payment logs to see if the reasons for the failed validation is shown (it depends what the cause is if the log can be saved).

You can send temporary login details using this form: https://eventespresso.com/send-login-details/

—-My apologies, Pro couldn’t connect to PayPal. That was the error that the cart listed that said it could not connect to PayPal.

I’m guessing you have A PayPal standard account? You can’t use PayPal Pro with a standard account.

Can I ask what the issue was with the Admin emails?


Tony

  • Support Staff

January 31, 2017 at 12:28 pm

Looks like PayPal is blocking the connections from your server during the IPN validation.

The response from PayPal is:

HTTP/1.1 403 Forbidden Server: BigIP Content-Length: 0 DC: phx-origin-www-2.paypal.com Date: Tue, 31 Jan 2017 00:17:32 GMT Connection: close Set-Cookie: AKDC=phx-origin-www-2.paypal.com; expires=Tue, 31-Jan-2017 00:47:32 GMT; path=/; secure Set-Cookie: akavpau_ppsd=1485822452~id=19bc1bc316faaaa7c32f27480380f1b4; path=/ Strict-Transport-Security: max-age=63072000

Are you using BigIP as a firewall on your host?

Which host are you using?


mvincik

January 31, 2017 at 1:41 pm

That is really strange. WooCommerce isn’t being blocked using Paypal on 20+ websites and we never had this issue in the past with Event Espresso (4 years now).

We host all of our clients websites on RackSpace + CloudFlare + WordFence.
That is the extent of our hosting and security.

Any suggestions?

Thank you.


Josh

  • Support Staff

January 31, 2017 at 2:12 pm

You could check to see if WordFence adds some specific bypass rules for WooCommerce. Similar bypass rules can be added for Event Espresso. There’s a similar topic related to WooCommerce, PayPal, and Wordfence here:

https://wordpress.org/support/topic/403-forbidden-redirect-error-after-paying-with-paypal/


mvincik

January 31, 2017 at 2:52 pm

Hello,

For now. You can put this all on hold. I think we have everything up and running with PayPal Pro. We’ll know in a few hours.

Thank you for all your assistance. Your time and effort has narrowed down quite a few things for us. I am very grateful for your support.

Thank you.


Tony

  • Support Staff

February 1, 2017 at 5:52 am

Hi mvincik,

I just wanted to double check that PayPao Pro worked for you?

Also have you considered using Stripe?

https://eventespresso.com/product/eea-stripe-gateway/

It has less PCI compliance requirements than an on-site payment method.

Viewing 13 reply threads

The support post ‘PayPal IPN Validation Failed + No Admin Emails’ 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