Support

Home Forums Event Espresso Premium Site is not going to payment meathod when Select Payment Meathod is clicked

Site is not going to payment meathod when Select Payment Meathod is clicked

Posted: June 1, 2022 at 3:18 pm


TOCIFT

June 1, 2022 at 3:18 pm

tocift.org – site will not go to payment method when “Select Payment Method” button is clicked. It’s returning to a version of the registration form. We are in registration for our yearly event. Please advise a soon as possible.

Thanks guys,

Laura Coldewey


Tony

  • Support Staff

June 2, 2022 at 7:27 am

Hi Laura,

This is usually an indication that allow_url_fopen has been disabled on the server and it is required for the checkbox reCAPTCHA to function.

You have a couple of options to fix it…

Firt, you can confirm it by going to Event Espresso -> Registration Form -> Reg For Settings and temporarily disabling recaptcha, then retest, it should work as expected.

To fix the reCAPTCHA you can either opena ticket with you host and have them enable allow_url_fopen on the server, or…

My recommendation is to switch to ‘invisible’ recaptcha (reCAPTCHA v3).

You do that by navigating here: https://www.google.com/recaptcha/admin/create
(Note you do this whilst logged into the Google account you want to create the reCAPTCHA for)

Create a new V3 key and work through the options on the page.

Then use those keys in Event Espresso -> Registration Form -> Reg For Settings

Set the invisible reCAPTCHA option to be set on the Registration form (make sure reCAPTCHA is enabled again) and test a registration whilst logged out of the site, does it work then?


TOCIFT

June 2, 2022 at 5:50 pm

Tony,

I went to Google Recaptcha and I upgraded the recaptcha keys to Recaptcha Enterprise. I’m not sure I did the right thing. The site is working now, but in reading the instructions I found that they want me to add some code to the page to “instrument the webpage”. Whatever that means. Here is a link to the instructions. I looked at the registration page on the Firefox inspector and I don’t see the line of code they are asking for.

Should I delete the keys and start over the Recaptcha v3. Enterprise seems like a good thing and seems the same as recaptcha v3. That is why I was confused. Please advise.

Thanks,

Laura


TOCIFT

June 6, 2022 at 10:51 am

Hello Tony,

I have not received a response to my last question. Again, here is a link to the instructions page for Recaptcha Enterprise.

I just had someone try to register and they had the same problem as before, with the “I’m not a robot” button appearing. This should not be on at all any more. I’m thinking he may have had a cached page, but I’m not sure. Can you please tell me exactly where to find the html for the registration page, so I can see if the line of code Recaptcha Enterprise requires in their instructions is there?

I’ve asked the customer to give me a couple days, but people are going to start registering now that we are into June. I need to get this taken care of as soon as we possibly can.

Thanks so much for your help!!

Laura


Tony

  • Support Staff

June 6, 2022 at 7:48 pm

Hi Laura,

Apologies for the delayed reply.

You can’t use reCAPTCHA Enterprise and “instrument the webpage” (I also have no idea what that means) with Event Espresso yourself. That documentation gives details to developers on how they would change the integration from a ‘standard’ integration to an enterprise integration, it’s not something you would do to EE yourself.

However, to use Invisible reCAPTCHA you don’t need enterprise.

When signed into my Google account and navigating here: https://www.google.com/recaptcha/admin/create

This is what I see: https://monosnap.com/file/C6pVEPHQHefza4cfw3evVQ1TSHGvrt

To register a site for a new key I provide a label, set reCAPTCHA type to v3, set the domain and accept the TOS, like this: https://monosnap.com/file/4DGtZ5KpGFQNu9Bs8FqpX5JNhsoLnK

I’m then given my Site and Secret key: https://monosnap.com/file/ZXX71aZ4E4oGOmeGPfJpC5pJGPHV1I

I can then use those keys within Event Espresso -> Registration Form -> Reg Form Settings: https://monosnap.com/file/zYq2PQpq9J7la2f2PkBY0ZipZFj7V6

That should be all you need to do to use Invisible reCAPTCHA on the site.

Do you see something different on your end?


TOCIFT

June 8, 2022 at 6:49 pm

It seems to be working now, but I will call it pending until I get some more registrations.

Thanks Tony.

Laura


Tony

  • Support Staff

June 9, 2022 at 3:12 am

You’re most welcome 🙂

Please do let us know if you run into any more issues


TOCIFT

June 9, 2022 at 8:53 am

Just got this message from another customer:

Good morning, I have tried a couple of times to register our team and when I get to the guest on our team, it clearly says to fill in the Sponsor Company and leave the rest blank if you do not have all of your guests information. When I go to proceed it will not allow me to move forward, also if I select Texas it will select Tennesse. Please let me know what I need to do. Thanks

I know that Tony said he would look at the back end, but can he please check on the drop down for the state selection as well. I’ve had the same problem with the registration page. Do I need to make a separate thread for this?


TOCIFT

June 9, 2022 at 8:56 am

Here is a quote from another entrant:

