Support

Home Forums Event Espresso Premium regirstration form not working

regirstration form not working

Posted: April 17, 2023 at 12:42 pm

Viewing 51 reply threads


ESS

April 17, 2023 at 12:42 pm

my registration form is filled out completely including any required fields and the form will not submit. i get a blank red box indicating an error i assume. help please.


ESS

April 18, 2023 at 10:53 am

This reply has been marked as private.


Tony

  • Support Staff

April 19, 2023 at 10:38 am

Hi there,

My apologies for the delayed reply.

The notice box showing up empty usually means something is hooking in and altering the response received from EE in the checkout process which it then doesn’t know how to post to the screen.

Is there a specific event I can register onto to view this?


ESS

April 19, 2023 at 11:09 am

This reply has been marked as private.


Tony

  • Support Staff

April 19, 2023 at 11:33 am

Go to Event Espresso -> Payment methods -> PayPal Commerce.

Look in the ‘Useable From’ section of the settings.

What is checked there?

I suspect only Admin Registrations Page is checked, if so check ‘Front-end Registration Page’ and save.


ESS

April 19, 2023 at 1:14 pm

Only ‘Front-end Registration Page’ is checked


Tony

  • Support Staff

April 19, 2023 at 1:20 pm

Hmm, strange!

Ok, so swap them around, set it to admin only and update, then switch it back and update again.

Can I take a look in the admin? If so you can send temp login details over using this form:

https://eventespresso.com/send-login-details/


ESS

April 19, 2023 at 1:58 pm

I tried swapping and resetting the check boxes. no change.

Send admin credentials via form


Tony

  • Support Staff

April 19, 2023 at 2:25 pm

You PayPal Commerce connection hasn’t been set, so its not a valid payment method yet.

Go to Event Espresso -> Payment methods -> PayPal Commerce.

Under PayPal Onboarding you’ll see ‘Connect with PayPal’, click that and log into the PayPal account you want to connect with.

That will set the payment method as a valid usable payment method.


ESS

April 19, 2023 at 2:45 pm

I have/had connected it to my PayPal account when I first set it up. And even reconnected a few times just to verify. I get a message that it’s connected. But That connect button never changes.


Tony

  • Support Staff

April 19, 2023 at 2:54 pm

Then that’s part of the issue as the payment method doesn’t think its connected, so it doesn’t show as a valid payment method in EE.

I’ll try connecting one of our sandbox accounts to see what happens if that’s ok?


ESS

April 19, 2023 at 3:02 pm

Ok. That is fine.

Strange though. Because it is the same account is used to connect the PayPal Express method and that works.


Tony

  • Support Staff

April 19, 2023 at 3:05 pm

Connecting with one of our test accounts shows like this: https://monosnap.com/file/JV8wkReLGH8Uh595win27T8ko30mpk

What happens when you work through the steps using your account?

What does the modal show after you’ve logged in?


Tony

  • Support Staff

April 19, 2023 at 3:07 pm

Strange though. Because it is the same account is used to connect the PayPal Express method and that works.

Side note with regards to this.

The 2 intergrations use completely different integration methods.

Express uses credentials you pass to it from your PayPal account.

PayPal Commerce uses oAuth and should be smoother than Express… but obviously not in this case.


ESS

April 19, 2023 at 3:30 pm

Ha!

Yeah.


Tony

  • Support Staff

April 19, 2023 at 3:49 pm

Just checking you saw my other reply above:

https://eventespresso.com/topic/regirstration-form-not-working/?view=all#post-342026

Just to make sure I’m not waiting on a reply from you and your waiting on a reply from me 🙂


ESS

April 19, 2023 at 3:56 pm

I see is now.

I do not see what is in your image at all.

When I click on the connect to PayPal button. It opens anew window and asks for email/user. States then pass word. Then sends a verification code to my phone. Once I enter that it processes for a moment. Then says I am connected. And stays on that window. I close that window and go back the the commerce page and nothing changes.


ESS

April 19, 2023 at 3:56 pm

Could I possibly need to disconnect the account from express first?


Tony

  • Support Staff

April 19, 2023 at 4:11 pm

Could I possibly need to disconnect the account from express first?

You don’t “connect” PayPal Express, you add your API credentials to it and it sends those over with the request for payment so there no connection like there is with PayPal Commerce.

When I click on the connect to PayPal button. It opens anew window and asks for email/user. States then pass word. Then sends a verification code to my phone. Once I enter that it processes for a moment. Then says I am connected. And stays on that window. I close that window and go back the the commerce page and nothing changes.

The page staying when it says connected is wrong, this is what should happen:

https://monosnap.com/file/YUKaFS3csgkyfSVlMqebFdWiGPJcwf

When you connect, a request is sent to your site which triggers an Ajax request to pull in your details, that’s not happening when you connect your account.

