Location not able to be set
-
Woocommerce Square is not showing credit card as a payment option and I can not select a location in the Square set up that says to set location.
Afterpay is working through the same plugin, however no credit card payment options will work. Credit card is enabled. Have contacted Square, and all settings are correct on their end with no connection issues.
The page I need help with: [log in to see the link]
-
Hello @belinda2016,
I understand there’s a problem with Square’s settings in the back end.Woocommerce Square is not showing credit card as a payment option and I can not select a location in the Square set up that says to set location.
I believe Square takes the address of your site in
WooCommerce > Setting > General
so please make sure the address there is entered correctly.
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.
It’s also worth checking if there are any Fatal/Square error logs from WooCommerce > Status > Logs and choosing from the drop-down menu thefatal-errors.log
option.
Look forward to hearing back from you.Hi Saif,
Thank you for your reply.
I have checked the woo settings and the address is correct. I then checked the Square set up again and location is still not able to be set.
Below is the status report. Woo and Square plugins are up to date with the most recent update.
WordPress Environment WordPress address (URL): https://hairbyphd.com.au Site address (URL): https://hairbyphd.com.au WC Version: 7.4.1 REST API Version: ?</img> 7.4.1 WC Blocks Version: ?</img> 9.4.4 Action Scheduler Version: ?</img> 3.5.4 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ?</img> Language: en_US External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 8.1.16 PHP Post Max Size: 512 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.2.43-MariaDB-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.4.1 WC Database Prefix: wp_ Total Database Size: 52.87MB Database Data Size: 44.20MB Database Index Size: 8.67MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.08MB + Index: 0.04MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.50MB + Index: 0.33MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.13MB + Index: 0.16MB + 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.11MB + Index: 0.09MB + Engine InnoDB wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_comments: Data: 0.39MB + Index: 0.16MB + Engine MyISAM wp_giftvouchers_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_giftvouchers_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_giftvouchers_setting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_giftvouchers_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 3.59MB + Index: 0.16MB + Engine MyISAM wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 26.15MB + Index: 4.58MB + Engine MyISAM wp_posts: Data: 5.88MB + Index: 0.52MB + Engine MyISAM wp_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sbi_feed_caches: Data: 0.20MB + Index: 0.02MB + Engine InnoDB wp_sbi_instagram_feeds_posts: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sbi_instagram_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_sgs_log_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sgs_log_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_terms: Data: 0.03MB + Index: 0.05MB + Engine MyISAM wp_term_relationships: Data: 0.15MB + Index: 0.31MB + Engine MyISAM wp_term_taxonomy: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.37MB + Index: 0.23MB + Engine MyISAM wp_users: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_vtprd_purchase_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_vtprd_purchase_log_product: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_vtprd_purchase_log_product_rule: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_vtprd_transient_cart_data: Data: 0.05MB + Index: 0.03MB + 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.06MB + Index: 0.06MB + Engine InnoDB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_entries: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_wpforms_entry_fields: Data: 0.47MB + Index: 0.41MB + Engine InnoDB wp_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wp_phpmyadmin_extension__errors_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yith_ywrac_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 1.52MB + Index: 0.59MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.05MB + 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.14MB + Index: 0.09MB + Engine InnoDB Post Type Counts afterpay_quote: 32 attachment: 1220 custom_css: 1 custom-css-js: 2 et_footer_layout: 1 et_header_layout: 1 et_template: 3 et_theme_builder: 1 flamingo_contact: 109 flamingo_inbound: 3750 mc4wp-form: 2 nav_menu_item: 44 page: 31 penci_slider: 3 portfolio: 12 post: 296 product: 322 product_variation: 8 revision: 315 shop_coupon: 5 shop_order: 646 shop_order_refund: 4 user_request: 1 vtprd-rule: 1 wc_whsm: 1 wpcf7_contact_form: 11 wpforms: 3 wpgv_voucher_product: 2 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (26) ManageWP - Worker: by GoDaddy – 4.9.15 Afterpay Gateway for WooCommerce: by Afterpay – 3.5.0 All-in-One WP Migration: by ServMask – 7.68 Simple Custom CSS and JS: by SilkyPress.com – 3.41 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported): by codemenschen – 4.2.4 Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 7.10.1 Header and Footer Scripts: by Digital Liberation – 2.2.1 Instagram Feed Pro Personal: by Smash Balloon – 6.2 Social Slider Feed: by creativemotion – 2.1.0 Mailchimp for WooCommerce: by Mailchimp – 2.7.6 oAuth Twitter Feed for Developers: by Liam Gladdy (Storm Consultancy) – 2.3.0 Really Simple SSL: by Really Simple Plugins – 6.0.11 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.22.24 WooCommerce Payments: by Automattic – 5.5.1 WooCommerce Square: by WooCommerce – 3.6.1 WooCommerce: by Automattic – 7.4.1 WordPress Importer: by wordpressdotorg – 0.8 Yoast SEO: by Team Yoast – 19.11 WP Fastest Cache: by Emre Vona – 1.0.8 WP Mail SMTP: by WPForms – 3.7.0 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.9 WP Rollback: by GiveWP.com – 1.7.2 WPForms Post Submissions: by WPForms – 1.4.0 WPForms Sendinblue: by WPForms – 1.2.0 WPForms: by WPForms – 1.7.9.1 Inactive Plugins (26) Australia Post WooCommerce Extension: by WPRuby – 1.9.9 Australia Post WooCommerce Extension PRO: by WPRuby – 2.6.2 CF7 Invisible reCAPTCHA: by Vsourz Digital – 1.3.3 Contact Form 7: by Takayuki Miyoshi – 5.6.4 Contact Form 7 IE DatePicker and Number Spinner Fix: by Benjamin Klein – 2.6 Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.8.1 Facebook for WooCommerce: by Facebook – 3.0.5 Flamingo: by Takayuki Miyoshi – 2.3 Meta pixel for WordPress: by Facebook – 3.0.8 Product Feed PRO for WooCommerce: by AdTribes.io – 12.0.3 Product GTIN (EAN, UPC, ISBN) for WooCommerce: by Emanuela Castorina – 1.1.1 SiteGround Security: by SiteGround – 1.3.7 Smash Balloon Instagram Feed: by Smash Balloon – 6.1 Vafpress Post Formats UI: by vafpress – 1.5 Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.13 VarkTech Pricing Deals for WooCommerce: by Vark – 2.0.3.2 WooCommerce Shipping & Tax: by WooCommerce – 2.1.0 (update to version 2.2.3 is available) Woo Product Category Discount: by WooExtend – 4.4 WP All Import - User Import Add-On Pro: by Soflyy – 1.1.8 WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.4 WP All Import Pro: by Soflyy – 4.7.7 WP phpMyAdmin: by Puvox.software – 5.2.0.7 YITH Infinite Scrolling Premium: by YITH – 1.1.15 YITH WooCommerce Ajax Search Premium: by YITH – 1.7.3 YITH WooCommerce Product Gallery & Image Zoom: by YITH – 2.15.0 YITH WooCommerce Recover Abandoned Cart Premium: by YITH – 1.4.0 Dropin Plugins (1) advanced-cache.php: advanced-cache.php Must Use Plugins (1) ManageWP - Worker Loader: by GoDaddy – 1.0.0 Settings API Enabled: ?</img> Force SSL: – Currency: AUD ($) 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: – Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #2776 - /shop/ Cart: #2777 - /cart/ Checkout: #2778 - /checkout/ My account: #2779 - /my-account/ Terms and conditions: #4938 - /terms-and-conditions/ Theme Name: Divi Version: 4.19.2 Author URL: https://www.elegantthemes.com Child Theme: ?</img> – 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: ?</img> Templates Overrides: – Square Environment: Production Tokenization Enabled: – Debug Mode: Off Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation new-product-management-experience onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js product-variation-management settings Daily Cron: ?</img> Next scheduled: 2023-03-07 23:10:09 +10:00 Options: ?</img> Notes: 12 Onboarding: completed WooCommerce Payments Version: 5.5.1 Connected to WPCOM: No Blog ID: - Account ID: - Action Scheduler Complete: 318 Oldest: 2023-02-04 11:50:55 +0000 Newest: 2023-03-07 10:09:41 +0000 Failed: 28 Oldest: 2022-08-24 14:15:38 +0000 Newest: 2023-03-01 12:12:01 +0000 Pending: 8 Oldest: 2023-03-08 02:14:25 +0000 Newest: 2023-03-08 21:39:48 +0000 Status report information Generated at: 2023-03-07 20:11:27 +10:00 `
Hello,
Under your site back end, please navigate to WooCommerce > settings > Square, and be sure that Square is enabled:
Then try disconnecting the site from Square and then re-connect.
If that does not help, please navigate to WooCommerce > System Status > Logs (check if there are errors coming from Square) and let us know the results.
Thanks.
Thanks, yes square is enabled in all places it should be.
I have checked and there is errors relating to location.
Here is one of the error logs:
03-07-2023 @ 20:11:11 - Response Response code: 401 message: headers: Array ( [0] => HTTP/2 401 [date] => Tue, 07 Mar 2023 10:11:10 GMT [content-type] => application/json [content-length] => 161 [vary] => Origin, Accept-Encoding [x-content-type-options] => nosniff [x-download-options] => noopen [x-frame-options] => SAMEORIGIN [x-permitted-cross-domain-policies] => none [x-sq-envoy-safe-auth-decision] => UNAUTHORIZED [x-xss-protection] => 1; mode=block [x-sq-dc] => sjc3b [x-sq-region] => sjc3b [strict-transport-security] => max-age=631152000; includeSubDomains; preload ) body: Array ( [0] => Square\Models\Error Object ( [category:Square\Models\Error:private] => AUTHENTICATION_ERROR [code:Square\Models\Error:private] => UNAUTHORIZED [detail:Square\Models\Error:private] => This request could not be authorized. [field:Square\Models\Error:private] => ) ) 03-07-2023 @ 20:11:11 - Could not retrieve business locations.
Hello,
Thanks for sending the error information.
Can you check under your Square dashboard, go to Account, and then add a location? I understood you contacted Square support about this. But please double-check if the location is added, but it is asking for an address.
AUTHENTICATION_ERROR
This is the main error we have to troubleshoot. Please head to WooCommerce > settings > Square you’ll see a button to disconnect and reconnect, please click it and make sure to configure the extension according to these guidelines.
Let us know if you need further assistance, or if the issue persists.
Yay! Thank you, it has been fixed. The location was set in Square, but I disconnected and reconnected and it has appeared.
Strangely I did this in my troubleshooting and it didn’t change anything or allow a location. But, I’m very happy it has seemed to work now and credit card is now appearing as an option on the checkout page.Thank you for your help! It was spot on.
Hi @belinda2016
You are most welcome and we’re glad that worked! ??
I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.
Meanwhile, if you have a few minutes, we’d love it if you could leave us a review:
https://www.ads-software.com/support/plugin/woocommerce-square/reviews/
Thanks!
- The topic ‘Location not able to be set’ is closed to new replies.