The only information that I didn’t have that was “required” was each participants Driver’s license number. So I thought I would try to fool it several ways. First, I entered all the participants DL numbers with my own Drivers license number and that didn’t work. So then I attempted to enter each participants DL number with the appropriate amount of numbers, but as a “11111111” format and it still didn’t work. And then I also attempted to remove the DL numbers and leave it “grey” (although it was required) but that didn’t work either.

He also sent this:

One more thing…..when entering the “sponsor” information on the top….while filling out the corporate address of Viasat, when I chose the state of Texas from the drop down menu, it would always populate with the state above Texas (Tennessee in this case). So I had to go to Utah to get it to populate the form with Texas.

Thanks! Laura


Tony

  • Support Staff

June 9, 2022 at 9:48 am

Do I need to make a separate thread for this?

No, no need for a new thread.

I’ve checked into this and have you recently updated/changed themes? Or has your parent theme recently been updated?

I ask because the select dropdown now has custom functionality assigned to it through jQuery select, which is throwing off the selected item and showing the wrong item.

If there has been a recent update it may also explain why things stopped working on the checkout page.

The issue with the DL number looks like an issue with JavaScript, if you input an invalid valid for a required field so the field shows as red, then fix the value and move out of the field it doesn’t appear to remove the class EE uses to identify required fields that still need a value.

However, I can’t reproduce that on my test sites so need to dig into this more on your site.


TOCIFT

June 9, 2022 at 10:13 am

I found these instructions for deleting a Recaptcha Enterprise site key. https://cloud.google.com/recaptcha-enterprise/docs/samples/recaptcha-enterprise-delete-site-key
Should I try to do this? And then re-add the V3?


TOCIFT

June 9, 2022 at 10:17 am

I did recently add a plugin called http headers. I just deactivated it. Can you see if the problem still exists?


TOCIFT

June 9, 2022 at 10:30 am

Should I talk with my Theme developer about the dropdown? I don’t recall an update to the Theme. I would have to ask them.


TOCIFT

June 9, 2022 at 10:35 am

I use Conference Pro. It is supposed to work with EE4.


TOCIFT

June 9, 2022 at 10:59 am

Also, I’m considering making every field not “required”. I have to get this working as soon as I can. Do you think that would help the situation? I know that a couple fields are EE4 required.


TOCIFT

June 9, 2022 at 1:58 pm

I will be sending out an email blast to all of my regular sponsors that I will be entering registrations manually until further notice. Please let me know when you have a detailed assessment that I can take to Conference Pro (owned by Imagely last I knew), if they are the problem.

Thank you for your help Tony. You guys are invaluable!

Laura


TOCIFT

June 9, 2022 at 4:56 pm

Tony,

I see that I still have my support token that I purchased. I know that you’ve found some issues. Would I received faster support on this if I use it. I thought I already had.

Thanks,

Laura


Tony

  • Support Staff

June 9, 2022 at 5:15 pm

Hi Laura,

Apologies for the delayed reply but this has actually turned out to be a fairly tricky issue and I’m not sure if it’s from Event Espresso, but also can’t pinpoint how it’s happening on the site itself currently.

So first, a quick explanation of the require fields.

On the checkout page we use jQuery validate and some custom rules to determine if a required field is ‘valid’ or not. So the page loads, loads jQuery, loads jQuery Validate and then we load some custom rules into that for the single page checkout.

When a required field is in focus (click on/tabbed into) and nothing is input into the field, the validation above kicks in and adds a ‘class’ to the element to identify it’s required and allows us to target those required fields (which highlights them red on your site). Then when a value is set on the field that class should be removed from the element again to indicate that is has been given a value and allow the form to be submitted.

The latter of the above isn’t happening, which means that any time someone doesn’t input a value into a required field, that field basically sites there show as needing a value to be added even after it has one added.

Now, I know (because I’ve worked on your site a few times) that this worked previously… so I’m curious as to what has changed here to cause this. Do remember if the registrations worked as expected with the previous version of Event Espresso active?

I can install that on the site to test if you’d like?

(However, Id prefer if you could create a database backup just to be safe first)


TOCIFT

June 10, 2022 at 7:50 am

Tony,

I’ve made the backup.

Do remember if the registrations worked as expected with the previous version of Event Espresso active?

It’s been a year since we used the system, so I really don’t recall very well. I think that it did, as I do know that the field is red when it’s not validated, and I believe I would have noticed if it wasn’t working right.

Have you looked to see if any of the custom php configurations could be causing interference with your new version? Take a look at:

Plugins/Plugin File Editor/Select plugin to edit: Dropdown – Site Plugin for tocift.org.

I see some jQuery in there that associates with the fields. I know that we need it, or it wouldn’t be there, so I’m not sure what to do if that is the conflict.
Please load the old version and lets see what happens.

Thanks,

Laura


TOCIFT

June 10, 2022 at 8:22 am

Just an FYI –
The part of your system that caused us to have to do this is the registrars won’t read the directions I have supplied on the Registration List page and will put the same name in all the name fields, like TBD (To be determined) or TBA (To be announced), to hold the spot to be changed later. They never know who is going to make it to the tournament until about a week before, as they are oil field workers. We had to supply filler text (Angler 1, Angler 2, etc.) to hold the spots for them to be changed later. If your system were able to throw an error at a same name being submitted in a single transaction, this wouldn’t be needed. I don’t know if there is anything you guys can do about this, or you probably already would have, but If you ever figured it out, that would solve a lot of problems on our end.