Hmmm… I need to be able to reproduce this to see what is happening on the request, I’ll request some feedback from one of our developers incase I’m missing something.

For now switch to PayPal Express again to keep your registrations running.


ESS

April 19, 2023 at 4:18 pm

Ok. I will switch back for now.

Do you want me to send you screenshots of what I am seeing when doing the connect process? Via the form?


Tony

  • Support Staff

April 19, 2023 at 4:26 pm

Sure, but send those via email to support[at]eventespresso.com and I’ll take a look.


ESS

April 19, 2023 at 4:37 pm

Ok. Sent


Tony

  • Support Staff

April 20, 2023 at 6:22 am

Hmm, odd. I just checked and we’ve not had any emails for this.

It may have been rejected depending on file size.

Can you add them to a zip file and upload that to the site, then post the link here?


ESS

April 20, 2023 at 6:55 am

That may have been my bad. Never clicked send. I just sent the email. If it doesn’t come thru this time i’ll send a link


ESS

April 20, 2023 at 8:04 am

This reply has been marked as private.


Tony

  • Support Staff

April 20, 2023 at 9:38 am

Hi there,

Yes, the email came through, thank you.

So that final page you see at the end I haven’t seen before.

I assume the email address you are entering into the modal is for an existing Paypal account, yes?

I’ve sent those screenshots over to the developer above to investigate this.


ESS

April 20, 2023 at 9:52 am

Yes. Existing account. Ok


Tony

  • Support Staff

April 20, 2023 at 10:37 am

This is really odd! I can’t reproduce this no matter what type of account I use.

Which browser are you using?

If you try the signup with the browsers dev tools open and check the console, any errors?

The signup form is from PayPal, we pass details to the function that creates it and then when the onboarding process is complete is calls back a function in JavaScript to trigger everything else that EE needs to do… the PayPal modal seems to be not calling that callback when you sign up… but it is when I do it!


ESS

April 20, 2023 at 11:41 am

I have tried from MS Edge and Firefox from two PC’s. As well as Safari on my iPhone


ESS

April 20, 2023 at 12:51 pm

This reply has been marked as private.


ESS

April 21, 2023 at 7:11 am

any ideas on where we go from here?


Tony

  • Support Staff

May 1, 2023 at 8:17 am

Hi there,

I’ve been trying to reproduce this with various accounts and discussing it with the developer who created the payment method but so far we’ve been unable to.

If I set up a test site on one of my servers would you be ok signing into your PayPal account on that?


ESS

May 3, 2023 at 5:40 am

yes. i can do that


ESS

May 3, 2023 at 6:13 am

So I just went and tried to activate and link paypal commerce again. I thought I would try with a different paypal account to see if for some reason it was just the account I have been using that is the problem. And now when I try another account, or the original one for that matter, in sandbox mode it tells me my paypal user and pass are not correct no matter what. but if I sign in on paypal site it is fine.

Also, if I try either account not in sandbox mode, regular mode. I click the blue “Connect with Paypal” button I get bumped to the top of the page. it goes nowhere. no new window. noting but bumped to the top of the page almost like a form error.


Tony

  • Support Staff

May 3, 2023 at 12:59 pm

So I just went and tried to activate and link paypal commerce again. I thought I would try with a different paypal account to see if for some reason it was just the account I have been using that is the problem. And now when I try another account, or the original one for that matter, in sandbox mode it tells me my paypal user and pass are not correct no matter what. but if I sign in on paypal site it is fine.

PayPal Sandbox isn’t actually a ‘mode’ as such, its a totally different account.

You can have a PayPal account and a PayPal Sandbox account, your ‘normal’ PayPal account can not sign into PayPal Sandbox.

Also, if I try either account not in sandbox mode, regular mode. I click the blue “Connect with Paypal” button I get bumped to the top of the page. it goes nowhere. no new window. noting but bumped to the top of the page almost like a form error.

If you open your browsers Dev tools, do you see any errors in the console when clicking that button?


ESS

May 5, 2023 at 5:24 am

this is what dev tools shows when the page loads. I could not get anything more because now when i click the connect button the same page opens in a new tab


ESS

May 5, 2023 at 5:25 am

0.3.p:2 Uncaught DOMException: Blocked a frame with origin “https://www.incommandri.com” from accessing a cross-origin frame.
at https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/signup.js?ver=5.0.3.p:2:1711
at https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/signup.js?ver=5.0.3.p:2:28682
at https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/signup.js?ver=5.0.3.p:2:29975
(anonymous) @ signup.js?ver=5.0


Tony

  • Support Staff

May 5, 2023 at 6:51 am

this is what dev tools shows when the page loads. I could not get anything more because now when i click the connect button the same page opens in a new tab

Is this still happening now?

