Posted: 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. |
|
This reply has been marked as private. | |
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? |
|
This reply has been marked as private. | |
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. |
|
Only ‘Front-end Registration Page’ is checked |
|
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: |
|
I tried swapping and resetting the check boxes. no change. Send admin credentials via form |
|
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. |
|
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. |
|
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? |
|
Ok. That is fine. Strange though. Because it is the same account is used to connect the PayPal Express method and that works. |
|
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? |
|
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. |
|
Ha! Yeah. |
|
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 🙂 |
|
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. |
|
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.
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. |
|
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? |
|
Sure, but send those via email to support[at]eventespresso.com and I’ll take a look. |
|
Ok. Sent |
|
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? |
|
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 |
|
This reply has been marked as private. | |
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. |
|
Yes. Existing account. Ok |
|
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! |
|
I have tried from MS Edge and Firefox from two PC’s. As well as Safari on my iPhone |
|
This reply has been marked as private. | |
any ideas on where we go from here? |
|
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? |
|
yes. i can do that |
|
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. |
|
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.
If you open your browsers Dev tools, do you see any errors in the console when clicking that button? |
|
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 |
|
0.3.p:2 Uncaught DOMException: Blocked a frame with origin “https://www.incommandri.com” from accessing a cross-origin frame. |
|
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) |
|
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. |
|
should we try your test site? |
|
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. |
|
just rechecked. same results either account |
|
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. |
|
Hi. Following up to see if there have been any developments in getting this resolved? |
|
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. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
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. |
|
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. |
|
🙂 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.
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. |
|
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, |
|
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 🙂 |
|
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.