Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter stevemarsden

    (@stevemarsden)

    Hi

    Thank you for the response and potential fix. That sounds great.

    I do agree that you would think 30 seconds was long enough. There is a noticeable delay between clicking the PayPal button and the error appearing. I haven’t timed it so it may be 30seconds.

    After doing some research on GitHub, I found this post

    You can increase the curl timeout in WordPress to, let’s say 300, simply by adding this line in your wp-config.php file: ini_set( ‘default_socket_timeout’, 300 );?

    and so I have added the line ini_set( ‘default_socket_timeout’, 60 );?

    This seems to have resolved the error but the problem was intermittent and has gone away previously without any changes only to reappear but for now this change seems to have solved it.

    Interestingly though, there now doesn’t seem to be any delay between clicking the button and it proceeding to PayPal. i.e. it works but not after a 30 second delay so I agree with your comment about 30 seconds being a long time to timeout and wonder if something else is going on at their end.

    It has also previously worked since going live about 6 months ago without any issues on the same server so not sure if they have changed something at IONOS.

    I will remove the wp-config line and try the updated version when done and keep you informed.

    Thanks again for your excellent support (and product!)

    Steve

    Thread Starter stevemarsden

    (@stevemarsden)

    Hi

    The above problem has returned.

    I have contacted the server hosting IONOS and their technical support have said we need to get the developer to increase the timeout value. Can you advise please and is this something you can change in the plugin.

    Thanks

    Steve

    Thread Starter stevemarsden

    (@stevemarsden)

    Before contacting our host (IONOS), I thought I would try again now and the problem seems to have resolved itself so whatever was happening at the server has been fixed.

    Thanks for your help

    Thread Starter stevemarsden

    (@stevemarsden)

    I just realised I had debugging on so here is a section of the log from today:

    I can email the whole current log file if you let me have an email address

    [01/10/2025 3:29 PM] - SUCCESS :pp_create_order ajax request received for createOrder. Cart ID: 1755, On Page Button ID: wpsc_paypal_button_1
    [01/10/2025 3:29 PM] - SUCCESS :Shipping preference based on the 'all items digital' flag: GET_FROM_FILE
    [01/10/2025 3:29 PM] - SUCCESS :[New Token] Creating a new PayPal API access token for environment mode: production
    [01/10/2025 3:29 PM] - FAILURE :Error occurred with the PayPal API (by URL) request. Error message: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received
    [01/10/2025 3:29 PM] - FAILURE :PayPal Debug ID: , Request URL: https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    [01/10/2025 3:29 PM] - SUCCESS :Executing order create (v2/checkout/orders) using URL and args.
    [01/10/2025 3:29 PM] - SUCCESS :PayPal Debug ID from the REST API (by URL) request. Debug ID: 4cddc27c3fac5, Request URL: https://api-m.paypal.com/v2/checkout/orders
    [01/10/2025 3:29 PM] - SUCCESS :PayPal Order ID:
    [01/10/2025 3:29 PM] - SUCCESS :pp_create_order ajax request received for createOrder. Cart ID: 1755, On Page Button ID: wpsc_paypal_button_1
    [01/10/2025 3:29 PM] - SUCCESS :Shipping preference based on the 'all items digital' flag: GET_FROM_FILE
    [01/10/2025 3:29 PM] - SUCCESS :[New Token] Creating a new PayPal API access token for environment mode: production
    [01/10/2025 3:30 PM] - FAILURE :Error occurred with the PayPal API (by URL) request. Error message: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received
    [01/10/2025 3:30 PM] - FAILURE :PayPal Debug ID: , Request URL: https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    [01/10/2025 3:30 PM] - SUCCESS :Executing order create (v2/checkout/orders) using URL and args.
    [01/10/2025 3:30 PM] - SUCCESS :PayPal Debug ID from the REST API (by URL) request. Debug ID: 6aa4f354b471c, Request URL: https://api-m.paypal.com/v2/checkout/orders
    [01/10/2025 3:30 PM] - SUCCESS :PayPal Order ID:
    [01/10/2025 3:31 PM] - SUCCESS :pp_create_order ajax request received for createOrder. Cart ID: 1755, On Page Button ID: wpsc_paypal_button_1
    [01/10/2025 3:31 PM] - SUCCESS :Shipping preference based on the 'all items digital' flag: GET_FROM_FILE
    [01/10/2025 3:31 PM] - SUCCESS :[New Token] Creating a new PayPal API access token for environment mode: production
    [01/10/2025 3:32 PM] - FAILURE :Error occurred with the PayPal API (by URL) request. Error message: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received
    [01/10/2025 3:32 PM] - FAILURE :PayPal Debug ID: , Request URL: https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    [01/10/2025 3:32 PM] - SUCCESS :Executing order create (v2/checkout/orders) using URL and args.
    [01/10/2025 3:32 PM] - SUCCESS :PayPal Debug ID from the REST API (by URL) request. Debug ID: f0942bebb9c2d, Request URL: https://api-m.paypal.com/v2/checkout/orders
    [01/10/2025 3:32 PM] - SUCCESS :PayPal Order ID:
    [01/10/2025 3:34 PM] - SUCCESS :pp_create_order ajax request received for createOrder. Cart ID: 1755, On Page Button ID: wpsc_paypal_button_1
    • This reply was modified 1 month, 3 weeks ago by stevemarsden.
    Thread Starter stevemarsden

    (@stevemarsden)

    Thank you for the reply. Yes this resolves the issue.

    Thread Starter stevemarsden

    (@stevemarsden)

    I have just discovered that if I deactivate W3 Total Cache, it works.

    I have also found a fix for premium plugins in a support document which says to include these in Rejected Cookies

    ap_id
    cart_in_use
    eMember_in_use

    I have tried these for the non Premium Simple Shopping Cart and they also resolve the problem there.

    Just wanted to check if these ones recommended for premium are the same for the free version or are there any extra or any excluded?

    If the above is ok, then this issue is solved

    Thanks

    Thread Starter stevemarsden

    (@stevemarsden)

    PS I have flushed cache and also updated Permalinks.

    Thread Starter stevemarsden

    (@stevemarsden)

    Thank you

    stevemarsden

    (@stevemarsden)

    My issue was when I clicked View or View profile.

    After debugging, I found these were trying to go to certain page ID which turned out to be the User page which had got changed to Draft status rather than Published.

    The field in settings for the User Page was showing as my home page but it was still trying to access the draft User Page. Once I published the User page and changed the User Page setting to this page, everything worked

    stevemarsden

    (@stevemarsden)

    Also the issue on trying to access member profiles

    Thread Starter stevemarsden

    (@stevemarsden)

    The script in the link above worked perfectly, thanks

    Thread Starter stevemarsden

    (@stevemarsden)

    Apologies. I have just tried it again on both iPad and iPhone and it links on one click. I think what I must have been doing was clicking to the right of the text which just moves to and highlights the row and then clicking the link text to action it so it appeared as if you needed to click twice. Clicking on the link text works as expected on one click.Very sorry for the confusion.

    However, this leads me to ask if it’s possible to action the link by just clicking the row and not needing to click the link text itself.

    Thanks.

    Thread Starter stevemarsden

    (@stevemarsden)

    Hi

    Its not an issue specifically with TablePress. From browsing, there are many posts about it on lots of products and sites and Apple say its by design so the many solutions are workarounds to prevent having to double click on anything with a Hover styling on ios resulting in having to double click on iPhone or iPad. No issue on Windows PC.

    https://actionwestlondon.org.uk/acton-market-pages/actonmarkethome/
    The table is the vertical table of links on the right hand side.

    • This reply was modified 5 years, 10 months ago by stevemarsden.
    • This reply was modified 5 years, 10 months ago by stevemarsden.

    Sorry, yes, it was the theme

    Was there ever a solution to this. I have the same issue.
    Row Striping is unticked. Caches are cleared. Preview looks ok but in browser (Chrome and Edge) striping is on

    • This reply was modified 6 years, 9 months ago by stevemarsden.
Viewing 15 replies - 1 through 15 (of 17 total)