please disconnect and re-connect your site.
-
I had a warning and also an email saying:
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.
The problem is under square settings I get a spinning wheel and it never shows the settings.
I am able to access the Update tab, just not the settings.
I have tried deactivating all plugins except for woocommerce and square, changing php version, reverting to a standard theme, removing the connection in the square account. Have also removed the square plugin and re-installed it. Still same spinning wheel and I cannot connect it anymore. My host says there are no issues on their side.
Is there a way to clear all the square plugin settings from the database? Or other suggestions?
-
When I go to the square settings page I am seeing a bunch of 403 forbidden errors in the browser console.
Below is my woocommerce status report
WordPress Environment<br><br>WordPress address (URL): https://vankoji.com/wp2024<br>Site address (URL): https://www.vankoji.com<br>WC Version: 9.8.4<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.9.2<br>Log Directory Writable: ✔<br>WP Version: 6.8.1<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment<br><br>Server Info: Apache<br>PHP Version: 8.3.19<br>PHP Post Max Size: 1 GB<br>PHP Time Limit: 1500<br>PHP Max Input Vars: 2000<br>cURL Version: 8.12.1<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.21-MariaDB-cll-lve-log<br>Max Upload Size: 4 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 9.8.4<br>WC Database Prefix: wpdd_<br>Total Database Size: 30.28MB<br>Database Data Size: 27.32MB<br>Database Index Size: 2.96MB<br>wpdd_woocommerce_sessions: Data: 0.31MB + Index: 0.01MB + Engine MyISAM<br>wpdd_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wpdd_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM<br>wpdd_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_actionscheduler_actions: Data: 0.09MB + Index: 0.05MB + Engine MyISAM<br>wpdd_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_actionscheduler_logs: Data: 0.06MB + Index: 0.05MB + Engine MyISAM<br>wpdd_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_comments: Data: 0.03MB + Index: 0.02MB + Engine MyISAM<br>wpdd_ewwwio_images: Data: 0.15MB + Index: 0.13MB + Engine MyISAM<br>wpdd_ewwwio_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_layerslider: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_layerslider_drafts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_layerslider_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_options: Data: 3.03MB + Index: 0.09MB + Engine MyISAM<br>wpdd_postmeta: Data: 0.55MB + Index: 0.06MB + Engine MyISAM<br>wpdd_posts: Data: 0.37MB + Index: 0.02MB + Engine MyISAM<br>wpdd_redirection_404: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_redirection_items: Data: 0.00MB + Index: 0.02MB + Engine MyISAM<br>wpdd_redirection_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_redirects_404: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_userfeedback_heatmaps: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_userfeedback_heatmap_recordings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_userfeedback_surveys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_userfeedback_survey_responses: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_usermeta: Data: 0.04MB + Index: 0.02MB + Engine MyISAM<br>wpdd_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_admin_note_actions: Data: 0.03MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_orders: Data: 0.01MB + Index: 0.02MB + Engine MyISAM<br>wpdd_wc_orders_meta: Data: 0.10MB + Index: 0.12MB + Engine MyISAM<br>wpdd_wc_order_addresses: Data: 0.01MB + Index: 0.02MB + Engine MyISAM<br>wpdd_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_order_operational_data: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_order_product_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfAuditEvents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfBlockedIPLog: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfConfig: Data: 2.89MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfFileMods: Data: 9.98MB + Index: 1.11MB + Engine MyISAM<br>wpdd_wfHits: Data: 1.17MB + Index: 0.39MB + Engine MyISAM<br>wpdd_wfHoover: Data: 0.49MB + Index: 0.06MB + Engine MyISAM<br>wpdd_wfIssues: Data: 0.03MB + Index: 0.01MB + Engine MyISAM<br>wpdd_wfKnownFileList: Data: 7.39MB + Index: 0.34MB + Engine MyISAM<br>wpdd_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfLogins: Data: 0.19MB + Index: 0.06MB + Engine MyISAM<br>wpdd_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wpdd_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>wpdd_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wpdd_wfNotifications: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfSecurityEvents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfStatus: Data: 0.12MB + Index: 0.06MB + Engine MyISAM<br>wpdd_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wfWafFailures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_woocommerce_square_customers: Data: 0.02MB + Index: 0.03MB + Engine MyISAM<br>wpdd_wpmailsmtp_debug_events: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wpdd_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_wpo_404_detector: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_yoast_indexable: Data: 0.02MB + Index: 0.02MB + Engine MyISAM<br>wpdd_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wpdd_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wpdd_yoast_seo_links: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wpdd_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mavis_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM Post Type Counts<br><br>attachment: 51<br>avia_framework_post: 10<br>nav_menu_item: 7<br>page: 9<br>portfolio: 8<br>post: 1<br>product: 9<br>recipes: 8<br>shop_order_placehold: 38<br>tribe_organizer: 1<br>tribe_venue: 4<br>wp_global_styles: 1<br>wpcode: 2 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (23)<br><br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3<br>Better Search Replace: by WP Engine – 1.4.7<br>Code Snippets: by Code Snippets Pro – 3.6.5.1<br>Crisp: by Crisp – 0.47<br>Disable Comments: by WPDeveloper – 2.4.6<br>Easy Smooth Scroll Links: by PootlePress – 2.23.0<br>Email Encoder - Protect Email Addresses: by Jannis Thuemmig – 2.2.2<br>EWWW Image Optimizer: by Exactly WWW – 7.9.0<br>Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 9.5.2<br>WPCode Lite: by WPCode – 2.2.2<br>Kadence WooCommerce Email Designer: by Kadence WP – 1.5.13<br>Mailchimp for WooCommerce: by Mailchimp – 4.4.1<br>Redirection: by John Godley – 5.5.0<br>Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.6<br>Server IP & Memory Usage Display: by Apasionados<br>Apasionados del Marketing – 2.1.0<br><br>Side Cart WooCommerce: by XootiX – 2.5.4<br>UpdraftPlus - Backup/Restore: by TeamUpdraft<br>DavidAnderson – 1.24.6<br><br>WooCommerce Square: by WooCommerce – 4.9.1<br>WooCommerce: by Automattic – 9.8.4<br>Wordfence Security: by Wordfence – 8.0.5<br>Yoast SEO: by Team Yoast – 23.6<br>WP Mail SMTP: by WP Mail SMTP – 4.1.1<br>WP-Optimize - Clean, Compress, Cache: by David Anderson<br>Ruhani Rabin<br>Team Updraft – 3.6.0 Inactive Plugins (4)<br><br>All 404 Redirect to Homepage: by wp-buy – 4.6<br>Perfect Images (Optimize, Rebuild, Replace, Thumbnails, Retina): by Jordy Meow – 6.6.4<br>UserFeedback Lite: by UserFeedback Team – 1.1.1<br>WP Post Page Clone: by Gaurang Sondagar – 1.2 Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: CAD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 551 KB WC Pages<br><br>Shop base: #505 - /shop/<br>Cart: #506 - /cart/ - Contains the woocommerce/cart block<br>Checkout: #507 - /checkout/ - Contains the woocommerce/checkout block<br>My account: #508 - /my-account/ - Contains the [woocommerce_my_account] shortcode<br>Terms and conditions: ❌ Page not set Theme<br><br>Name: Enfold Child<br>Version: 1.0<br>Author URL: http://www.kriesi.at<br>Child Theme: ✔<br>Parent Theme Name: Enfold<br>Parent Theme Version: 5.7<br>Parent Theme Author URL: https://kriesi.at<br>Theme type: Classic theme<br>WooCommerce Support: ✔ Templates<br><br>Overrides: – Square<br><br>Environment: Production<br>Tokenization Enabled: –<br>Debug Mode: Off Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br>add-to-cart-with-options-stepper-layout<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>use-wp-horizon<br>blockified-add-to-cart<br><br>Daily Cron: ✔ Next scheduled: 2025-05-10 19:49:27 -07:00<br>Options: ✔<br>Notes: 109<br>Onboarding: - Action Scheduler<br><br>Canceled: 1<br>Oldest: 2025-04-18 22:07:49 -0700<br>Newest: 2025-04-18 22:07:49 -0700<br><br>Complete: 334<br>Oldest: 2025-04-09 11:31:32 -0700<br>Newest: 2025-05-10 01:12:10 -0700<br><br>Failed: 6<br>Oldest: 2024-05-21 02:13:55 -0700<br>Newest: 2024-06-10 11:44:38 -0700<br><br>Pending: 2<br>Oldest: 2025-05-11 00:58:34 -0700<br>Newest: 2025-05-11 00:58:34 -0700 Status report information<br><br>Generated at: 2025-05-10 02:39:30 -07:00<br>Hello NF Graphic Design,
Thank you for contacting WooCommerce support.
I understand you’re seeing a spinning wheel on the Square settings page and 403 forbidden errors in the browser console, even after trying multiple troubleshooting steps.
Could you please share a screenshot of the page where the spinning wheel appears, along with the JavaScript errors from the browser console? Also, let me know if those errors were showing when only WooCommerce and the Square plugin were active.
You may use https://snipboard.io to upload images and share links here.
Additionally, please check under WooCommerce > Status > Logs for any related error messages and share those as well. This information will help in identifying what’s blocking the connection.
Looking forward to your response. 🙂
Hi Zubair,
Thanks for your reply.
https://snipboard.io/QxRHsD.jpg
https://snipboard.io/GXTSU9.jpg
https://snipboard.io/2TgxOk.jpg
These errors only occur in the wordpress backend when I go to woocommerce – square – settings, If I deactivate either of those plugins, I would not be able to access that backend page. If I go to other backend pages, the errors are not there.
Here are some errors in the woocommerce log
https://snipboard.io/ReQ9hA.jpg
https://snipboard.io/TrJ5eX.jpg
Please let me know if you need anything else.
thanks!
Thanks for sharing the screenshots!
The errors you’re seeing — especially the 403 responses and the CORS policy: No ‘Access-Control-Allow-Origin’ header — suggest that the connection attempt to the Square API or plugin endpoints is being blocked or misconfigured.
Here are a few things you can check:
- Site URL mismatch: Make sure your WordPress Site URL and WordPress Address (under Settings → General) match the domain exactly — including https and www if used. Mismatches here can trigger CORS issues.
- Security plugins or server rules: If you’re using a firewall, security plugin (like Wordfence or Sucuri), or custom .htaccess rules, try temporarily disabling them and testing again. These tools can block requests needed to authorize or connect to Square.
- Caching/CDN services: Clear any server-level or CDN caching (e.g., Cloudflare), and disable page caching during setup if possible.
- Plugin conflicts: While you mentioned WooPayments is active, try temporarily switching to a default theme like Storefront and deactivating other plugins except WooCommerce and WooCommerce Square to rule out any conflicts.
Let us know what happens. Thank you.
Hi,
Update for you, I was able to get back to the settings by making the site url and wordpress address the same. I like to keep wordpress in a subfolder and edit the index.php to make it the main url address. For some reason this prevented me from accessing the square settings page.
I had tried turning off the security plugin and turning off the Cloudflare CDN and neither was the problem, neither was any of the other plugins.
So I have linked the site again to square and before I switched the URL back to how I had it, this message was back again:
Heads up! Square is currently configured to log transaction data for debugging purposes. If you are not experiencing any problems with payment processing, we recommend turning off Debug Mode »
The connection seems ok as I was able to sync my products and on the checkout the credit card payment is back. I turned on debug log so I will see if that shows anything.
Thanks for your help in getting it back connected, but if you have any thoughts on why I am getting that message that would be great!
Hello NF Graphic Design,
Thank you for your reply.
I understand the situation you’re describing. The issue is most likely related to the URL and Address settings in WordPress. Could you please share a screenshot of those settings? It will help me understand the problem better and provide more accurate assistance.
Looking forward to your response. 🙂
Hi, here are my URL settings:
https://snipboard.io/vhJjzR.jpg
They have been set like that for over a year and the warning message appeared about 2 weeks ago.
thanks!
This is the error message
Hi @nf-graphic-design ,
Thanks for sharing that screenshot! From what I can see, your WordPress Address (URL) and Site Address (URL) are set to different values—and that’s likely what’s causing the notice you’re seeing.
I totally understand that this didn’t used to show up before, so it’s definitely confusing when something changes unexpectedly. The good news is, if everything on your site is still working smoothly, there’s no immediate need to worry. That said, the mismatch could potentially cause issues down the line.
If you’re up for it, I’d recommend updating both URLs to be the same. After that, reconnecting Square is a good idea just to make sure everything stays in sync and runs without hiccups.
I hope this helps clear things up!
Hi there,
It’s been a little while since we last heard from you, so I’ll mark this as resolved. Reach out anytime if you’d like to revisit this!
Since we’ve successfully helped you resolve the problem you experienced, would you mind leaving a positive review for us? Your rating would make a tremendous difference in our plugin’s visibility and help other merchants discover it: https://wordpress.org/support/plugin/woocommerce-square/reviews/#new-post
The topic ‘please disconnect and re-connect your site.’ is closed to new replies.