Viewing 15 replies - 1 through 15 (of 35 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Actually, when using the DoDirectPayment the test numbers they show in those docs don’t work well. What I like to do is use this tool to generate random card numbers for testing. The PayPal sandbox will accept numbers generated by that tool. Give that a shot let me know how it goes.

    Thread Starter geremy846

    (@geremy846)

    Thanks for the quick response.

    Unfortunately, I tried multiple different card numbers from that generator, but none worked. I still have the same error.

    Plugin Contributor angelleye

    (@angelleye)

    Make sure logging is enabled and then run another test. Then you’ll find a log file under the /wc-logs directory at your site root. Please provide the request and response from the failed transaction so I can take a look.

    Thread Starter geremy846

    (@geremy846)

    I have logging enabled, and I ran through my same testing process, and got the same error, but when I went to look for the log file, it was not there.

    In the directory /wc_logs, the only files there were “test-log.log” (which was blank) “index.html” and “.htaccess”.

    Is the log file not appearing because my testing process is not correct and therefore not triggering a log? My process is just adding an item to my cart, clicking “Pay With Credit Card” (which is the PayPal Pro method, correct?), and entering my payment info. This is the only way I thought of to test, as it is how a customer would go through the process, and am unsure if there is another way.

    Do you know how I can get the log file to appear? Sorry for my lack of knowledge.

    Plugin Contributor angelleye

    (@angelleye)

    Yeah, when you submit that form it should generate a DoDirectPayment request to PayPal and would get a response back, which is where that 10001 error typically comes from.

    So it sounds like the call itself is working. I’m not sure why your logs wouldn’t be getting saved there unless you have some sort of unique log configuration in WordPress. Maybe a plugin or something changing default locations for logs..?? Maybe everything is getting saved in your theme directory somewhere..??

    If you’re consistently getting that specific timeout error then it could be a communication issue with your server and the PayPal servers. I’ve run some tests against PayPal’s sandbox and I’m getting successful calls, so it’s not an issue on their end.

    If you dig into the code a little bit and output the cURL error details you might be able to get more info about what’s going on.

    Thread Starter geremy846

    (@geremy846)

    I disabled all my plugins other than Woo and yours, and still got the same error, but still no log file was to be found. I searched all my directories for what the file should be called “paypal-pro.log” but still could not find it..

    All I did find was a correlation ID for each failed order that appeared under “Order Notes” in Woocommerce, which I have a feeling won’t help you help me very much.

    I’m sorry, but could you go in to a little more detail about how I would “dig in to the code and output the cURL error details”? I don’t know how to access the code you are talking about, and that is the first time I’ve seen the term cURL…

    I’m sorry I have so little understanding of all this, I will be donating to you as a thanks for your help.

    Plugin Contributor angelleye

    (@angelleye)

    I’d be happy to help more directly, but I’ll need you to submit an order for premium support in order for me to do that. This is not an issue I’ve had any other complaints about and I can’t reproduce it myself, so there must be something unique going on with your setup.

    Thread Starter geremy846

    (@geremy846)

    Alright, thanks for your help thus far. I may submit an order for premium support in a few days or so. Thank you.

    Plugin Contributor angelleye

    (@angelleye)

    I’m going to go ahead and close this ticket here, but let me know if any other questions come up.

    deltamogul

    (@deltamogul)

    Hi..i am having the same error message Error: 10001-Timeout processing request
    how do i fix it thanks

    Plugin Contributor angelleye

    (@angelleye)

    Is that happening with the sandbox or live? Can you make sure logging is enabled and send me a copy of the log file? Make sure to mask your API credentials and credit card details (if any).

    deltamogul

    (@deltamogul)

    It’s happening “Live”. Just like geremy846 there is no log file on wcologs just “index.html” and “.htaccess”.

    Plugin Contributor angelleye

    (@angelleye)

    Is it with Express Checkout or Payments Pro?

    Sometimes the log file can end up in different places depending on your site/server config. Can you do a site-wide search for a file starting with “paypal-pro-” or “paypal_express-” depending on what you’re using and see if you can find the logs?

    That error typically only happens if PayPal’s server is indeed timing out (which is very rare) or if there’s a problem with the request format causing their system to be unable to read it correctly. That’s why I need to get a look at the request log to see if somehow something funky is getting passed over. If logging is enabled it must be getting saved somewhere (unless you have file permissions set in a way that would be denying access for plugins to create files/folders).

    Plugin Contributor angelleye

    (@angelleye)

    I think the latest version of WooCommerce actually moved the logs to /wc-content/uploads/wc-logs/ so you might want to check there.

    deltamogul

    (@deltamogul)

    i found the log..should i post it here?

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Error: 10001-Timeout processing request’ is closed to new replies.