Support

Home Forums Event Espresso Premium Cannot pay by PayPal Express..

Cannot pay by PayPal Express..

Posted: January 15, 2021 at 8:59 am


monteail

January 15, 2021 at 8:59 am

My payments were all working correctly but now when I try to register for an event it simply pulls me back to a form that wont let me go any further. I checked the API info with Paypal and it is correct.


monteail

January 15, 2021 at 9:20 am

When I am logged into WordPress the registration works perfectly but when I log out of wordpress or use another compouter the registration page always goes back to a form and never allows anyone to pay.


Josh

  • Support Staff

January 15, 2021 at 3:26 pm

Hi,

You could check with your host and make sure the site has a valid SSL certificate.


monteail

January 16, 2021 at 7:24 am

I checked the SSL certificate and it is valid now. There was an issue but it was rectified. Still when you try to pay it just goes to a filled out form and does not allow you to pay.


monteail

January 18, 2021 at 7:04 am

Still when you try to pay it just goes to a filled out form and does not allow you to pay.


monteail

January 18, 2021 at 9:32 am

I loaded other ways to pay besides PayPal Express. It is not a paypal issue as paying by Check also does the same thing. When I am logged into my wordpress admin account I click payment options and takes me right to the options but if I am logged out (or on another computer/tablet) it does not ever go to payment options, it only returns the completed form and you can never pay.


Tony

  • Support Staff

January 18, 2021 at 2:27 pm

Hi there,

Looks like you are using the old Recaptcha integration (checkbox) and I’ve seen this happen previously with that same method.

First, lets confirm if that is the issue.

Go to Event Espresso -> Registration Form -> Reg Form Settings.

Find ‘Use reCAPTCHA’ and set it to No, then save.

Now run another test whilst logged out, does it work then?


monteail

January 18, 2021 at 8:50 pm

That was it. I did turn off “USE RECAPTCHA” and everything works fine.

Thanks for your help, I tried to install the RECAPTCHA V3 and enabled it but it did not work so I disabled it again.


Tony

  • Support Staff

January 19, 2021 at 11:05 am

You can’t use ReCaptcha V3 keys but I do recommend switching over to ‘Invisible’ ReCaptcha rather than the Checkbox integration.

I’ve previously posted instructions on how to do this so rather than retype them I’ll link them here:

https://eventespresso.com/topic/google-recaptcha-issue/#post-297914

However, I’m more than happy to help further if needed.


monteail

January 19, 2021 at 7:17 pm

I made a new reCAPTCHA type:v2 Invisible Key, I entered in the Site Key and Secret Key. I checked the Use reCAPTCHA to YES and the Registration did not work, it is the same way as before. Disabling reCAPTCHA the registration works fine.


Tony

  • Support Staff

January 20, 2021 at 7:40 am

Yeah, that’s odd and could be an issue with the host as it generally means your server couldn’t connect to the reCaptcha service.

We can troubleshoot this a little further if you can re-enable reCaptcha, or if right now is a busy time for your registrations we can do so after that busy period?


monteail

January 20, 2021 at 9:26 am

This is a good time, I am going to reenable reCAPTCHA right now.


Tony

  • Support Staff

January 20, 2021 at 10:09 am

Have you set the settings to use INvisible ReCaptcha within the setting form above?

The checkbox integration is still shown currently so can you post a screenshot fo your reCaptcha settings so I can compare to my site?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

(Note you can mark your reply private so only EE staff can view it)


monteail

January 20, 2021 at 12:49 pm

This reply has been marked as private.


monteail

January 20, 2021 at 12:52 pm

This reply has been marked as private.


Tony

  • Support Staff

January 21, 2021 at 8:47 am

Hmm so what’s strange here is the ReCaptcha on the ticket selector is working on the event list ({domain}/?post_type=espresso_events) but not on the single event pages.

I checked this locally and I get the same issue with the theme you are using, currently, you’ll need to disable reCaptcha on the ticket selector and leave it on within the registration form with that theme. The reason it’s happening is the theme isn’t using the standard ‘loop’:

if ( have_posts() ) : while ( have_posts() ) : the_post();

It’s simply doing this:

the_post();

Which skips anything that have_posts() does, namely the loop_end hook.


monteail

January 21, 2021 at 10:42 am

This reply has been marked as private.


Tony

  • Support Staff

January 21, 2021 at 11:29 am

That error is on the ticket selector so either it’s still enabled there or the page is cached.

Go to Event Espresso -> Registration form -> Reg form settings.

UN check the option for reCaptcha to show on the ticket selector and save.

Same error?


monteail

January 21, 2021 at 12:07 pm

I did uncheck the Ticket Selector box. I made sure it was unchecked and cleared the cache.

I still get the same error


Tony

  • Support Staff

January 22, 2021 at 5:27 am

Sorry, my mistake! When testing this I added a fix that ran on the checkout page.

You’ll need a snippet to fix this:

https://gist.github.com/Pebblo/d724ba427c491b696d681fd3d76dd67e

Add that to your site within a custom functions plugin, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That allows invisible reCaptcha to work on both the ticket selector and the checkout page for me.


monteail

January 22, 2021 at 8:50 am

I added the snippet and it did fix the issue. All good now.


Tony

  • Support Staff

January 22, 2021 at 9:39 am

Great, thanks for the confirmation.

Any further issues just let us know.

The support post ‘Cannot pay by PayPal Express..’ 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