Hi @mdm4two
From what I understand, you’re experiencing a problem where all orders are failing in Test Mode, and in Live Mode, only Paypal is showing up as a payment option on Microsoft Edge. On Chrome, both Credit and Paypal options are visible, but not WooPay. Additionally, when you attempt to test with a random card, you’re encountering an error message stating “Cannot read properties of undefined (reading ‘id’)”. You’ve also mentioned that you tried switching the theme to Twenty Twenty-Three, but the issue persisted, leading you to believe it could be a conflict with WooCommerce or one of your plugins.
Here are a few steps you can take to troubleshoot this issue:
- Check Payment Gateway Settings: Ensure that your payment gateways (Credit Cards, Paypal, WooPay) are correctly configured in WooCommerce settings.
- Update Your Plugins and WooCommerce: Make sure that your WooCommerce plugin, as well as all other plugins, are updated to their latest versions. Sometimes, outdated versions can cause conflicts.
- Disable All Plugins: Try disabling all plugins except WooCommerce to see if the issue persists. If the problem is resolved, you can then enable your plugins one by one to identify which one is causing the conflict.
- Switch to a Default Theme: Although you’ve tried switching to Twenty Twenty-Three, it might be worth trying with a default theme like Storefront to rule out any theme-related issues. Here’s a helpful guide on how to test for conflicts: ?? How to Test for Plugin and Theme Conflicts.
- Look for JavaScript errors: JavaScript errors can disrupt functionality. Use your browser’s console to check for these errors.?? Here’s a useful guide on Using Your Browser to Diagnose JavaScript Errors.
- Enable Debugging: If the problem persists, turn on debugging in WordPress. This can help identify the root cause. You can enable debugging by adding these lines to your wp-config.php file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
This will create a debug.log file in your wp-content directory, logging any PHP errors or notices. For a more detailed guide on enabling debugging in WordPress, you can visit this link: ?? Debugging in WordPress
If the issue continues after trying these steps, please share more details, like the exact error messages you see when debug mode is on. This will help us identify and solve the problem more effectively.
Also, we’d find it helpful if you could share your site’s System Status report. This will give us a better understanding of your site’s setup and help us pinpoint the problem. You can find it via WooCommerce > Status
. Select Get system report
and then Copy for support
.
Lastly, could you share the fatal error logs (if any) under WooCommerce > Status > Logs
.
Once you’ve gathered this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.
Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.