If I was able to place the first order correctly, subsequent orders should not fail under the same circumstances. Show
Actual behaviorClean installation of Wordpress 5.9.3 + WooCommerce 6.4.0 + Storefront 4.1.0 I use the system described here to deactivate the checkout fields: I disable the validation of all billing fields. I disable validation of all shipping fields except:
None of those fields are set as requiered to place the order. I use fixed price shipping method. When placing an order, I check the checkbox to ship to a different address and fill in the address, postcode, city and state fields and place the order with no problem. Then I fill the cart and try to place another order, but when I get to the checkout (this time I don't check the checkbox to ship to another address) and place the order, I get this error: Please enter an address to continue. If I click on checkout again, then it does allow me to place the order, but the shipping address data is empty instead of keeping the shipping fields from the previous order. But there is another problem. If I try to place the second order but before I click on place order, I checked the checkbox to ship to a different address, the shipping fields are displayed with the information filled in from the previous order. Then while the shipping fields are visible and filled in, it never lets me place the order even if I click several times because all the time it shows me the error: Please enter an address to continue. I have found that this error occurs also if instead of using the code to hide the fields I use the official Checkout Field Editor plugin. Steps to reproduceDisable the validation of all billing fields using either the Checkout Field Editor plugin or the code here: This document answers frequent questions about the Flexible Checkout Fields plugin, WooCommerce checkout missing settings, and checkout error messages, and helps you when your WooCommerce checkout is not working! Contents GeneralI have installed the plugin but I do not know where the plugin settings areThe plugin is available in the WordPress menu in the WooCommerce > Checkout Fields tab. Flexible Checkout Fields in the WooCommerce menuThe plugin menu is in the upper left corner and contains two items. The first is Settings where it is possible to turn on additional sections. The second item is Checkout Sections and clicking on it will show all sections enabled in the Settings tab. Flexible Checkout Fields Settings and Checkout SectionsFlexible Checkout Fields FREE 💡 If you use more of our plugins you can activate them in the WP Desk > Subscriptions tab or directly in the Plugins menu. I activated the FREE and PRO versions but I still see Upgrade to PRO in the panelThis issue sometimes occurs when there was an error with the installation. Please reinstall the plugins via FTP.
I am using this plugin to insert fields in another form but it does not work as it shouldOur plugin supports fields on the Checkout page (hence its name). So the plugin will work if the form is on the page set in WooCommerce as Checkout. WooCommerce > Settings > Advanced > Checkout page Our plugin uses the Checkout subpage environment and WooCommerce purchasing mechanisms. These two conditions must be met. The plugin will not work if e.g. there is a quotation plugin that skips this purchasing process. OtherValidation error Please enter an address to continue appearing while submitting the formThis message appears when the Country field is hidden. WooCommerce forces this field to be required in most cases. Some shipping and invoice plugins also require this field to be completed and therefore we do not recommend hiding them. Make sure hiding is possible and will not cause a validation error. The settings were not savedIt may happen due to saving a lot of settings at once while the server can't handle the request. It may be caused by the max_input_vars PHP parameter. You can find more information about the server configuration. The WooCommerce checkout field editor is not working
WooCommerce Checkout errorsThe WooCommerce checkout is not workingThere may be several reasons why the WooCommerce checkout page is not working correctly!
WooCommerce checkout fields are not showing
I think the WooCommerce checkout settings are missingYou can set the checkout in several tabs under WooCommerce → Settings:
About WooCommerce checkout error messagesCustomers will see error messages when the WooCommerce checkout field validation fails. It happens especially when a buyer does not enter the value for the required fields. WooCommerce checkout error messagesThe Flexible Checkout Fields plugin uses the same place to add error messages for the built-in validation and custom one for custom checkout fields. Of course, you can also add custom messages to new sections using hooks. You can also modify and adjust the error messages using the custom code with the woocommerce_after_checkout_validation action (hook). Read more in the WooCommerce docs. There is an internal server error message in the WooCommerce checkoutThe WooCommerce checkout internal server error may appear on the page or as a checkout message due to several reasons. Follow the list below to check the reason for the server error message on the WooCommerce checkout page.
The internal server error on the WooCommerce checkout page or any error messages may block getting new orders so it's crucial to handle them and optimize the checkout fields. WooCommerce informs that you must be logged in to checkoutWooCommerce gives you the option to enable guest checkout. You can find it under the WooCommerce → Settings → Accounts & Privacy. Check the first option to let visitors place orders without creating accounts and logging in. If you can see the "you must be logged in to checkout" message, check the Accounts & Privacy settings and enable the Allow customers to place orders without an account option. |