Console error
-
How do I get rid of this console error? I have turned off every form of cache, cdn, etc.
jQuery.Deferred exception: Cannot read property 'amount' of undefined TypeError: Cannot read property 'amount' of undefined at new WC_Square_Digital_Wallet_Handler (https://0f92da9cad.nxcli.net/wp-content/plugins/woocommerce-square/assets/js/frontend/wc-square-digital-wallet.min.js?ver=2.5.3:1:930)
-
Hi @richardu,
Can you provide an environment where this performance problem happens under the following conditions?
- An unmodified, default WordPress theme such as Twenty-Twenty or Storefront theme active.
- No other plugins except for WooCommerce and Square active.
If yes, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
Please include a link to this forum thread, so that we can keep track of what’s already been done.
We will be able to help you further there.
I finally figured out the conflict is with is Woocommerce Subscriptions, (which works fine with a variety of other payment systems).
Woocommerce support is for paid accounts and I don’t have a current subscription. I came here because the Square plugin is free. My alternative is to not use Square.
Hi there,
Thank you for performing a conflict test and figuring out that the Square for WooCommerce plugin seems to be conflicting with the premium WooCommerce Subscriptions extension.
I don’t see any recent reports of a conflict between Square for WooCommerce and WooCommerce Subscriptions.
I was also not able to replicate this error on my test site (using the latest versions of Square and WooCommerce Subscriptions extensions). It sounds like this behaviour is isolated to your WordPress/WooCommerce install and either this is happening because of an outdated WooCommerce Subscriptions plugin, or there’s one more plugin (or your theme) involved in the conflict.
As a first step, you may want to test if the error happens with a default Storefront theme enabled and all plugins except for WooCommerce, Square for WooCommerce and WooCommerce Subscriptions disabled.
If you still see the error – then you may want to update WooCommerce Subscriptions.
If there’s no error – you may want to continue the conflict test and figure out which of your plugins (or your theme) is involved in this conflict.
Please note that support for WooCommerce Subscriptions is handled via support requests on WooCommerce.com and the assistance we’ll be able to provide here in the Square for WooCommerce support forum is limited.
We are also usually unable to guarantee compatibility with third-party plugins or themes.
I hope this helps!
This is a problem with the Square plugin since the Subscriptions plugin is updated and works fine with other payments.
Here’s a staging site with 2021 Theme and the only plugins are Woocommerce, Subscriptions, and Square
https://0f92da9cad.nxcli.net/cart/
Watch the console as you add either monthly or annual to the cart.
Hi there,
I tested and can see the issue on your site: https://d.pr/i/bfN3Wv
Could you share your System Status Report, it would help us to understand your site setup a bit better. You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, paste it here in your reply.
Here it is
### WordPress Environment ### WordPress address (URL): https://0f92da9cad.nxcli.net Site address (URL): https://0f92da9cad.nxcli.net WC Version: 5.6.0 REST API Version: ? 5.6.0 WC Blocks Version: ? 5.5.1 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.5.1 Log Directory Writable: ? WP Version: 5.8 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: 7.4.22 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: 5.5.5-10.3.29-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: 5.6.0 WC Database Prefix: wty_ Total Database Size: 142.31MB Database Data Size: 118.32MB Database Index Size: 23.99MB wty_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wty_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wty_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_woocommerce_log: 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.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + 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.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_actionscheduler_actions: Data: 0.31MB + Index: 0.45MB + Engine InnoDB wty_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_actionscheduler_logs: Data: 0.25MB + Index: 0.22MB + Engine InnoDB wty_ac_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_admin_columns: Data: 0.11MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_campaigns: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_direct_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_affiliate_wp_referrals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_sales: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_affiliate_wp_visits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wty_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wty_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_automatewoo_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_automatewoo_log_meta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wty_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_bv_ip_store: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wty_ewwwio_images: Data: 1.52MB + Index: 1.69MB + Engine InnoDB wty_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_expm_hiiden_content: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_expm_maker: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_expm_maker_pages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_facetwp_index: Data: 0.09MB + Index: 0.14MB + Engine InnoDB wty_gdpr_consent: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_gdpr_userlogs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wty_iconic_was_fees: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wty_itsec_logs: Data: 6.52MB + Index: 1.11MB + Engine InnoDB wty_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_access: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_06: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_07: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_08: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_09: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_10: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_11: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2020_12: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2021_01: Data: 0.19MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2021_02: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_blob_2021_03: Data: 0.19MB + Index: 0.06MB + Engine InnoDB wty_matomo_archive_blob_2021_04: Data: 0.39MB + Index: 0.13MB + Engine InnoDB wty_matomo_archive_blob_2021_05: Data: 0.42MB + Index: 0.13MB + Engine InnoDB wty_matomo_archive_blob_2021_06: Data: 1.52MB + Index: 0.13MB + Engine InnoDB wty_matomo_archive_blob_2021_07: Data: 1.52MB + Index: 0.13MB + Engine InnoDB wty_matomo_archive_blob_2021_08: Data: 0.36MB + Index: 0.09MB + Engine InnoDB wty_matomo_archive_blob_2021_09: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_invalidations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_archive_numeric_2020_06: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2020_07: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2020_08: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2020_09: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2020_10: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2020_11: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2020_12: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2021_01: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2021_02: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_archive_numeric_2021_03: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wty_matomo_archive_numeric_2021_04: Data: 0.09MB + Index: 0.16MB + Engine InnoDB wty_matomo_archive_numeric_2021_05: Data: 0.09MB + Index: 0.17MB + Engine InnoDB wty_matomo_archive_numeric_2021_06: Data: 0.13MB + Index: 0.22MB + Engine InnoDB wty_matomo_archive_numeric_2021_07: Data: 0.13MB + Index: 0.20MB + Engine InnoDB wty_matomo_archive_numeric_2021_08: Data: 0.09MB + Index: 0.14MB + Engine InnoDB wty_matomo_archive_numeric_2021_09: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_brute_force_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_custom_dimensions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_goal: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_locks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_logger_message: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_log_action: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wty_matomo_log_conversion: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_log_conversion_item: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_log_link_visit_action: Data: 0.27MB + Index: 0.16MB + Engine InnoDB wty_matomo_log_profiling: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_log_visit: Data: 0.16MB + Index: 0.08MB + Engine InnoDB wty_matomo_option: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wty_matomo_plugin_setting: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_privacy_logdata_anonymizations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_report: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_report_subscriptions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_segment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_sequence: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_session: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_site: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_site_setting: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_site_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_tagmanager_container: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_tagmanager_container_release: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_tagmanager_container_version: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_matomo_tagmanager_tag: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_tagmanager_trigger: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_tagmanager_variable: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_matomo_tracking_failure: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_twofactor_recovery_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_user: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_user_dashboard: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_user_language: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_matomo_user_token_auth: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_nextend2_smartslider3_sliders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB wty_options: Data: 6.41MB + Index: 0.22MB + Engine InnoDB wty_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wty_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_podsrel: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_popup_analytics: Data: 0.42MB + Index: 0.00MB + Engine InnoDB wty_postmeta: Data: 81.52MB + Index: 6.03MB + Engine InnoDB wty_posts: Data: 4.52MB + Index: 0.58MB + Engine InnoDB wty_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_rank_math_analytics_objects: Data: 0.23MB + Index: 0.11MB + Engine InnoDB wty_rank_math_internal_links: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wty_rank_math_internal_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wty_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wty_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_sliders: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wty_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_slides: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wty_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_searchwp_index: Data: 1.52MB + Index: 3.98MB + Engine InnoDB wty_searchwp_log: Data: 0.08MB + Index: 0.08MB + Engine InnoDB wty_searchwp_status: Data: 0.09MB + Index: 0.14MB + Engine InnoDB wty_searchwp_tokens: Data: 0.23MB + Index: 0.42MB + Engine InnoDB wty_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_snippets: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wty_swpext_metrics_clicks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_swpext_metrics_ids: Data: 0.33MB + Index: 0.39MB + Engine InnoDB wty_swpext_metrics_meta: Data: 0.22MB + Index: 0.41MB + Engine InnoDB wty_swpext_metrics_queries: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wty_swpext_metrics_searches: Data: 0.25MB + Index: 0.52MB + Engine InnoDB wty_swp_cf: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_swp_index: Data: 0.50MB + Index: 0.34MB + Engine InnoDB wty_swp_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_swp_tax: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_swp_terms: Data: 0.17MB + Index: 0.23MB + Engine InnoDB wty_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_term_relationships: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wty_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_usermeta: Data: 0.22MB + Index: 0.25MB + Engine InnoDB wty_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wty_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wty_wc_product_meta_lookup: Data: 0.11MB + Index: 0.17MB + Engine InnoDB wty_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wty_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_wpda_csv_uploads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wty_wpr_rucss_resources: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wty_wpr_rucss_used_css: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wty_yasr_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_yasr_log_multi_set: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_yasr_multi_set: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wty_yasr_multi_set_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### acf-field: 83 acf-field-group: 14 acfe-dbt: 1 actions: 14 attachment: 753 aw_workflow: 5 cta: 8 customize_changeset: 2 faq: 8 fl-builder-template: 74 fl-theme-layout: 27 goods: 108 itsec-dash-card: 16 itsec-dashboard: 2 lies: 47 memes: 270 nav_menu_item: 18 newsletter: 2 oembed_cache: 5 page: 48 people: 303 post: 2 postman_sent_mail: 25 product: 12 product_variation: 142 quotes: 111 raccartlist: 13 racemailtemplate: 1 racmaillog: 2 revision: 422 scams: 9 shop_order: 24 shop_subscription: 2 tidbit: 135 wc_membership_plan: 7 wc_user_membership: 3 wp_block: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (3) ### WooCommerce Square: by WooCommerce – 2.5.3 WooCommerce Subscriptions: by WooCommerce – 3.1.4 WooCommerce: by Automattic – 5.6.0 ### Inactive Plugins (55) ### ACF Post-2-Post: by John A. Huebner II – 1.6.0 ActiveCampaign: by ActiveCampaign – 8.1.7 Admin Columns Pro: by AdminColumns.com – 5.5.3 Admin Columns Pro - Advanced Custom Fields (ACF): by AdminColumns.com – 2.6.4 Admin Menu Editor: by Janis Elsts – 1.9.10 Advanced Custom Fields: Extended: by ACF Extended – 0.8.8.4 Advanced Custom Fields PRO: by Delicious Brains – 5.9.9 AffiliateWP: by Sandhills Development LLC – 2.7.4 AffiliateWP - Custom Affiliate Slugs: by Sandhills Development LLC – 1.1.1 AffiliateWP - Direct Link Tracking: by Sandhills Development LLC – 1.2.1 AffiliateWP - PayPal Payouts: by Pippin Williamson and Andrew Munro – 1.3 AffiliateWP - Recurring Referrals: by Sandhills Development LLC – 1.8 BB Shredded Paper: by David Waumsley – 1.0 Beaver Builder Code Settings: by Justin Busa – 0.1 Beaver Builder Plugin (Pro Version): by The Beaver Builder Team – 2.4.2.5 Beaver Themer: by The Beaver Builder Team – 1.3.3.1 Braintree for WooCommerce Payment Gateway: by WooCommerce – 2.6.1 CDN Enabler: by KeyCDN – 2.0.4 CheckoutWC: by Objectiv – 5.3.4 Code Snippets: by Code Snippets Pro – 2.14.1 Coinbase Commerce: by Coinbase Commerce – 1.1.4 Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 5.2.6 Custom Content Shortcode: by Eliot Akira – 3.8.7 Custom Post Type UI: by WebDevStudios – 1.9.2 Disable Admin Notices Individually: by Creative Motion <[email protected]> – 1.2.6 EWWW Image Optimizer: by Exactly WWW – 6.2.3 FacetWP: by FacetWP LLC – 3.8.9 GPLVault Update Manager: by GPL Vault – 4.0.3 Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5 iThemes Security Pro: by iThemes – 7.0.3 Matomo Analytics - Ethical Stats. Powerful Insights.: by Matomo – 4.4.1 New Relic Reporting for WordPress: by 10up – 1.3.1 OneSignal Push Notifications: by OneSignal – 2.2.2 Perfmatters: by forgemedia – 1.7.5 Post SMTP: by Yehuda Hassine – 2.0.23 PowerPack for Beaver Builder: by IdeaBox Creations – 2.17.1 Printify Shipping Method: by Printify – 2.5 Rank Math SEO: by Rank Math – 1.0.70 Really Simple CSV Importer: by Takuro Hishikawa – 1.3 reCaptcha for WooCommerce: by I Thirteen Web Solution – 2.18 Recover Abandoned Cart: by FantasticPlugins – 22.9 Scriptless Social Sharing: by Robin Cornett – 3.1.6 SearchWP: by SearchWP – 4.1.21 Simple CSS: by Tom Usborne – 1.1.1 Ultimate Addons for Beaver Builder: by Brainstorm Force – 1.32.0 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.16.59.25 WooCommerce Authorize.Net Gateway: by SkyVerge – 3.6.2 WooCommerce Email Customizer: by WooCommerce – 1.2.0 WooCommerce Name Your Price: by Kathy Darling – 3.3.2 WooCommerce Order Status Control: by SkyVerge – 1.14.0 WooCommerce PayPal Payments: by WooCommerce – 1.5.1 WooCommerce Store Credit: by Themesquad – 3.9.1 WP-Discourse: by Discourse – 2.3.0 WP Login Form: by naa986 – 1.0.7 WP Rocket: by WP Media – 3.9.1.1 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php fatal-error-handler.php: fatal-error-handler.php ### Must Use Plugins (2) ### Health Check Troubleshooting Mode: by – 1.7.2 Nexcess Managed Apps: by Nexcess – 1.24.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) store_credit (store_credit) 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: – ### WC Pages ### Shop base: #14 - /shop/ Cart: #15 - /cart/ Checkout: #38583 - /checkout/ My account: #17 - /my-account/ Terms and conditions: #26728 - /terms-and-conditions/ ### Theme ### Name: Twenty Twenty-One Version: 1.4 Author URL: https://www.ads-software.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: – ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Staging Subscriptions Live URL: https://resistscams.com Subscription Statuses: trash: 2 WooCommerce Account Connected: ? No Report Cache Enabled: ? Yes Cache Update Failures: ? 0 failure ### Store Setup ### Country / State: United States (US) — Georgia ### Subscriptions by Payment Gateway ### other: trash: 2 ### Payment Gateway Support ### Square: products card_types customer_decline_messages payment_form authorization charge charge-virtual capture_charge refunds voids customer_id tokenization add_payment_method token_editor subscriptions subscription_suspension subscription_cancellation subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change_customer subscription_payment_method_change_admin Check payments: products ### Square ### Environment: Production Tokenization Enabled: ? Debug Mode: Off ### Action Scheduler ### Complete: 944 Oldest: 2021-07-27 16:16:22 -0400 Newest: 2021-08-23 14:28:57 -0400 Pending: 5 Oldest: 2021-08-25 10:50:57 -0400 Newest: 2024-12-31 14:00:00 -0500 ### Status report information ### Generated at: 2021-08-23 14:29:47 -04:00
Hi there,
Thanks for sending over that Status Report.
I was doing some testing on my personal site with the latest versions of Square, Subscriptions, WooCommerce, and WordPress. Based on the error message — which includes
WC_Square_Digital_Wallet_Handler
— it appears to be related to the Digital Wallet functionality from Square.At first I was unable to reproduce the issue: the error was not showing up for Subscription products or Simple products, on product pages, Cart pages, or Checkout.
Finally, I tried testing with a Subscription that had a free trial, resulting in a $0 initial price. This would seem to make sense with the error message saying the “amount” was undefined. I’ve reported this to the developers.
You can watch for any updates in the Changelog for the extension here:
https://www.ads-software.com/plugins/woocommerce-square/#developersGlad to help debug. My subscription does not have a free trial, but it is a variable product (monthly/annual). You might want to pass along that information as well.
Hello, I am getting the same error on my checkout page using the Woocommerce Square plugin. I am using a plugin wp-crowdfunding which creates a seperate ‘Crowdfunding’ product type where the customers choose how much they want to give. So the inital product cost does start at 0, but is input before the checkout page. The issue looks related in scope to the issue above with the Woocommerce Subscriptions, so I wanted to mention it and ask for assistance on it here.
You can view my site here: https://bit.ly/3ks17rI
Once you choose an amount to give on a campaign you are taken to the /checkout page where you can see the “Uncaught TypeError: Cannot read property ‘amount’ of undefined” error appear in your Browser Console.
@richardu thanks for letting us know! We can reproduce the issue with variable subscriptions. We have updated the bug report to reflect so.
@j2duncan thank you for reporting as well! I see the issue on your site and I have made a note of that on our bug report as well.
You can watch for any updates in the changelog for the extension here:
https://www.ads-software.com/plugins/woocommerce-square/#developers
I am marking this forum thread as resolved for now.
- The topic ‘Console error’ is closed to new replies.