Support

Home Forums Event Espresso Premium Error connection with my Paypal Account

Error connection with my Paypal Account

Posted: April 17, 2023 at 2:14 am

Viewing 10 reply threads


geraldlembke

April 17, 2023 at 2:14 am

After connecting with paypal, the plugin breaks the connection with this information: “Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received”.

What´s goting wrong?


Sam

  • Support Staff

April 17, 2023 at 6:50 am

Hi Gerald,

The issue you have mentioned above is mostly server side, when the server was unable to communicate to the site within the set time limit.

You can get in touch with the service provider and ask them to increase the timeout limit or any other limitations.

Thank you.


geraldlembke

April 19, 2023 at 4:50 am

Hi Sam,

we have shut down the server so far in its security that it can communicate with everything and everyone without restrictions. However, this error message appears repeatedly: Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received

What else can we do to connect to Papypal?


geraldlembke

April 19, 2023 at 6:54 am

I have a new problem with paypal activation. every time i want to activate the paypal function in the plugin, the page jumps up. activation is no longer possible. I have already deleted the meta data, deactivated the paypal function and then deactivated it again, but the result remains. What is going wrong?


Tony

  • Support Staff

April 19, 2023 at 11:48 am

Ok, so this:

Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 out of 0 bytes received

Basically means your server didn’t receive any response from the request within 5 seconds. 5 seconds should be plenty of time for what it is doing but we can test with a higher timeout to confirm.

First, where exactly are you getting that error, please?

I have a new problem with paypal activation. every time i want to activate the paypal function in the plugin, the page jumps up. activation is no longer possible. I have already deleted the meta data, deactivated the paypal function and then deactivated it again, but the result remains. What is going wrong?

Has that only started happening since fixing the language files in your other thread HERE?

Temporarily rename the /wp-content/uploads/espresso/languages/ directory to something else, just add -temp to the directory name for now.

Then refresh the PayPal Commerce settings page and try again, does it stop that issue?


geraldlembke

April 20, 2023 at 1:15 am

Hey, I can start the connection plugin today without a change in directory name. Here is my video screen trying die connect my paypal with espresso: https://app.screencast.com/dqlD2jtVtJzoz I can repeat it ten times or more


Tony

  • Support Staff

April 20, 2023 at 6:07 am

Ok, let’s check the timeout value isn’t the issue here (I suspect it’s not).

Add this to your site:

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

You can add that to your themes functions.php file, or preferably a custom functions plugin, we have some documentation on creating one here:

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

With the above code added to the site, try again and see what happens. If you get the exact same error showing ~5000 milliseconds the code isn’t running as the timeout is the same.


geraldlembke

April 20, 2023 at 9:40 am

Hi, OK, I did it. The result is no connection: Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received. The Code of the plugin:

<?php
/*
Plugin Name: Site plugin for Paypal on gerald-lemmbke.de
Description: Site specific code for for Paypal on gerald-lemmbke.de
*/
/* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */

/* Stop Adding Functions */

// DO not include the opening php tag if you already have one.

add_filter( ‘http_request_timeout’, ‘tw_ee_curl_timeout_extend’ );
function tw_ee_curl_timeout_extend( $time )
{
// Default timeout is 5
return 20;
}


Tony

  • Support Staff

April 20, 2023 at 12:59 pm

That’s a 10-second timeout even though the code is for 20, but either way that should be plenty so I don’t think this is an issue with the timeout itself.

For some reason, your server can’t communicate with PayPal’s server using cURL.

I’d recommend opening a ticket with your host and asking them about this, cURL is a app installed on the server itself which WordPress is using to send the request so they should be able to check into this further.


geraldlembke

April 21, 2023 at 9:36 am

Hello, I would like to pre-emptively enquire whether I can withdraw from my purchase. The installation in my server and homepage environment creates so much customisation work. Please give me information on how to reverse the transaction. Thank you for your support. Many greetings Gerald GeraldHello, I would like to pre-emptively enquire whether I can withdraw from my purchase. The installation in my server and homepage environment creates so much customisation work. Please give me an information how to realize the rescission. Thanks for your support. Many greetings Gerald


Garth

  • Support Staff

April 21, 2023 at 11:07 am

We will follow up with you by email.

Viewing 10 reply threads

The support post ‘Error connection with my Paypal Account’ 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