Checkout Validation Errors
-
Almost half of the orders place on my site fail because of zip code/postal code validation. When I compare the failed vs successful orders, often the addresses are identical. This is very frustrating to the user as they are putting in the correct info but it’s still failing. Any idea why this happens?
I’ve even seen recently where their card is declined because of insufficient funds but the successful order used the exact same credit card and same address.. nothing different.
The page I need help with: [log in to see the link]
-
Thanks for reaching out!
Almost half of the orders place on my site fail because of zip code/postal code validation.
Can you please share what payment gateway was used for these failed orders since upon checking on your site’s Checkout page, I confirm that you are using the WooCommerce Payments plugin?
When I compare the failed vs successful orders, often the addresses are identical. This is very frustrating to the user as they are putting in the correct info but it’s still failing. Any idea why this happens?
Have you seen any patterns or similarities to the failed orders? Like, same customer, same payment gateway, same product, same category, etc?
I’d like to understand your site properly, please share your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.Thanks!
I’m using woocommerce payments which uses stripe express. I don’t notice a pattern, it just a daily thing with different customers.
Here are the copy and pastes you asked for:
<br>WordPress Environment<br>WordPress address (URL): https://www.rubberstamps4u.ca<br>Site address (URL): https://www.rubberstamps4u.ca<br>WC Version: 7.3.0<br>REST API Version: ?</img> 7.3.0<br>WC Blocks Version: ?</img> 9.1.5<br>Action Scheduler Version: ?</img> 3.4.0<br>Log Directory Writable: ?</img><br>WP Version: 6.1.1<br>WP Multisite: –<br>WP Memory Limit: 500 MB<br>WP Debug Mode: –<br>WP Cron: ?</img><br>Language: en_US<br>External object cache: –<br>Server Environment<br>Server Info: Apache<br>PHP Version: 7.4.30<br>PHP Post Max Size: 512 MB<br>PHP Time Limit: 120<br>PHP Max Input Vars: 1000<br>cURL Version: 7.58.0<br>OpenSSL/1.1.1<br>SUHOSIN Installed: –<br>MySQL Version: 8.0.28-0ubuntu0.20.04.3<br>Max Upload Size: 512 MB<br>Default Timezone is UTC: ?</img><br>fsockopen/cURL: ?</img><br>SoapClient: ?</img><br>DOMDocument: ?</img><br>GZip: ?</img><br>Multibyte String: ?</img><br>Remote Post: ?</img><br>Remote Get: ?</img><br>Database<br>WC Database Version: 7.3.0<br>WC Database Prefix: wp_s8dp9x_<br>Total Database Size: 40.30MB<br>Database Data Size: 30.41MB<br>Database Index Size: 9.89MB<br>wp_s8dp9x_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_order_itemmeta: Data: 0.23MB + Index: 0.25MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_actionscheduler_actions: Data: 2.02MB + Index: 1.23MB + Engine InnoDB<br>wp_s8dp9x_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_actionscheduler_logs: Data: 1.52MB + Index: 0.44MB + Engine InnoDB<br>wp_s8dp9x_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_comments: Data: 0.17MB + Index: 0.09MB + Engine InnoDB<br>wp_s8dp9x_content_tabs_ultimate_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_content_tabs_ultimate_style: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_e_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_e_submissions: Data: 0.36MB + Index: 0.89MB + Engine InnoDB<br>wp_s8dp9x_e_submissions_actions_log: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>wp_s8dp9x_e_submissions_values: Data: 0.17MB + Index: 0.09MB + Engine InnoDB<br>wp_s8dp9x_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_options: Data: 7.08MB + Index: 0.16MB + Engine InnoDB<br>wp_s8dp9x_oxi_div_import: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_postmeta: Data: 7.34MB + Index: 4.73MB + Engine InnoDB<br>wp_s8dp9x_posts: Data: 2.17MB + Index: 0.41MB + Engine InnoDB<br>wp_s8dp9x_rednaowooextraproduct_global_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_slides: Data: 0.11MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_trustindex_google_reviews: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_s8dp9x_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wp_s8dp9x_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_s8dp9x_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_s8dp9x_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_wc_product_meta_lookup: Data: 0.14MB + Index: 0.31MB + Engine InnoDB<br>wp_s8dp9x_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_s8dp9x_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_wpml_mails: Data: 6.52MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_yith_wapo_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_s8dp9x_yith_wapo_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>Post Type Counts<br>attachment: 237<br>custom_css: 1<br>customize_changeset: 4<br>elementor_library: 22<br>elementor_snippet: 1<br>fpf_fields: 1<br>nav_menu_item: 42<br>oxi_woo_tabs: 1<br>page: 30<br>post: 2<br>product: 35<br>product_variation: 1262<br>revision: 141<br>shop_coupon: 17<br>shop_order: 96<br>shop_order_refund: 7<br>wapf_product: 1<br>wcpa_pt_forms: 1<br>wootrello: 1<br>wootrello_log: 75<br>wp_global_styles: 1<br>yaye_option_set: 1<br>Security<br>Secure connection (HTTPS): ?</img><br>Hide errors from visitors: ?</img><br>Active Plugins (24)<br>Template Library and Redux Framework: by Extendify – 4.3.25<br>Akismet Anti-Spam: by Automattic – 5.0.2<br>Checkout Files Upload for WooCommerce: by WP Wham – 2.1.4<br>DreamHost Panel Login: by DreamHost<br>danielbachhuber – 1.0.0<br>easy-price-calculator: by Frank Ortiz – 1.0.0<br>Elementor Pro: by Elementor.com – 3.7.7<br>Elementor: by Elementor.com – 3.10.2<br>Facebook for WooCommerce: by Facebook – 3.0.8<br>Hotjar: by Hotjar – 1.0.14<br>Jetpack Boost: by Automattic - Jetpack Site Speed team – 1.7.0<br>Jetpack: by Automattic – 11.7.1<br>Product Assembly / Gift Wrap / … Cost for WooCommerce: by PT Woo Plugins (by Webdados) – 3.1<br>SVG Support: by Benbodhi – 2.5.5<br>Upsell Order Bump Offer for WooCommerce: by WP Swings – 2.1.8<br>WPC Smart Quick View for WooCommerce: by WPClever – 3.3.5<br>WooCommerce Payments: by Automattic – 5.3.0<br>WooCommerce: by Automattic – 7.3.0<br>jav's - WooCommerce and Trello integration WooTrello: by javmah – 3.2.3<br>WP File Manager: by mndpsingh287 – 7.1.7<br>WP Mail Logging: by SendLayer – 1.10.5<br>WP Mail SMTP: by WPForms – 3.7.0<br>WP-Optimize - Clean, Compress, Cache: by David Anderson<br>Ruhani Rabin<br>Team Updraft – 3.2.10<br>Widgets for Google Reviews: by Trustindex.io – 9.8.3<br>WPForms Lite: by WPForms – 1.7.9.1<br>Inactive Plugins (6)<br>PublishPress Revisions: by PublishPress – 3.1.10<br>Tabs – Responsive Tabs with WooCommerce Product Tab Extension: by Biplob Adhikari – 4.0.2<br>WP Armour - Honeypot Anti Spam: by Dnesscarkey – 2.1<br>WPC Smart Compare for WooCommerce: by WPClever – 5.3.6<br>WPC Smart Wishlist for WooCommerce: by WPClever – 4.6.0<br>WP Super Cache: by Automattic – 1.9.3<br>Settings<br>API Enabled: ?</img><br>Force SSL: –<br>Currency: CAD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: –<br>Order datastore: WC_Order_Data_Store_CPT<br>WC Pages<br>Shop base: #5 - /shop/<br>Cart: #6 - /cart/<br>Checkout: #7 - /checkout/<br>My account: #8 - /my-account/<br>Terms and conditions: ?</img> Page not set<br>Theme<br>Name: Freshio Child<br>Version: 2.1.5<br>Author URL:<br>Child Theme: ?</img><br>Parent Theme Name: Freshio<br>Parent Theme Version: 2.1.9<br>Parent Theme Author URL: https://pavothemes.com/<br>WooCommerce Support: ?</img><br>Templates<br>Overrides: freshio/woocommerce/cart/mini-cart.php<br>freshio/woocommerce/checkout/form-checkout.php<br>freshio/woocommerce/content-widget-product.php<br>freshio/woocommerce/content-widget-reviews.php<br>freshio/woocommerce/loop/loop-start.php<br>freshio/woocommerce/myaccount/form-login.php<br>freshio/woocommerce/order/form-tracking.php<br>freshio/woocommerce/product-searchform.php<br>freshio/woocommerce/single-product/meta.php<br>freshio/woocommerce/single-product/title.php<br>Checkout Files Upload Settings<br>WooCommerce Checkout Files Upload: yes<br>Total file uploaders: 1<br>Form extras: yes<br>Enable alert on successful file upload: yes<br>Enable alert on successful file remove: no<br>Max file size: 0<br>alg_checkout_files_upload_max_file_size_exceeded_message: Allowed file size exceeded (maximum %max_file_size% MB).<br>Attach files to admin's new order emails: yes<br>Attach files to customer's processing order emails: no<br>Send additional email to admin on user actions: Array<br>(<br>)<br>Attach file on upload action: yes<br>Recipient(s): (set)<br>Subject: [{site_title}] Checkout files upload action in customer order ({order_number}) - {order_date}<br>Email heading: {action}: File #{file_num}<br>Email content: File name: {file_name}<br>Action: File removed: File removed<br>Action: File uploaded: File uploaded<br>Before: Label:<br>?<br>%field_label%%required_html%<br><code>Field Container: %button_html% %field_html% Uploaded File: %image% %file_name% %remove_button% After:</code><br>Label:<br>%field_label%%required_html%:<br>Field Container:<br>%button_html% %field_html%:<br>Uploaded File: %image% %file_name% %remove_button%<br>After:<br>"Delete" button style: color:red;<br>Image style: width:64px;<br>Enable/disable: yes<br>Required: no<br>Accepted file types:<br>Validate image dimensions:<br>Width: 1<br>Height: 1<br>Checkout page: woocommerce_before_checkout_form<br>Position order (i.e. priority): 20<br>"Thank You" page: no<br>"My Account" page: no<br>Label: Please upload logo or stamp design here (300 DPI<br>High Resolution<br>Black & White)<br>Upload button (single): Upload File<br>Wrong file type: Wrong file type: "%s"<br>Wrong image dimensions: Wrong image dimensions for "%s". Current: %current_width% x %current_height%. Required: %required_width% x %required_height%.<br>Couldn't get image dimensions: Couldn't get image dimensions: "%s"<br>File is required: File is required.<br>File was successfully uploaded: File "%s" was successfully uploaded.<br>File was successfully removed: File "%s" was successfully removed.<br>Require products: Array<br>(<br>)<br>Require product categories: Array<br>(<br>)<br>Require product tags: Array<br>(<br>)<br>Label:<br>%field_label%%required_html%:<br>Field Container:<br>%button_html% %field_html%:<br>Uploaded File: %image% %file_name% %remove_button%<br>After:<br>Admin<br>Enabled Features: activity-panels<br>analytics<br>coupons<br>customer-effort-score-tracks<br>experimental-products-task<br>experimental-import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>multichannel-marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>Disabled Features: minified-js<br>new-product-management-experience<br>settings<br>Daily Cron: ?</img> Next scheduled: 2023-02-01 20:54:27 -05:00<br>Options: ?</img><br>Notes: 43<br>Onboarding: completed<br>WooCommerce Payments<br>Version: 5.3.0<br>Connected to WPCOM: Yes<br>Blog ID: 203706791<br>Account ID: acct_1LMyAi2HLSneRwOB<br>Action Scheduler<br>Canceled: 28<br>Oldest: 2023-01-05 15:40:51 -0500<br>Newest: 2023-01-30 17:14:28 -0500<br>Complete: 3,494<br>Oldest: 2023-01-13 14:00:07 -0500<br>Newest: 2023-02-01 07:44:18 -0500<br>Pending: 8<br>Oldest: 2023-02-01 14:28:39 -0500<br>Newest: 2023-02-06 14:06:15 -0500<br>Status report information<br>Generated at: 2023-02-01 08:34:56 -05:00<br>
2023-01-17T22:05:11+00:00 CRITICAL Uncaught Error: Call to a member function delete() on bool in /home/sartra5/rubberstamps4u.ca/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:2520 Stack trace: #0 /home/sartra5/rubberstamps4u.ca/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(2712): WC_AJAX::variation_bulk_action_delete_all(Array, Array) #1 /home/sartra5/rubberstamps4u.ca/wp-includes/class-wp-hook.php(308): WC_AJAX::bulk_edit_variations(”) #2 /home/sartra5/rubberstamps4u.ca/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #3 /home/sartra5/rubberstamps4u.ca/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/sartra5/rubberstamps4u.ca/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_woocomm…’) #5 {main} thrown in /home/sartra5/rubberstamps4u.ca/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 2520 2023-01-17T22:05:11+00:00 CRITICAL Uncaught Error: Call to a member function delete() on bool in /home/sartra5/rubberstamps4u.ca/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:2520 Stack trace: #0 /home/sartra5/rubberstamps4u.ca/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(2712): WC_AJAX::variation_bulk_action_delete_all(Array, Array) #1 /home/sartra5/rubberstamps4u.ca/wp-includes/class-wp-hook.php(308): WC_AJAX::bulk_edit_variations(”) #2 /home/sartra5/rubberstamps4u.ca/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #3 /home/sartra5/rubberstamps4u.ca/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/sartra5/rubberstamps4u.ca/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_woocomm…’) #5 {main} thrown in /home/sartra5/rubberstamps4u.ca/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 2520
Hi there @sarahtrafford
From what I gather, your store is set up to sell in Canada and the US alone. Correct?
As I understand, postcodes in Canada come with a space after the first three characters; which leads me to believe there are some shipping zone settings already set up at your store. Correct?
For some further clarification, feel free to check out the issue reported here, and here, along with the one here.
When I compare the failed vs successful orders, often the addresses are identical. This is very frustrating to the user as they are putting in the correct info but it’s still failing.
I went ahead with placing a test order, for a test installation of mine, using the address of this hotel in Canada, and it was completed in the first go.
A picture is worth a thousand words, as the saying goes, therefore, could you also share screenshots of the shipping zones screen, found at WooCommerce > Settings > Shipping, please? https://snipboard.io/ is a good (online) tool of choice for sharing it here.
Or, even better, if possible, share a sample address that has failed and then was accepted – after omitting personal details?
I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.
Hi @sarahtrafford ,
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.
Cheers!
- The topic ‘Checkout Validation Errors’ is closed to new replies.