Woocommerce Square disconnecting frequently
-
Creating a new ticket as requested: https://www.ads-software.com/support/topic/woocommerce-square-disconnects-every-month-now-every-day/#post-13270486
A website that is using Woocommerce Square is frequently disconnecting from Square, getting email notifications that say the following:
“There was a problem with your Square Access Token
Heads up! There may be a problem with your connection to Square. In order to continue accepting payments, please disconnect and re-connect your site.”Below is my site’s system status report (just pulled today):
### WordPress Environment ### WordPress address (URL): https://www.pinestatecoffee.com Site address (URL): https://www.pinestatecoffee.com WC Version: 4.3.2 REST API Version: ? 1.0.10 WC Blocks Version: ? 2.7.3 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.3.1 Log Directory Writable: ? WP Version: 5.5 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.16 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.59.0 OpenSSL/1.0.2r SUHOSIN Installed: – MySQL Version: 5.6.40-84.0-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.3.2 WC Database Prefix: wp_ Total Database Size: 23.88MB Database Data Size: 20.14MB Database Index Size: 3.74MB wp_woocommerce_sessions: Data: 0.02MB + 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.05MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + 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: 3.02MB + Index: 0.63MB + 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: 0.44MB + Index: 0.30MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_facetwp_index: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 3.31MB + Index: 0.09MB + Engine InnoDB wp_postmeta: Data: 1.44MB + Index: 0.31MB + Engine InnoDB wp_posts: Data: 0.23MB + Index: 0.06MB + Engine InnoDB wp_redirection_404: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_rg_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rg_lead: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_rg_lead_detail: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_lead_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_rg_lead_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + 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.05MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + 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_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 5.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.14MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_square_customers: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 0.09MB + Index: 0.08MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 80 acf-field-group: 11 attachment: 28 locations: 12 nav_menu_item: 5 oembed_cache: 2 page: 11 post: 2 product: 19 product_variation: 12 revision: 85 shop_order: 46 shop_order_refund: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (21) ### Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1 Advanced Custom Fields PRO: by Elliot Condon – 5.8.12 Autoptimize: by Frank Goossens (futtta) – 2.7.6 BackWPup: by Inpsyde GmbH – 3.7.1 Classic Editor: by WordPress Contributors – 1.6 Disable Comments: by Samir Shah – 1.10.3 WPZOOM Instagram Widget: by WPZOOM – 1.6.4 Jetpack by WordPress.com: by Automattic – 8.8.1 Qty Increment Buttons for WooCommerce: by taisho – 2.7.3 – Installed version not tested with active version of WooCommerce 4.3.2 Redirection: by John Godley – 4.8 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.24 SVG Support: by Benbodhi – 2.3.18 User Role Editor: by Vladimir Garagulya – 4.56 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.5.3 WooCommerce Services: by Automattic – 1.24.0 (update to version 1.24.1 is available) – Installed version not tested with active version of WooCommerce 4.3.2 WooCommerce USPS Shipping: by WooCommerce – 4.4.45 (update to version 4.4.47 is available) – Installed version not tested with active version of WooCommerce 4.3.2 WooCommerce Square: by WooCommerce – 2.1.6 WooCommerce: by Automattic – 4.3.2 (update to version 4.4.1 is available) Yoast SEO: by Team Yoast – 14.7 Smush: by WPMU DEV – 3.6.3 ### Inactive Plugins (7) ### FacetWP: by FacetWP LLC – 2.8.7 FacetWP - Map Facet: by FacetWP LLC – 0.4 Kint Debugger: by Brian Fegter Chris Dillon – 1.2 Mailgun: by Mailgun – 1.7.1 Product Filters for WooCommerce: by Nexter – 1.1.16 (update to version 1.2.2 is available) – Installed version not tested with active version of WooCommerce 4.3.2 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.26 Wordfence Security: by Wordfence – 7.4.10 ### Must Use Plugins (1) ### Pantheon: by Pantheon – 0.1 ### 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) 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: ? ### WC Pages ### Shop base: #333 - /shop/ Cart: #334 - /cart/ Checkout: #335 - /checkout/ My account: ? Page visibility should be public Terms and conditions: ? Page not set ### Theme ### Name: Walk West Framework Version: 2.0 Author URL: https://walkwest.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 ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: wwframework/woocommerce/archive-product.php wwframework/woocommerce/cart/cart-empty.php wwframework/woocommerce/cart/cart-item-data.php wwframework/woocommerce/cart/cart-shipping.php wwframework/woocommerce/cart/cart-totals.php wwframework/woocommerce/cart/cart.php wwframework/woocommerce/cart/cross-sells.php wwframework/woocommerce/cart/mini-cart.php wwframework/woocommerce/cart/proceed-to-checkout-button.php wwframework/woocommerce/cart/shipping-calculator.php wwframework/woocommerce/checkout/cart-errors.php wwframework/woocommerce/checkout/form-billing.php wwframework/woocommerce/checkout/form-checkout.php wwframework/woocommerce/checkout/form-coupon.php wwframework/woocommerce/checkout/form-login.php wwframework/woocommerce/checkout/form-pay.php wwframework/woocommerce/checkout/form-shipping.php wwframework/woocommerce/checkout/order-receipt.php wwframework/woocommerce/checkout/payment-method.php wwframework/woocommerce/checkout/payment.php wwframework/woocommerce/checkout/review-order.php wwframework/woocommerce/checkout/terms.php wwframework/woocommerce/checkout/thankyou.php wwframework/woocommerce/content-product.php wwframework/woocommerce/content-product_cat.php wwframework/woocommerce/content-single-product.php wwframework/woocommerce/content-widget-price-filter.php wwframework/woocommerce/content-widget-product.php wwframework/woocommerce/content-widget-reviews.php wwframework/woocommerce/global/breadcrumb.php wwframework/woocommerce/global/form-login.php wwframework/woocommerce/global/quantity-input.php wwframework/woocommerce/global/sidebar.php wwframework/woocommerce/global/wrapper-end.php wwframework/woocommerce/global/wrapper-start.php wwframework/woocommerce/loop/add-to-cart.php wwframework/woocommerce/loop/loop-end.php wwframework/woocommerce/loop/loop-start.php wwframework/woocommerce/loop/no-products-found.php wwframework/woocommerce/loop/orderby.php wwframework/woocommerce/loop/pagination.php wwframework/woocommerce/loop/price.php wwframework/woocommerce/loop/rating.php wwframework/woocommerce/loop/result-count.php wwframework/woocommerce/loop/sale-flash.php wwframework/woocommerce/notices/error.php wwframework/woocommerce/notices/notice.php wwframework/woocommerce/notices/success.php wwframework/woocommerce/order/form-tracking.php wwframework/woocommerce/order/order-again.php wwframework/woocommerce/order/order-details-customer.php wwframework/woocommerce/order/order-details-item.php wwframework/woocommerce/order/order-details.php wwframework/woocommerce/order/order-downloads.php wwframework/woocommerce/order/tracking.php wwframework/woocommerce/product-searchform.php wwframework/woocommerce/single-product/add-to-cart/external.php wwframework/woocommerce/single-product/add-to-cart/grouped.php wwframework/woocommerce/single-product/add-to-cart/simple.php wwframework/woocommerce/single-product/add-to-cart/variable.php wwframework/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php wwframework/woocommerce/single-product/add-to-cart/variation.php wwframework/woocommerce/single-product/meta.php wwframework/woocommerce/single-product/photoswipe.php wwframework/woocommerce/single-product/price.php wwframework/woocommerce/single-product/product-attributes.php wwframework/woocommerce/single-product/product-image.php wwframework/woocommerce/single-product/product-thumbnails.php wwframework/woocommerce/single-product/rating.php wwframework/woocommerce/single-product/related.php wwframework/woocommerce/single-product/review-meta.php wwframework/woocommerce/single-product/review-rating.php wwframework/woocommerce/single-product/review.php wwframework/woocommerce/single-product/sale-flash.php wwframework/woocommerce/single-product/share.php wwframework/woocommerce/single-product/short-description.php wwframework/woocommerce/single-product/stock.php wwframework/woocommerce/single-product/tabs/additional-information.php wwframework/woocommerce/single-product/tabs/description.php wwframework/woocommerce/single-product/tabs/tabs.php wwframework/woocommerce/single-product/title.php wwframework/woocommerce/single-product/up-sells.php wwframework/woocommerce/single-product-reviews.php wwframework/woocommerce/single-product.php wwframework/woocommerce/taxonomy-product_cat.php wwframework/woocommerce/taxonomy-product_tag.php ### Square ### Environment: Production Tokenization Enabled: – Debug Mode: Save to Log ### Action Scheduler ### Complete: 2,026 Oldest: 2020-07-27 14:53:55 -0400 Newest: 2020-08-26 11:20:42 -0400 Pending: 1 Oldest: 2020-09-02 11:13:27 -0400 Newest: 2020-09-02 11:13:27 -0400
Also! Because this was happening so frequently and I was unable to figure out an obvious culprit, I turned on debugging on the site and it disconnected earlier this morning (I did login to the site and reconnect it myself at 11:13).
The following information is from Woocommerce Logs:08-26-2020 @ 10:28:47 - No refresh token stored, cannot refresh connection. 08-26-2020 @ 11:13:27 - Access token successfully received. 08-26-2020 @ 11:13:27 - Refresh token successfully received.
- The topic ‘Woocommerce Square disconnecting frequently’ is closed to new replies.