Posted: May 19, 2020 at 11:00 am
I tested a registration myself after setting up my PayPal Pro gateway with EE4. After entering in my billing info and clicking “Proceed to Finalize Registration”, I receive the following error message: “No response received from PayPal Pro” I double checked the API credentials, no issues there. What should I try next? |
|
Hi there, You’ll see that error message if nothing at all is received back from the cURL request set to PayPal. If you go to Event Espresso -> Payment methods -> Logs, you’ll see EE create log entries through each payment step. Can you see any log entries for your attempted payments? (Note you click on the ID to the left to view the individual log entries, not the TXN ID on the right) |
|
Thanks yes I see the transaction logs. In the logs, each txn has 2 entries. The 2nd entry is blank/empty after the “RAWRESPONSE” section. |
|
Which host are you using for the site? “RAWRESPONSE” is the key in the array we check for, you said everything after that is empty, so RAWRESPONSE is not empty? If not can you post the contents of that section here (you can set the post to private so only support can see it). Are you aware of the PCI compliance requirement when using PayPal Pro? (I’m just checking as it requires the highest level and often users aren’t aware of this) |
|
The site is hosted on a GoDaddy Dedicated server with linux and WHM. I also have another Dedicated server with GoDaddy (also linux and WHM), I moved the site to the other server and still got the same error. Futhermore, it turns out that the txn was in fact successful. (the money is actually in the paypal account). But the backend shows it as a failed txn and the emails sent out by the system all report failure. RAWRESPONSE is empty. Sorry if my language is unclear. The log shows the “RAWRESPONSE” section label but it is all blank after that label. ID 52 l_name Admission for ASA Annual Clay Shoot ID 53 |
|
fyi the event is https://www.subcontractorswesternpa.com/blog/events/asa-annual-clay-shoot/ |
|
Ok, so the log is showing you the values passed to PayPal from EE’s side and then from RAWRESPONSE onwards it is what EE received back from PayPal (Nothing). However, being on GoDaddy changes things a little as we’ve recently had reports of users having issues with PayPal on GoDaddy (EE3 rather then EE4 but the communication between them is using cURL either way). If you’d like to view those threads the first is HERE and then the other HERE. The short of it is that when I can’t say that’s the problem for certain, but it’s sounding very similar. In the second thread, Godaddy blamed an SMTP plugin setting the FROM address to the TO address, meaning the email was sending to itself and failed, causing the connection to timeout. I’m not really sure I buy that as the cURL request to PayPal has nothing to do with emails, however it’s worth checking, so do you have any email/smtp plugins active on the site? If you temporarily disable the EE messaging system in Event Espresso -> Messages -> Settings. Looks at Email settings and you’ll see a green toggle switch, switch that off and test a payment, does it work as expected then? (Note 2 things about the above, it stops EE triggering any emails for your registrations whilst disabled, which is the obvious side effect of disabling emails. Something that may not be obvious is if you disabled any email messages by dragging them over to the disabled section on the above, when you re-enable the setting those message types may not longer be disabled) |
|
Thanks for that info. I already suspected it was an issue with the hosting, but after spending hours online with GoDaddy support they assured me that it’s not their fault. I disabled all plugins except EE4, switched the theme to twentytwenty, and disable the messaging system as recommended, and I still got the exact same error. 🙁 Any other suggestions? Also, I’d be happy to give you access to the server if you’d like to take a look. |
|
I had access to one of the previous servers and couldn’t get it working, one site switched to Stripe as GoDaddy kept doing exactly the same thing and blaming EE. The other apparently had the above email issue but again, I’m not really sure that answer from GoDaddy is correct/valid. The cURL request sent to PayPal has literally nothing to do with emails, those are triggered AFTER that request is closed and processed. I’ll happily double-check if that’s the issue on your site if you can send wp-admin and FTP credentials using this form: https://eventespresso.com/send-login-details/ We would usually require a support token to work directly on a site but I could confirm the above fairly quickly using a script completely separate from EE and WordPress. |
|
That would be great! Thank you so much. I filled out the form. |
|
Yeah, it’s the same issue. The script I created uses my PayPal sandbox credentials to send a fake payment request to PayPal sandbox using a unique ID on each load (meaning you can re-test a payment simply by refreshing the page), it’s essentially the same request EE uses but runs without EE or WP using cURL directly. The cURL response (which is what would be set to ‘RAWRESPONSE’) on my servers is something like this:
When I run the script on your server, I get:
If I set This is something GoDaddy need to fix on their end, unfortunately, convincing them of that has not been easy so far. Also, note that my script has nothing at all to do with emails, so emails are not the issue. I can share the script with you if you’d like to punch in your own sandbox credentials and test this yourself and/or show it it to GoDaddy tech support (you’ll need their higher-level tech support)? |
|
OK thank you so much for checking that. Awesome support! This problem wasn’t even an issue with EE. It is definitely a GoDaddy issue, yet you guys are 10x more helpful than GoDaddy. I moved the site to BlueHost and everything works perfectly now! Thanks again! |
|
Also, yes if you could share the script that would be awesome. |
|
You’re most welcome, I’m glad it’s working fine on BlueHost for you. The script can be found here: https://github.com/eventespresso/ee-code-snippet-library/blob/master/utility/tw_ee_paypal_pro_curl_test.php Create a PayPal Pro sandbox account. Input your user, password and signature into the script. You can find those details in the sandbox account in the same way you can from a live account: https://eventespresso.com/wiki/paypal-pro-payment-gateway/#locate But again, remember to use sandbox credentials here, not live. (Live credentials simply will not work at all as the request is sent to sandbox). Place that script on your site, root is fine but it can go anywhere and then navigate to the script. You’ll see various details output to the page.
So far, this has only happened on GoDaddy servers and I’ve been unable to reproduce. That option is a standard cURL option and as you’ve seen works everywhere else so I have no idea what is different on their servers. I’m happy to investigate further if anyone provides any additional information but so far is just points to their config. |
|
The support post ‘PayPal Pro – "No response received from PayPal Pro" (3)’ 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.