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!