Refresh the page, change the Sandbox mode to ON, and then OFF again but just toggling the dropdown (that refreshes details in the background)


ESS

May 5, 2023 at 7:04 am

This was happening now. Did as you instructed, toggled sandbox on and off. Now back to the original issue. Link works. I enter credentials/login. says all set, then nothing changes.


ESS

May 5, 2023 at 7:05 am

should we try your test site?


Tony

  • Support Staff

May 5, 2023 at 7:07 am

Ok, so is that using the ‘original’ account or the ‘new’ one?

You mentioned above you were trying a different PayPal account to see if that had the same issue, just wondering if it did.


ESS

May 5, 2023 at 7:51 am

just rechecked. same results either account


ESS

May 25, 2023 at 6:24 am

My previous support post request was closed but the issue is unresolved. Still looking for a solution. link to previous post: https://eventespresso.com/topic/regirstration-form-not-working/

Cannot active or use PayPal Commerce please see previous post, registration form not working, for details of ongoing issue.


ESS

June 5, 2023 at 6:46 am

Hi. Following up to see if there have been any developments in getting this resolved?


Tony

  • Support Staff

June 5, 2023 at 9:29 am

Hi there,

My apologies. I’ve reopened your original thread and merged them.

We’ve spent some time investigating this and it looks like the issue is on PayPal’s end, a listener used to know when the onboarding process is complete simply isn’t firing.

However, it’s not something I can reproduce on my accounts. I suspect it’s account related issue but no idea what on the account would do it.

So, I’ve created a new temp site to test this on if you wouldn’t mind connecting your PayPal account there? (I’ll post details in a private reply shortly)

Note the site is considered temporary, it will be wiped once we’ve been able to troubleshoot a little to see if we can find the cause.


Tony

  • Support Staff

June 5, 2023 at 9:29 am

This reply has been marked as private.


ESS

June 5, 2023 at 10:33 am

This reply has been marked as private.


Tony

  • Support Staff

June 5, 2023 at 1:13 pm

This reply has been marked as private.


ESS

June 5, 2023 at 6:46 pm

This reply has been marked as private.


Tony

  • Support Staff

June 6, 2023 at 1:38 pm

It means that something either on your site or server is causing the issue.

So what I would do now, is try setting up PayPal Commerce whilst in full troubleshooting mode.

First, back a database backup of your site just to be safe.

Then install this plugin:

https://wordpress.org/plugins/health-check/

Activate it and go to Tools -> Site Health -> Troubleshooting.

Enable Troubleshooting mode.

What that does is disable all plugins and switch you back to a fault theme, but only for you the logged in admin.

In the admin bar at the top… go to Troubleshooting Mode -> Manage Active Plugins.

Enable Event Espresso whilst troubleshooting.

Now try and connect PayPal within EE, does it work?

Once finished with the above test go back to the Troubleshoot Mode admin barmenu and click ‘Disable Troubleshooting Mode’ to switch back to normal.


ESS

June 7, 2023 at 5:28 am

Ok. I have good news. I followed all the steps using the Health Check plugin and was able to complete the paypal connection with nothing but event espresso added. So i went and activated my theme and plugins one by one disconnecting, reconnecting and testing the connect as i activated each one. I was able to reactive the theme and all plugins and connect successfully each time in troubleshooting mode. I then left troubleshooting mode and was able to connect my paypay account to paypal commerce on the active site and it seems to process fine now.


Tony

  • Support Staff

June 7, 2023 at 6:21 am

Ok. I have good news.

🙂 Whilst I agree that is good news and I’m glad it’s now working for you… it’s also frustrating because it can’t be reproduced and if everything worked out of troubleshooting mode (as in the site is normal and still connected with all plugins etc) we don’t know where the conflict was from.

So i went and activated my theme and plugins one by one disconnecting, reconnecting and testing the connect as i activated each one.

Hat tip from myself for troubleshooting this so diligently here, that’s exactly how it should be done to narrow down a conflicting theme/plugin. It hasn’t narrowed it down in this specific case… but its work so for now, its a win!

I don’t like black box magic fixes but I am glad it’s working for you, any further issues just let us know.


ESS

June 7, 2023 at 6:52 am

It did occur to me that this does not pinpoint the root cause. I know that’s still a concern and was in the back of my mind as to whether this problem will rear it ugly head again. But for now, for me, it works again. And i’ll take it. Thank for all the assistance. If i have any future issues i’ll let you know,


Tony

  • Support Staff

June 7, 2023 at 7:38 am

I know that’s still a concern and was in the back of my mind as to whether this problem will rear it ugly head again.

If it does, you know the solution to get it back up and running quickly (use Troubleshooting mode to reconnect PayPal Commerce) and then report it happening again to us 🙂

Viewing 51 reply threads

The support post ‘regirstration form not working’ 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