Error Checking Out with Square Payments
-
Hello,
Users are having an issue checking out with square payments. When they complete their billing details, users can opt to have the same shipping address as their billing details.
However, if they proceed with having the same shipping and billing details, the box to add their credit card details is greyed out and cannot be filled. Therefore, they are required to check the box “Ship to a different address?” in order to complete their payment.
In debug mode, I am only seeing that there is a “critical error on this website.”
-
Hello,
Sorry to hear about the issue, we are happy to help.
To get a better idea of your site setup, can you please share a copy of your site’s System Status? You can find it via
WooCommerce > Status. Select “Get system report” and then “Copy for support”.Then please add the report to your response.
Thanks.
See below. Thank you!
### WordPress Environment ### WordPress address (URL): https://www.treeandcrow.com Site address (URL): https://www.treeandcrow.com WC Version: 6.7.0 REST API Version: ✔ 6.7.0 WC Blocks Version: ✔ 7.8.3 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: – Language: en_US External object cache: ✔ ### Server Environment ### Server Info: Apache PHP Version: 8.0.21 PHP Post Max Size: 2 GB PHP Time Limit: 600 PHP Max Input Vars: 16384 cURL Version: 7.29.0 NSS/3.53.1 SUHOSIN Installed: – MySQL Version: 10.5.16-MariaDB Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.7.0 WC Database Prefix: wp_ Total Database Size: 15.12MB Database Data Size: 11.40MB Database Index Size: 3.72MB wp_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 1.38MB + Index: 0.75MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 1.48MB + Index: 0.31MB + Engine InnoDB wp_aioseo_cache: Data: 0.11MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 0.09MB + Index: 0.02MB + Engine InnoDB wp_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_indexnow_failed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_indexnow_passed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 1.28MB + Index: 0.06MB + Engine InnoDB wp_postmeta: Data: 0.34MB + Index: 0.14MB + Engine InnoDB wp_posts: Data: 2.41MB + Index: 0.06MB + Engine InnoDB wp_taxjar_record_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wptodo: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wptodo_comments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wptodo_email: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 59 custom_css: 1 customize_changeset: 5 feedback: 8 mailpoet_page: 1 nav_menu_item: 10 page: 16 pm_insight: 9 pm_page: 6 pm_report: 3 pm_site_change: 6 post: 11 product: 5 product_variation: 3 revision: 84 shop_coupon: 3 shop_order: 4 shop_order_refund: 3 wp_global_styles: 1 wpforms: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (18) ### Akismet Anti-Spam: by Automattic – 5.0 All in One SEO: by All in One SEO Team – 4.2.3.1 aThemes Blocks: by aThemes – 1.0.5 aThemes Starter Sites: by aThemes – 1.0.22 CDN Enabler: by KeyCDN – 2.0.5 Creative Mail by Constant Contact: by Constant Contact – 1.5.3 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.7.0 IndexNow: by Microsoft Bing – 1.0.1 Jetpack Boost: by Automattic - Website Speed and Performance team – 1.5.1 Jetpack: by Automattic – 11.1.2 MailPoet 3 (New): by MailPoet – 3.93.0 OptinMonster: by OptinMonster Popup Builder Team – 2.8.1 Redis Object Cache: by Till Krüss – 2.1.6 TaxJar - Sales Tax Automation for WooCommerce: by TaxJar – 4.1.3 WooCommerce Shipping & Tax: by WooCommerce – 1.26.2 WooCommerce Square: by WooCommerce – 3.1.0 WooCommerce: by Automattic – 6.7.0 WP To Do: by Delower – 1.2.7 ### Inactive Plugins (1) ### Age Verification for WooCommerce: by AWEOS GmbH – 1.4.0 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php fatal-error-handler.php: fatal-error-handler.php object-cache.php: Redis Object Cache Drop-In ### Must Use Plugins (1) ### Nexcess Managed Apps: by Nexcess – 1.30.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: – ### WC Pages ### Shop base: #394 - /shop/ Cart: #395 - /cart/ Checkout: #396 - /checkout/ My account: #397 - /my-account/ Terms and conditions: #545 - /terms-of-service/ ### Theme ### Name: Botiga Version: 1.1.7 Author URL: https://athemes.com Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Square ### Environment: Production Tokenization Enabled: – Debug Mode: Off ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-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 wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ✔ Next scheduled: 2022-07-28 01:13:26 -04:00 Options: ✔ Notes: 60 Onboarding: completed ### Action Scheduler ### Complete: 2,215 Oldest: 2022-07-07 20:22:42 -0400 Newest: 2022-07-27 17:50:18 -0400 Pending: 7 Oldest: 2022-07-27 18:05:18 -0400 Newest: 2022-08-01 23:05:18 -0400 ### Status report information ### Generated at: 2022-07-27 18:00:40 -04:00Hello,
I think this is the behavior you are describing:

Link to image: https://gifyu.com/image/SN0qPIn this case, you can perform a conflict test:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce and Square
- Go to the checkout page and see if the issue is present
Is the issue still present? if not, it means there was a conflict and you can reactivate the theme and plugins one by one and check again after each reactivation until the cause of the problem is found. You can find a more detailed explanation on how to do a conflict test here.
Please consider running the test using a staging environment so that you will not have to affect your production site. You can request your host for staging facilities or you can use a plugin like WP Staging for quickly spinning up a new test site.
I hope this helps.
-
This reply was modified 3 years, 10 months ago by
Igor H.
Thank you so much! I was able to identify the exact plugin that caused the issue. I really appreciate the help.
Hey @treeandcrow,
Thank you so much! I was able to identify the exact plugin that caused the issue. I really appreciate the help.
That’s awesome! Glad to hear it – thanks for letting us know!
I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.
The topic ‘Error Checking Out with Square Payments’ is closed to new replies.