If it’s not an easy fix and I have to get a new php developer to work on this, please let me know. My other developer has moved on. Any recommendations for a new one that is familiar with EE4 would be greatly appreciated.


TOCIFT

June 10, 2022 at 9:49 am

Clarification:

If it’s not an easy fix and I have to get a new php developer to work on this, please let me know. My other developer has moved on. Any recommendations for a new one that is familiar with EE4 would be greatly appreciated.

I’m referring to the customization, of course, not the problems with the same name issue.


TOCIFT

June 10, 2022 at 11:09 am

I am now seeing multiple tickets in your cue with the same issue of not being able to proceed to payment, so I assume it’s not our issue. Hope you find the answer quickly Tony. Thanks!


TOCIFT

June 13, 2022 at 8:48 am

I see there is an update to EE4. Should I run it? I am still awaiting answers on the registration problem and I am in the middle of our registration for an event with about 750 people. I really would hate to have to register them all.

Thanks, Laura


Tony

  • Support Staff

June 13, 2022 at 9:08 am

Hi Laura,

That update is not actually an update, that’s from me downgrading your site to the previous version (4.10.29.p) to see if the issue with your required fields is from the latest updates, which it is not.

I can’t find what is causing this currently but as we’ve has a couple of reports of the same issue I’ve created a high priority ticket for our developers to investigate. I still can’t reproduce this on my test sites, but I’ve requested some feedback to see what else we can check into.

Do you mind if I pull the site’s theme locally so I can test that on my own site and see if I can reproduce it? If I can reproduce I can start to narrow this down some.


TOCIFT

June 13, 2022 at 11:14 am

Please do what you need to Tony. I need this fixed asap.


Tony

  • Support Staff

June 13, 2022 at 1:05 pm

Hi Laura,

Can you test another registration (whilst logged out) and see if you get the same issue now, please?

The red outline on the field even after the field value appears to be a red herring, it looks like this is from the theme now adding its own reCaptcha scripts to every page which then conflicted with the default EE fields.

I’ve applied a quick patch on your site to prevent that but would like to confirm on your end if that fixes the issues for you before moving forward.


TOCIFT

June 13, 2022 at 8:20 pm

Tony,

I ran the reg and it appears to be working. I did see that the first section still threw a red ring around the email, but the rest worked correctly. The registration still went through. Is it okay to let my people know that they can register without issues again, or is it still too soon for that?

Thanks,

Laura


Tony

  • Support Staff

June 15, 2022 at 8:20 am

Hi Laura,

Apologies for the delay, we’ve now released an update with a fix for some setups when using reCaptcha v2.

Currently, your registrations should work fine on the version currently active on the site, or we can try updating to the latest version to test that if you prefer?


TOCIFT

June 15, 2022 at 11:13 am

I think I would rather run it as is and then fix it after the event in late July. Thank you for your help Tony. I will get back to you if I have any issues or when the event is done.

Laura


Tony

  • Support Staff

June 15, 2022 at 11:35 am

You’re most welcome.

Hopefully no further issues will come up but please do let me know if there are any.


TOCIFT

June 20, 2022 at 7:14 pm

Hi Tony,

Just an update. I’ve had one individual have an issue with the registration. He was using Edge. I told him to try one more time with a different browser. He used Chrome and the registration went through.

Here is the image of the error he received on the first try:
https://gyazo.com/0fe231f1b831463c0610cf8e8115ac8c


TOCIFT

June 21, 2022 at 5:23 pm

Tony,

I just noticed in the cpanel of the site that I’m running an outdated php version. What version should I be on and could this be causing all the problems with the recaptcha?

Thanks,

Laura


Tony

  • Support Staff

June 22, 2022 at 3:27 am

Just an update. I’ve had one individual have an issue with the registration. He was using Edge. I told him to try one more time with a different browser. He used Chrome and the registration went through.

Odd! Has he previously used Edge to view the site? I’m wondering if he had a cached version.

The reason I ask is I’ve just tested a registration on your site using Edge and didn’t run into any issues.

—-

What version should I be on and could this be causing all the problems with the recaptcha?

Event Espresso does not currently support PHP8 (which is the very latest version of PHP) so the version we recommend is 7.4.XX

Right now the most recent version of PHP7.4 is 7.4.30 so I would use that, you may only have 7.4.29 on the version (or possibly lower) at this time so go with the highest number of PHP7.4 you have available.

It is very unlikely that your PHP version would cause intemitted reCaptcha issues as the code doesn’t change so using PHPX on request 1 and request 2 would either work as expected or fail on both.


TOCIFT

June 22, 2022 at 7:45 am

Ok. Thanks for the feed back. I will update this morning.

And, yes, I do believe he had used Edge previously and received an error. It may have been cached.

Thanks,

Laura

The support post ‘Site is not going to payment meathod when Select Payment Meathod is clicked’ 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