• Resolved bunower

    (@bunower)


    Since couple of days i have problems with this plugin.
    It makes the Checkout page and the Backend like status page and payment settings page extreme slow. I had to set nginx fpm time out to 10 minutes.
    And in the same ime i also get info
    Authentication with PayPal failed: token could not be created.

    i wanted to check what settings cause the problem but i cant enter that page because i am getting constantly 504 timeout after 10 minutes.

    Before everything was okay and running well.

    Running on 4GB Ram
    Php 8.1
    nginx


    Seems like this request timing out. And i tries 45 time to connection.
    This is weird, because i didt not changed anything here.

    POST	https://api.paypal.com/v1/oauth2/token
    ?grant_type=client_credentials	cURL error 28: Connection timeout after 10001 ms	
    
        WooCommerce\P\A\A\PayPalBearer->request()
    
    	Plugin: woocommerce-paypal-payments		10,0039
    • This topic was modified 1 year, 5 months ago by bunower.
    • This topic was modified 1 year, 5 months ago by bunower.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bunower

    (@bunower)

    Additional informations i found out.
    I simply was able to disconnect the account, and the page was loading well. After reconnect or trying to reconnect the account it was not working anymore. Somehow it cant connect to paypal and then it is it hast the above mentioned problem. even through the wizard

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    Thank you for reaching out to us, we are here to help.

    The issue you are reporting seems to be a mix of incorrect account details being used (can be corrected by onboarding the plugin again using the wizard) and hosting related issues. Please take a look here for the cURL error 28 situation and see if you can get this resolved following those instructions.

    This issue is not a common error, so we do believe this is a local issue with your site; not a general issue with our plugin. Please let me know if this helped you further or if you have any more questions.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @bunower

    One addition to my response: we have a feature request open to handle bad site performance when API credentials are invalid or plugin is unable to obtain the token from PayPal. We hope we can improve this in a future update because currently the user experience leaves room for improvement when the plugin was unable to connect to PayPal for the token.

    However, we do not expect the cause for the problem you are experiencing is anything else than hosting performance/issues and the account details to be not correct within the plugin.

    Kind regards,
    Joost

    Thread Starter bunower

    (@bunower)

    So as figured out the Problem is in the plugin itself, after digging into it, paypal said the Paypal api url is NOT https://api.paypal.com. Instead i should try this URL https://api-m.paypal.com .
    After changing the url in plugin, it worked fine.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @bunower

    thank you for letting us know how you got this resolved. We will discuss this further with PayPal and see if we require changes from the plugin side or if PayPal needs to make adjustments to correct this.

    Kind regards,
    Joost

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Makes WordPress to timeout 504’ is closed to new replies.