• Resolved roniewebstudio17

    (@roniewebstudio17)


    I have a problem with the checkout page of my website. Whenever I try to complete a purchase, it redirects to a page with JSON result. Please see below:

    {“result”:”success”,”redirect”:”https:\/\/thestunnedmullet.com.au\/checkout\/order-received\/197934\/?key=wc_order_1UrzpJoLXkkf9″}

    How do I solve this please? The order is being registered in WC Orders in backend but when I go back to cart, the products in the order is still there.

    Thanks in advance for any insight.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @roniewebstudio17

    Based on the JSON result you provided, it appears that the order is being processed successfully, but the redirection to the order confirmation page is not working as expected. To resolve this issue, please follow the troubleshooting steps outlined below:

    Check for plugin conflicts: It’s possible that a plugin conflict may be causing this issue. To rule this out, please temporarily disable all plugins on your site except WooCommerce and test the checkout process again. If the problem is resolved, you can reactivate your plugins one by one to identify the conflicting plugin.

    Check your theme: Sometimes, issues with the checkout process can be related to the active theme. To check if this is the case, temporarily switch to a default Storefront theme and test the checkout process again. If the issue is resolved, you may need to contact the theme developer for assistance.

    Update WooCommerce and other plugins: Make sure you’re using the latest version of WooCommerce and all other plugins on your site. Outdated plugins can cause compatibility issues and unexpected behavior.

    Check for JavaScript errors: JavaScript errors can interfere with the checkout process. To check for JavaScript errors, open your browser’s developer console (usually accessible by pressing F12 or Ctrl+Shift+J) and look for any error messages in the console while trying to complete a purchase. If you find any errors, please share them with us so we can help you further.

    Enable WooCommerce debug mode: Enabling debug mode can help identify issues with the checkout process. To enable debug mode, add the following lines to your wp-config.php file:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    After adding these lines, try the checkout process again and check the debug.log file located in the wp-content folder for any error messages related to WooCommerce.

    If none of the above steps resolve the issue, please share your System Status Report, which you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, paste it into your reply here. This will help the WooCommerce team investigate further and provide a more accurate solution.

    Thanks!

    Thread Starter roniewebstudio17

    (@roniewebstudio17)

    Thanks, discovered that the cause was a recaptcha plugin for woocommerce. Disabled it and checkout page worked OK. Thanks!

    Hi @roniewebstudio17 ,

    Glad to hear that you have managed to identify the culprit causing the issue.

    I will go ahead and mark this as resolved then. Feel free to create a new topic if you need further help ??

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JSON code shows after WC Checkout’ is closed to new replies.