location not showing
-
I installed woocommerce square but it does not show any location in dropdown .
-
Hi there @apexa0123,
Thanks for reaching out!
First of all, please make sure that your Square location is Active and has Credit Card Processing enabled: https://docs.woocommerce.com/document/woocommerce-square/#section-4
You can also enable logging in WooCommerce > Setting > Square and check what the
squarelog returns in WooCommerce > Status > Logs (choosesquarelog in the drop-down).You’ll see a list of returned locations there and if they’re active and Credit Card Processing is enabled:
Link to image: https://d.pr/i/kf7jTkLet me know how that goes!
Log displays:
07-29-2020 @ 11:31:02 – Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.6 (WooCommerce/4.3.1; WordPress/5.4.2)
headers: Array
(
)
body:
duration: 0.01705s07-29-2020 @ 11:31:02 – Response
Response
code: 0
message:
headers:
body:07-29-2020 @ 11:33:51 – Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.6 (WooCommerce/4.3.1; WordPress/5.4.2)
headers: Array
(
)
body:
duration: 0.04085s07-29-2020 @ 11:33:51 – Response
Response
code: 0
message:
headers:
body:07-29-2020 @ 11:40:21 – Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.6 (WooCommerce/4.3.1; WordPress/5.4.2)
headers: Array
(
)
body:
duration: 0.04367s07-29-2020 @ 11:40:21 – Response
Response
code: 0
message:
headers:
body:07-29-2020 @ 11:54:02 – Request
Request
method:
uri: listLocationsWithHttpInfo
user-agent: WooCommerce-Square/2.1.6 (WooCommerce/4.3.1; WordPress/5.4.2)
headers: Array
(
)
body:
duration: 0.03656s07-29-2020 @ 11:54:02 – Response
Response
code: 0
message:
headers:
body:Hi there @apexa0123,
Thanks for the logs!
They do indicate that no location is fetched at all. Did you connect your site to your Square account in WooCommerce > Settings > Square?
If yes, can you please reconnect?
Also, can you please check that Square account you’re connecting to has a location added?
Hi, yes I have reconnected square account and square account also shows woocommerce square as apps from its dashboard, can you please connect my site and guide me .
is that necessary to add SKU for all products before setting location ??
Hi there @apexa0123,
Are you connecting your site to Square in live or sandbox mode?
For live mode, no apps are needed. When you click Connect, you’re redirected to Square where you can log in and be redirected back.
Is that what’s happening?
I am connecting site for live mode, and yes it redirects me to square login and after giving permissions I redirected back to the site,
@apexa0123, no SKUs are not needed on the step of connecting your site but they will be necessary to sync your products.
ok now please connect to my site and see the setup I have done and please give further instructions.
Hi there @apexa0123,
Square is a standalone plugin running between your site and Square and we don’t have access or any means to set up such connection on our end.
Could 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”. Once you’ve done that, paste it here in your response in coding brackets.Cheers!
### WordPress Environment ### WordPress address (URL): https://www.pharmtreehealthcare.com Site address (URL): https://www.pharmtreehealthcare.com WC Version: 4.3.1 REST API Version: ✔ 1.0.10 WC Blocks Version: ✔ 2.7.2 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.3.1 Log Directory Writable: ✔ WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Microsoft-IIS/8.5 PHP Version: 7.3.13 PHP Post Max Size: 8 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.67.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.6.29 Max Upload Size: 2 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.3.1 WC Database Prefix: wp_ Total Database Size: 66.03MB Database Data Size: 62.80MB Database Index Size: 3.23MB 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.06MB + 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.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: 0.06MB + Index: 0.11MB + 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.05MB + Index: 0.03MB + Engine InnoDB wp_apct_testimonial_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_apmm_custom_theme: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aps_social_icons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_atum_product_data: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_cf7_vdata: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cf7_vdata_entry: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_check_pincode_p: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_db7_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ewwwio_images: Data: 0.09MB + Index: 0.11MB + Engine InnoDB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_image_storage: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_nextend2_section_storage: Data: 0.03MB + Index: 0.06MB + Engine InnoDB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_smartslider3_sliders: Data: 0.14MB + Index: 0.03MB + Engine InnoDB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB wp_options: Data: 4.08MB + Index: 0.16MB + Engine InnoDB wp_pincode_setting_p: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 10.16MB + Index: 0.63MB + Engine InnoDB wp_posts: Data: 46.31MB + Index: 0.45MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_stock_log: Data: 0.02MB + Index: 0.00MB + 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.08MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + 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_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woo_square_integration_deleted_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woo_square_integration_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_xyz_ips_short_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_yoast_indexable: Data: 0.17MB + Index: 0.09MB + 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.06MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 2 acf-field-group: 1 attachment: 251 custom_css: 5 customize_changeset: 129 elementor_library: 9 modalpopupbox: 1 nav_menu_item: 38 o-list: 1 page: 37 popup: 2 popup_theme: 7 post: 2 product: 26 product_variation: 105 revision: 1766 shop_coupon: 2 shop_order_refund: 2 sp_wcslider: 1 wc_product_table: 1 wcpa_pt_forms: 2 wpcf7_contact_form: 1 yith_wcps_type: 1 ywdpd_discount: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (36) ### Query Monitor: by John Blackbourn – 3.6.1 Advanced CF7 DB: by Vsourz Digital – 1.7.2 AJAX Login and Registration modal popup + inline form: by Maxim K – 2.10 AP Mega Menu: by AccessPress Themes – 3.0.0 PublishPress Capabilities: by PublishPress – 1.9.12 CF7 Google Sheet Connector: by WesternDeal – 4.2 Code Snippets: by Code Snippets Pro – 2.14.0 Contact Form 7: by Takayuki Miyoshi – 5.2 Ultimate Add To Cart Button For WooCommerce: by BinaryCarpenter.com – 1.118 – Installed version not tested with active version of WooCommerce 4.3.1 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.3.9.3 Elementor: by Elementor.com – 2.9.14 EWWW Image Optimizer: by Exactly WWW – 5.6.0 Insert Headers and Footers: by WPBeginner – 1.4.6 Insert PHP Code Snippet: by xyzscripts.com – 1.3.1 CF Page or Post Duplicator: by Carlos Fazenda – 1.1 PH Royal Mail WooCommerce Shipping: by PluginHive – 1.0.6 – Installed version not tested with active version of WooCommerce 4.3.1 Popup Maker: by Popup Maker – 1.11.0 Salert: by WPoperation – 1.1.4 – Installed version not tested with active version of WooCommerce 4.3.1 Smart Slider 3: by Nextend – 3.4.1.8 GDPR Cookie Consent Banner: by termly – 2.3.15 Ultra Companion: by WPoperation – 1.1.4 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.26 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.3 Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.4 – Installed version not tested with active version of WooCommerce 4.3.1 Stripe For WooCommerce: by Payment Plugins support@paymentplugins.com – 3.1.7 WooCommerce Extra Product Sorting Options: by SkyVerge – 2.8.4 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 WooCommerce Services: by Automattic – 1.23.2 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce Square: by WooCommerce – 2.1.6 WooCommerce: by Automattic – 4.3.1 Yoast SEO: by Team Yoast – 14.6.1 WP File Manager: by mndpsingh287 – 6.5 WPB Product Slider for WooCommerce: by wpbean – 2.0.8.7 – Installed version not tested with active version of WooCommerce 4.3.1 WPC Variations Radio Buttons for WooCommerce: by WPClever.net – 2.0.5 – Installed version not tested with active version of WooCommerce 4.3.1 Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.7.1 – Installed version not tested with active version of WooCommerce 4.3.1 YITH WooCommerce Wishlist: by YITH – 3.0.11 – Installed version not tested with active version of WooCommerce 4.3.1 ### Inactive Plugins (5) ### Category Slider for WooCommerce: by ShapedPlugin – 1.2.4 – Installed version not tested with active version of WooCommerce 4.3.1 Site Kit by Google: by Google – 1.12.0 WooCommerce Royal Mail Shipping Calculator: by WPRuby – 1.5.2 – Installed version not tested with active version of WooCommerce 4.3.1 Wpbingo Core: by TungHV – 1.0 WP Mail SMTP: by WPForms – 2.2.1 ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: composite (composite) 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: #378 - /shop/ Cart: #127 - /cart-3/ Checkout: #128 - /checkout-3/ My account: #129 - /my-account-3/ Terms and conditions: #3 - /privacy-policy/ ### Theme ### Name: pharmtreee Version: 1.3.6 Author URL: https://www.pharmtreehealthcare.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: storevilla/woocommerce/global\quantity-input.php version 4.0 is out of date. The core version is 4.0.0 Outdated Templates: ❌ Learn how to update ### Square ### Environment: Production Tokenization Enabled: ✔ Debug Mode: Save to Log ### Action Scheduler ### Complete: 106 Oldest: 2020-06-29 08:27:46 +0000 Newest: 2020-07-29 11:53:28 +0000 Pending: 3 Oldest: 2020-07-30 11:53:28 +0000 Newest: 2020-08-03 04:36:57 +0000Thank you @apexa0123.
Here are a few more things to check:
– Check with your host if communication requests to either of the following endpoints are going through:
https://connect.woocommerce.com/renew/square https://connect.squareup.com/v1/me/locations– If your site has proper SSL configured. I don’t see any errors for your site in https://www.sslshopper.com/ssl-checker.html#hostname=www.pharmtreehealthcare.com but it’s still worth checking if your host see any related server-side errors.
– If there are any cURL issues on your site. I see that you’re hosted on IIS server so please check this document as well: https://martinsblog.dk/windows-iis-with-php-curl-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate/
Please also enable WP_DEBUG (http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG_LOG) for your site, reconnect Square, and check if you see any errors there. Your host can also help you with that. Paste any errors you get here in your response.
Cheers!
I enable debug mode and there is no error in my site and also try to solve curl error as you sent the solution but there is no change in site
Thank You for your prompt response, what is the need to enable credit card processing from square dashboard? and how to enable that, I followed steps from a link You have sent that says credit card processing should be enabled
Hello Thank You for Your solution and there is server side curl 6: hosting error on my site that is why location was not working.
The topic ‘location not showing’ is closed to new replies.