• Resolved dariialeliukh

    (@dariialeliukh)


    I have a site with WooCommerce installed. It was created about a month ago and all orders were tested. Now, no orders are coming in. When trying to place the order, I get an error message: “Please provide a valid email address.”. The email is definitely inserted there. I made different user cases, test payment and real payment, with and without a coupon. Email is and should be required for the shipping details but the form will not allow to place the order without email been set in billing address

    Here is a similar situation another user experienced https://wordpress.org/support/topic/checkout-bill-to-different-address-not-mandatory-therefore-no-email-address/

    Here is the message I see in console:

    <script type="text/javascript">
    				jQuery(document).ready(function($) {
    					$('#ship-to-different-address-checkbox').prop('checked', false); //Uncheck the checkbox
    				});
    			</script>
    			{"result":"failure","messages":"<ul class=\"woocommerce-error\" role=\"alert\">\n\t\t\t<li>\n\t\t\tPlease provide a valid email address.\t\t<\/li>\n\t<\/ul>\n","refresh":false,"reload":false}

    Here is the screenshot of checkout form.

    https://pasteboard.co/KANpmxEm8lv9.png

    Notice that email is there and is definitely a valid one.

    Here are the plugins I have now:

    Elementor
    Elementor Pro
    Facebook for WooCommerce
    GTM for WooCommerce FREE
    The Bluehost Plugin
    WooCommerce
    WooPayments
    WP Mail Logging
    WP Mail SMTP
    YITH PayPal Payments for WooCommerce Extended
    YITH Shippo Shippings for WooCommerce Extended
    Yoast SEO

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @dariialeliukh,

    I understand you’re having issues with your checkout page asking for an email. Can you check on your WooCommerce → Settings → Shipping → Shipping Settings → Shipping destination that it is set to “Default to customer billing address” as shown here? https://prnt.sc/jI1pRy16zAE0.

    Additionally, to rule out a possible theme issue, can you try switching your theme to Storefront temporarily and seeing if the issue persists?

    In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thanks!

    Thread Starter dariialeliukh

    (@dariialeliukh)

    No, My settings were set to “shipping address”dafault to customer shipping address”. If changed, then billing address is first one to fill out in the form. But we have physical products, so the shipping address should be first and “billing same as shipping” should be available. That’s how I want it to work and that’s how lots of systems work.

    Here is the system status

    https://gist.github.com/DariiaLeliukh/2efd938c55112aedf0b4ddeaaf14c79a

    And I don’t see any fatal error logs under WooCommerce Status Logs. There are 35 files, but there are no files with fatal errors.

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @dariialeliukh,

    Thanks for sharing additional information. I couldn’t replicate the issue on my testing site. I used “Default to customer shipping address” as the shipping destination and checkout block.

    I’ve also run tests using the WooCommerce checkout shortcode. I noticed that the “Billing details” section appears first, rather than the shipping section. When a user is logged in, the “Ship to a different address?” section automatically fills in. However, this section remains empty for users who aren’t logged in. I then deselected this option, added only the billing information, and proceeded to checkout. Everything went smoothly. Upon checking the order details, I saw that the shipping information had automatically been updated with the billing information.

    Could you also please check whether the checkout block works for you or not? If not, are you using any custom code or plugin to customize the checkout flow? Can you run a conflict test to help you identify the cause of the issue? More info: https://woo.com/document/how-to-test-for-conflicts/

    I hope this provides some clarity. Please let us know if you have any other questions!

    anastas10s

    (@anastas10s)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Please provide a valid email address – wrongful’ is closed to new replies.