Checkout validation not working
-
Right now my client’s store has two payment gateways, and with both of them I have the problem that the “submit” or “finish purchase” buttons do not work as spected because the default validation of Woocommerce it’s not working at all and when pressing the buttons, nothing happens.
So far, I′ve tried:
– disabling ALL plugin one by one.
– Disabling the theme.
– Cheking all the errors in the console screen.
– I’ve also tried with another oayment method like the default “bacs” of Woocommerce, and that one works well and makes the validation just fine.
– I’ve tested these payment methods that do not work is this site in other sites and they do work, so It’s no a problem with the payment gateways itself, but It’s also not a problem of my theme or plugins!
Please help.The page I need help with: [log in to see the link]
-
Hi @maggieee87 ,
Thanks for reaching out!
I understand that the “submit” button is not working as expected with 2 payment gateways on your clients site, however when testing with a payment option, such as BACS, the order can be placed without any issues, is that correct?
Please can you clarify which 2 payment gateways are exhibiting this behavior on the site?
Additionally, can you please share a copy of the following so that we can take a closer look at the sites current environment:
- System Status report: which you can find via WooCommerce → Status. Select
Get system report
and thenCopy for support
. - Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
- Console errors:?Please share any errors you may have identified when inspecting the console.
Once you have this, please share the results in your response here.
Cheers!
Hi @maggieee87 ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.
Cheers!
Hello!
Sorry for taking so long to answer, but I’ve never recibed in my inbox that there was a reply on mi question! Sorry about that!
FYI: I’m not sure If i was clear before explaining myself the problem itsefl; the checkout works and the payment gateways also. The only problem is that the WC default validation it’s not working at all, so that makes user a confusing experience, because if there is at least one error in the checkout form, It looks as if the whole thing it’s broken/not working.
The payment gateways causing the issue are popular, but in my country, not in United States I belive:
– Mercado pago: https://woocommerce.com/es-es/products/mercado-pago-checkout/
– Payway gateway
CONSOLE ERRORS IN CHECKOUT:
ERROR LOGS:
– Most of them, are similar to these:2023-07-03T20:32:30+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) en /home/c2031281/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php en la línea 22010 2023-06-15T23:29:37+00:00 CRITICAL require_once(): Failed opening required '/home/c2031281/public_html/wp-content/plugins/wc-gateway-payway/includes/class-payway-logger.php' (include_path='.:/opt/php7-4/lib/php') en /home/c2031281/public_html/wp-content/plugins/wc-gateway-payway/includes/class-payway-wc.php en la línea 124 2023-06-15T23:29:37+00:00 CRITICAL require_once(): Failed opening required '/home/c2031281/public_html/wp-content/plugins/wc-gateway-payway/includes/class-payway-logger.php' (include_path='.:/opt/php7-4/lib/php') en /home/c2031281/public_html/wp-content/plugins/wc-gateway-payway/includes/class-payway-wc.php en la línea 124
WC status:
` ### WordPress Environment ### WordPress address (URL): https://tiendaboutique.com.ar Site address (URL): https://tiendaboutique.com.ar WC Version: 7.8.2 REST API Version: ? 7.8.2 WC Blocks Version: ? 10.2.4 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.27 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.29.0 NSS/3.53.1 SUHOSIN Installed: – MySQL Version: 5.7.36 Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.8.2 WC Database Prefix: tb_ Tama?o total de la base de datos: 143.80MB Tama?o de los datos de la base de datos: 87.87MB Tama?o del índice de la base de datos: 55.93MB tb_woocommerce_sessions: Datos: 1.02MB + índice: 0.02MB + Motor InnoDB tb_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB tb_woocommerce_order_items: Datos: 0.34MB + índice: 0.13MB + Motor InnoDB tb_woocommerce_order_itemmeta: Datos: 2.52MB + índice: 3.03MB + Motor InnoDB tb_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB tb_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_actionscheduler_actions: Datos: 1.02MB + índice: 7.11MB + Motor InnoDB tb_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_actionscheduler_logs: Datos: 2.02MB + índice: 2.03MB + Motor InnoDB tb_aws_cache: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_aws_index: Datos: 1.13MB + índice: 0.70MB + Motor InnoDB tb_berocket_termmeta: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_braapf_product_stock_status_parent: Datos: 0.08MB + índice: 0.05MB + Motor InnoDB tb_braapf_product_variation_attributes: Datos: 0.17MB + índice: 0.39MB + Motor InnoDB tb_braapf_term_taxonomy_hierarchical: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB tb_braapf_variable_attributes: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_commentmeta: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB tb_comments: Datos: 2.52MB + índice: 1.11MB + Motor InnoDB tb_itsec_bans: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_itsec_dashboard_events: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_itsec_distributed_storage: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_itsec_fingerprints: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_itsec_geolocation_cache: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_itsec_lockouts: Datos: 0.02MB + índice: 0.08MB + Motor InnoDB tb_itsec_logs: Datos: 4.02MB + índice: 0.72MB + Motor InnoDB tb_itsec_mutexes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_itsec_opaque_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_itsec_temp: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB tb_itsec_user_groups: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_itsec_webauthn_credentials: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_itsec_webauthn_users: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_options: Datos: 16.11MB + índice: 1.25MB + Motor InnoDB tb_postmeta: Datos: 23.55MB + índice: 14.78MB + Motor InnoDB tb_posts: Datos: 6.45MB + índice: 0.97MB + Motor InnoDB tb_prisma_payway_banks: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_prisma_payway_cards: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_prisma_payway_promotions: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_sbi_feeds: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_sbi_feed_caches: Datos: 0.08MB + índice: 0.02MB + Motor InnoDB tb_sbi_instagram_feeds_posts: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_sbi_instagram_feed_locator: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_sbi_instagram_posts: Datos: 1.52MB + índice: 0.00MB + Motor InnoDB tb_sbi_sources: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_term_relationships: Datos: 1.02MB + índice: 0.16MB + Motor InnoDB tb_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_um_metadata: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB tb_usermeta: Datos: 20.55MB + índice: 20.02MB + Motor InnoDB tb_users: Datos: 1.52MB + índice: 0.89MB + Motor InnoDB tb_wc_admin_notes: Datos: 0.05MB + índice: 0.00MB + Motor InnoDB tb_wc_admin_note_actions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_wc_customer_lookup: Datos: 0.16MB + índice: 0.13MB + Motor InnoDB tb_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_wc_order_product_lookup: Datos: 0.38MB + índice: 0.39MB + Motor InnoDB tb_wc_order_stats: Datos: 0.20MB + índice: 0.25MB + Motor InnoDB tb_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB tb_wc_product_attributes_lookup: Datos: 0.16MB + índice: 0.16MB + Motor InnoDB tb_wc_product_download_directories: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_wc_product_meta_lookup: Datos: 0.17MB + índice: 0.33MB + Motor InnoDB tb_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB tb_wpmailsmtp_debug_events: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB tb_wpmailsmtp_tasks_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB ### Post Type Counts ### acf-field: 24 acf-field-group: 4 attachment: 2214 br_product_filter: 3 custom_css: 1 customize_changeset: 1 et_body_layout: 3 et_template: 9 et_theme_builder: 1 itsec-dash-card: 8 itsec-dashboard: 1 mb_siwc_lite_image: 2 nav_menu_item: 42 page: 16 post: 5 product: 187 product_variation: 1058 project: 5 revision: 406 shop_coupon: 6 shop_order: 1729 shop_order_refund: 19 um_directory: 1 um_form: 3 um_profile_tabs: 1 wp_global_styles: 2 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (31) ### weLaunch Framework: por weLaunch.io – 1.0.19 Wanderlust Andreani Shipping - Premium: por Wanderlust Web Design – 2.0.0 JSON Basic Authentication: por WordPress API Team – 0.1 Advanced Custom Fields PRO: por WP Engine – 6.1.7 Advanced Woo Search: por ILLID – 2.83 Contact Form 7: por Takayuki Miyoshi – 5.7.7 Duplicate Page: por mndpsingh287 – 4.5.2 GTM4WP: por Thomas Geiger – 1.16.2 EnvíaloSimple: Email Marketing y Newsletters: por EnvialoSimple – 2.1 Facebook for WooCommerce: por Facebook – 3.0.27 Smash Balloon Instagram Feed: por Smash Balloon – 6.1.5 iThemes Security Pro: por iThemes – 7.3.4 WooCommerce Load More Products: por BeRocket – 1.1.9.8 Loco Translate: por Tim Whitlock – 2.6.4 Shoppable Images Lite: por Studio Wombat – 1.2.4 Simple Custom Post Order: por Colorlib – 2.5.6 Ultimate Member: por Ultimate Member – 2.6.7 Ultimate Member - WooCommerce: por Ultimate Member – 2.3.3 Under Construction & Maintenance Mode: por WPBrigade – 1.4.2 Payway medio de pago para WooCommerce: por IURCO - Prisma SA – 0.2.4 Additional Variation Images Gallery for WooCommerce - Pro: por Emran Ahmed – 1.3.18 Additional Variation Images Gallery for WooCommerce: por Emran Ahmed – 1.3.19 Advanced AJAX Product Filters for WooCommerce: por BeRocket – 1.6.4.4 Mercado Pago payments for WooCommerce: por Mercado Pago – 6.9.2 WooCommerce - Product Importer Deluxe: por Visser Labs – 3.8.2 WooCommerce Single Variations: por weLaunch – 1.4.1 WooCommerce - Store Exporter Deluxe: por Visser Labs – 5.3.1 WooCommerce: por Automattic – 7.8.2 WP Mail SMTP: por WP Mail SMTP – 3.8.0 WordPress REST API Authentication: por miniOrange – 2.7.0 WP REST API Controller: por Evan Herman – 2.1.2 ### Inactive Plugins (0) ### ### Settings ### API Enabled: ? Force SSL: – Currency: ARS ($) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Base de la tienda: #10 - /tienda/ Carrito: ? La página no contiene el shortcode [woocommerce_cart] o el bloque woocommerce/cart. Finalizar compra: ? La página no contiene el shortcode [woocommerce_checkout] o el bloque woocommerce/checkout. Mi cuenta: ? Página sin definir Términos y condiciones: #14 - /terminos-y-condiciones/ ### Theme ### Name: Divi Child Version: 1.0.0 Author URL: https://www.elegantthemes.com Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 4.21.1 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? ### Templates ### Overrides: La version 3.7.0 de Divi Child/woocommerce/emails/email-footer.php está obsoleta. La versión del núcleo es la 7.4.0 La version 4.0.0 de Divi Child/woocommerce/emails/email-header.php está obsoleta. La versión del núcleo es la 7.4.0 La version 4.0.0 de Divi Child/woocommerce/emails/email-styles.php está obsoleta. La versión del núcleo es la 7.4.0 /home/c2031281/public_html/wp-content/plugins/woo-variation-gallery/templates/product-images.php /home/c2031281/public_html/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php Outdated Templates: ? Aprende cómo actualizar ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: core-profiler minified-js new-product-management-experience product-variation-management settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-07-12 17:54:26 -03:00 Options: ? Notes: 39 Onboarding: skipped ### Action Scheduler ### Completo: 2.987 Oldest: 2023-06-10 15:50:50 -0300 Newest: 2023-07-11 15:20:35 -0300 Pendiente: 3 Oldest: 2023-07-11 16:09:40 -0300 Newest: 2023-07-17 21:32:21 -0300 ### Templates ### Extended logging mode for Product Importer Deluxe: ??Turn on Logging mode Debugging mode for Product Importer Deluxe: ??Turn on Debugging mode ### Templates ### Extended logging mode for Store Exporter Deluxe: ?Inactive?Turn on Logging mode Debugging mode for Store Exporter Deluxe: ?Inactive?Turn on Debugging mode Scheduled Export to FTP: ? Scheduled Export to SFTP: ? The required SFTP functions are not available; ssh2_connect() ssh2_auth_password() ssh2_sftp(). Contact your hosting provider. ### Status report information ### Generated at: 2023-07-11 15:49:17 -03:00 `
Hi @maggieee87 ,
Ah, gotcha!
Since this pertains to an extension from WooCommerce.com, please can you contact us directly via?WooCommerce.com > My Account > Support. You may need to log in before you are able to access that page.
Kindly note that this forum is dedicated to support related to the free WooCommerce core plugin however, we’ll be happy to assist you further from there ??
Cheers!
- System Status report: which you can find via WooCommerce → Status. Select
- The topic ‘Checkout validation not working’ is closed to new replies.