Javascript error in console & payments fail
-
Dear Support,
I’m trying to use Stripe to accept Google Pay / Apple Pay on our website.
The payment button shows up as intended, the credit card payments work.
However, when i’m trying to to pay using the Google Pay button, i get the following javascript error in the browser console:jquery.min.js:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'top') TypeError: Cannot read properties of undefined (reading 'top') at Object.displayErrorMessage (https://www.tincankitchen.co.uk/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.min.js:1:2791) at Object.abortPayment (https://www.tincankitchen.co.uk/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.min.js:1:2852) at Object.<anonymous> (https://www.tincankitchen.co.uk/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.min.js:1:6667) at e (https://www.tincankitchen.co.uk/wp-includes/js/jquery/jquery.min.js:2:30038) at t (https://www.tincankitchen.co.uk/wp-includes/js/jquery/jquery.min.js:2:30340) undefined S.Deferred.exceptionHook @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 e @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 s.<computed> @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 l @ jquery.min.js:2 (anonymous) @ jquery.min.js:2 load (async) send @ jquery.min.js:2 ajax @ jquery.min.js:2 s.ajax.s.ajax @ jquery-migrate.min.js:2 processSource @ stripe-payment-request.min.js:1 (anonymous) @ stripe-payment-request.min.js:1 (anonymous) @ ?ver=3.0:1 _emit @ ?ver=3.0:1 r._emitExternalEvent @ ?ver=3.0:1 r._maybeEmitPaymentResponse @ ?ver=3.0:1 (anonymous) @ ?ver=3.0:1 Promise.then (async) r._emitPaymentResponse @ ?ver=3.0:1 r._handleInternalEvent @ ?ver=3.0:1 _handlePaymentResponse @ ?ver=3.0:1 (anonymous) @ ?ver=3.0:1 (anonymous) @ ?ver=3.0:1 _emit @ ?ver=3.0:1 _handleMessage @ ?ver=3.0:1 (anonymous) @ ?ver=3.0:1 (anonymous) @ ?ver=3.0:1
I’ve disabled all code snippets & plugins on the website to rule any conflict out, still got the same message.
Please advice.
See status log:### WordPress Environment ### WordPress address (URL): https://www.tincankitchen.co.uk Site address (URL): https://www.tincankitchen.co.uk WC Version: 6.6.1 REST API Version: ? 6.6.1 WC Blocks Version: ? 7.6.2 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_GB External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 256 MB PHP Time Limit: 600 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1q-fips SUHOSIN Installed: – MySQL Version: 5.7.38-41-log Max Upload Size: 1 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.6.1 WC Database Prefix: ukv_ Total Database Size: 656.74MB Database Data Size: 364.34MB Database Index Size: 292.40MB ukv_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB ukv_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ukv_woocommerce_order_items: Data: 6.52MB + Index: 2.52MB + Engine InnoDB ukv_woocommerce_order_itemmeta: Data: 65.59MB + Index: 51.16MB + Engine InnoDB ukv_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ukv_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_woocommerce_shipping_zone_locations: Data: 0.16MB + Index: 0.14MB + Engine InnoDB ukv_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_woocommerce_payment_tokens: Data: 0.06MB + Index: 0.02MB + Engine InnoDB ukv_woocommerce_payment_tokenmeta: Data: 0.33MB + Index: 0.33MB + Engine InnoDB ukv_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_actionscheduler_actions: Data: 1.02MB + Index: 0.66MB + Engine InnoDB ukv_3_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_actionscheduler_logs: Data: 1.02MB + Index: 0.33MB + Engine InnoDB ukv_3_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_comments: Data: 3.52MB + Index: 2.13MB + Engine InnoDB ukv_3_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB ukv_3_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB ukv_3_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_lws_wr_historic: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_lws_wr_userbadge: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_options: Data: 3.27MB + Index: 0.08MB + Engine InnoDB ukv_3_postmeta: Data: 37.55MB + Index: 35.05MB + Engine InnoDB ukv_3_posts: Data: 5.48MB + Index: 1.45MB + Engine InnoDB ukv_3_snippets: Data: 0.11MB + Index: 0.03MB + Engine InnoDB ukv_3_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_term_relationships: Data: 0.13MB + Index: 0.06MB + Engine InnoDB ukv_3_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_wcpt_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ukv_3_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB ukv_3_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_wc_customer_lookup: Data: 0.25MB + Index: 0.17MB + Engine InnoDB ukv_3_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_wc_order_product_lookup: Data: 2.52MB + Index: 1.11MB + Engine InnoDB ukv_3_wc_order_stats: Data: 1.52MB + Index: 0.70MB + Engine InnoDB ukv_3_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_wc_product_attributes_lookup: Data: 0.05MB + Index: 0.02MB + Engine InnoDB ukv_3_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB ukv_3_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ukv_3_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_woocommerce_order_itemmeta: Data: 11.52MB + Index: 10.03MB + Engine InnoDB ukv_3_woocommerce_order_items: Data: 1.52MB + Index: 0.31MB + Engine InnoDB ukv_3_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB ukv_3_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_woocommerce_shipping_zone_locations: Data: 0.16MB + Index: 0.14MB + Engine InnoDB ukv_3_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ukv_3_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_wpmailsmtp_debug_events: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ukv_3_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_3_yoast_indexable: Data: 1.52MB + Index: 0.42MB + Engine InnoDB ukv_3_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.08MB + Engine InnoDB ukv_3_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_3_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_3_yoast_seo_links: Data: 0.11MB + Index: 0.06MB + Engine InnoDB ukv_actionscheduler_actions: Data: 2.02MB + Index: 2.13MB + Engine InnoDB ukv_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_actionscheduler_logs: Data: 1.02MB + Index: 1.28MB + Engine InnoDB ukv_asre_sales_report: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_commentmeta: Data: 0.44MB + Index: 0.42MB + Engine InnoDB ukv_comments: Data: 29.55MB + Index: 19.09MB + Engine InnoDB ukv_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_e_submissions: Data: 0.16MB + Index: 0.33MB + Engine InnoDB ukv_e_submissions_actions_log: Data: 0.05MB + Index: 0.11MB + Engine InnoDB ukv_e_submissions_values: Data: 0.11MB + Index: 0.03MB + Engine InnoDB ukv_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_lws_webhooks_events: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_lws_wr_historic: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_lws_wr_tinyurls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_lws_wr_userbadge: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_ms_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_options: Data: 4.08MB + Index: 0.16MB + Engine InnoDB ukv_postmeta: Data: 141.44MB + Index: 131.38MB + Engine InnoDB ukv_posts: Data: 9.30MB + Index: 6.02MB + Engine InnoDB ukv_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ukv_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_sitemeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB ukv_snippets: Data: 0.17MB + Index: 0.03MB + Engine InnoDB ukv_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_term_relationships: Data: 0.08MB + Index: 0.06MB + Engine InnoDB ukv_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_usermeta: Data: 9.45MB + Index: 7.61MB + Engine InnoDB ukv_users: Data: 0.27MB + Index: 0.20MB + Engine InnoDB ukv_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_wcpt_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB ukv_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ukv_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB ukv_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_wc_customer_lookup: Data: 1.52MB + Index: 0.55MB + Engine InnoDB ukv_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_wc_order_coupon_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB ukv_wc_order_product_lookup: Data: 8.52MB + Index: 9.05MB + Engine InnoDB ukv_wc_order_stats: Data: 3.52MB + Index: 3.45MB + Engine InnoDB ukv_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_wc_product_meta_lookup: Data: 0.06MB + Index: 0.13MB + Engine InnoDB ukv_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_woocommerce_woogc_sessions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ukv_yoast_indexable: Data: 1.45MB + Index: 0.63MB + Engine InnoDB ukv_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.09MB + Engine InnoDB ukv_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ukv_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ukv_yoast_seo_links: Data: 0.17MB + Index: 0.13MB + Engine InnoDB ukv_yoast_seo_meta: Data: 0.11MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 367 br_sale_report: 1 cookielawinfo: 2 custom_css: 1 custom-css-js: 2 elementor_font: 1 elementor_library: 23 elementor_snippet: 5 global_product_addon: 12 lws-wre-event: 5 lws-wre-pool: 2 lws-wre-unlockable: 36 nav_menu_item: 9 oembed_cache: 21 page: 32 pi_discount_rule: 1 pos-station: 3 post: 3 product: 254 revision: 1 shop_coupon: 217 shop_order: 26093 shop_order_refund: 423 wc_product_table: 8 woo_discount: 2 woo_discount_cart: 1 wp_global_styles: 1 xlwcty_thankyou: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (21) ### Code Snippets: by Code Snippets Pro – 3.2.0 Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.2.4 DynamicConditions: by RTO GmbH – 1.6.0 Elementor Pro: by Elementor.com – 3.5.0 Elementor: by Elementor.com – 3.6.4 PI WooCommerce order date time and type PRO: by PI Websolution – 3.3.6.7 Postcode Delivery Radius Checker: by David G – 1.0 Preparation time Master PRO: by PI Websolution – 1.2.6.6 SiteGround Optimizer: by SiteGround – 7.2.0 WooCommerce Thank You Page - NextMove: by XLPlugins – 1.15.1 WooCommerce Product Table PRO: by WC Product Table – 2.7.0 WooCommerce Global Payments HPP: by SkyVerge – 3.0.0 WooCommerce Stripe Gateway: by WooCommerce – 6.5.1 WooCommerce Automatic Printing - PrintNode: by David Anderson – 1.8.0 WooCommerce Product Add-ons: by WooCommerce – 3.4.0 WooCommerce: by Automattic – 6.6.1 (update to version 6.7.0 is available) MyRewards: by Long Watch Studio – 4.9.4 Yoast SEO: by Team Yoast – 19.4 Asset CleanUp Pro: Page Speed Booster: by Gabe Livan – 1.1.8.8 WP Mail SMTP: by WPForms – 3.5.1 WP Global Cart: by Nsp Code – 2.9.5.3 ### Inactive Plugins (1) ### Student Registration Form: by David G – 1.0 ### Dropin Plugins (1) ### object-cache.php: Memcached ### Must Use Plugins (6) ### Asset CleanUp Pro: Plugin Filtering: by Gabriel Livan – 1.0 woo-gc-nosplittck.php: by – woo-gc.php: by – woo-gift-card-sync.php: by – woo-order-delete.php: by – woo_order_print.php: by – ### Settings ### API Enabled: ? Force SSL: – Currency: GBP (£) 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: – ### WC Pages ### Shop base: #19083 - /shop/ Basket: #196 - /basket/ Checkout: #197 - /checkout/ My account: #198 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Storefront Version: 4.1.0 (update to version 4.1.2 is available) Author URL: https://woocommerce.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: storefront/woocommerce/checkout/form-billing.php storefront/woocommerce/checkout/order-receipt.php ### Global Payments HPP ### 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 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-08-04 09:17:11 +01:00 Options: ? Notes: 46 Onboarding: completed ### Action Scheduler ### Complete: 3,976 Oldest: 2022-07-04 22:21:03 +0100 Newest: 2022-08-03 10:43:43 +0100 Failed: 2 Oldest: 2020-05-23 19:48:05 +0100 Newest: 2020-05-23 19:48:05 +0100 Pending: 1 Oldest: 2022-08-04 09:57:03 +0100 Newest: 2022-08-04 09:57:03 +0100 ### Status report information ### Generated at: 2022-08-03 16:36:46 +01:00
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Javascript error in console & payments fail’ is closed to new replies.