woocommerce / woocommerce-square

Square POS and Payments Integration
https://woo.com/products/square
Other
11 stars 7 forks source link

Checkout button does not translate using shortcode (remains in English), only block-based does #88

Open anastas10s-afk opened 8 months ago

anastas10s-afk commented 8 months ago

Describe the bug

With the shortcode-based (classic) Checkout, independently of the Site Language selected in the screen at Settings > General, it appears that the Checkout button (or Place Order, or however it may be called) always remains in English, and it does not translate to the selected locale.

Block-based works as expected.

To reproduce

  1. Activate Storefront (tested with TT4 also)
  2. Select English (United States)
  3. Activate Square, alongside WooCommerce
  4. Open-up classic, or block-based Checkout page — it all appears as expected
  5. Now, switch the site language to Français, for example, in the screen at Settings > General
  6. Refresh the Checkout pages - only the block-based one reflects the change at the checkout/place order button
  7. Now disable the Square plugin, and refresh the classic Checkout page, to see the Checkout page reflect the site language selected in General settings

Screenshots

Screenshot 2024-04-01 at 11 04 48 Screenshot 2024-04-01 at 11 05 29 Screenshot 2024-04-01 at 11 06 31 Screenshot 2024-04-01 at 11 06 58 Screenshot 2024-04-01 at 11 08 51 Screenshot 2024-04-01 at 11 10 24

Expected behavior

To have both classic and block-based checkout behave the same, when the site language is changed.

Environment (please complete the following information):

Additional details

7894229-zen

hc

System status ``` ` ### WordPress Environment ### WordPress address (URL): https://mystagingwebsite.com Site address (URL): https://mystagingwebsite.com WC Version: 8.7.0 REST API Version: ✔ 8.7.0 Action Scheduler Version: ✔ 3.7.2 Log Directory Writable: ✔ WP Version: 6.4.3 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: ✔ ### Server Environment ### Server Info: nginx PHP Version: 8.2.16 PHP Post Max Size: 2 GB PHP Time Limit: 1200 PHP Max Input Vars: 6144 cURL Version: 8.6.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.4.26-MariaDB-log Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.7.0 WC Database Prefix: wp_ Total Database Size: 56.66MB Database Data Size: 37.44MB Database Index Size: 19.22MB wp_woocommerce_sessions: Data: 0.08MB + 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.13MB + Index: 0.16MB + 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 vp_backup_wp_actionscheduler_actions: Data: 1.52MB + Index: 0.67MB + Engine InnoDB vp_backup_wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_actionscheduler_logs: Data: 1.52MB + Index: 0.41MB + Engine InnoDB vp_backup_wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB vp_backup_wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB vp_backup_wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB vp_backup_wp_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB vp_backup_wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB vp_backup_wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB vp_backup_wp_gla_merchant_issues: Data: 0.05MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_options: Data: 1.52MB + Index: 0.08MB + Engine InnoDB vp_backup_wp_postmeta: Data: 1.52MB + Index: 0.63MB + Engine InnoDB vp_backup_wp_posts: Data: 3.52MB + Index: 0.13MB + Engine InnoDB vp_backup_wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_usermeta: Data: 0.14MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB vp_backup_wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_deposits_payment_plans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_wc_deposits_payment_plans_schedule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB vp_backup_wp_wc_orders_meta: Data: 0.08MB + Index: 0.16MB + Engine InnoDB vp_backup_wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB vp_backup_wp_wc_order_composite_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB vp_backup_wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB vp_backup_wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB vp_backup_wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_woocommerce_gc_activity: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_woocommerce_gc_cards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB vp_backup_wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_woocommerce_sessions: Data: 0.13MB + Index: 0.02MB + Engine InnoDB vp_backup_wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB vp_backup_wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB vp_backup_wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB vp_backup_wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_actionscheduler_actions: Data: 1.52MB + Index: 0.73MB + 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: 1.52MB + Index: 0.44MB + Engine InnoDB wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 2.33MB + Index: 0.08MB + Engine InnoDB wp_postmeta: Data: 1.52MB + Index: 0.63MB + Engine InnoDB wp_posts: Data: 3.52MB + Index: 0.13MB + Engine InnoDB wp_snippets: 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.14MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + 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_deposits_payment_plans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_deposits_payment_plans_schedule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.05MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.13MB + Index: 0.25MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_order_composite_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: 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_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.05MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gc_activity: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_gc_cards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 0.08MB + Index: 0.02MB + Engine InnoDB __wp_actionscheduler_actions: Data: 6.02MB + Index: 4.00MB + 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: 2.02MB + Index: 2.48MB + Engine InnoDB __wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB __wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB __wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB __wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB __wp_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB __wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB __wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB __wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB __wp_gla_merchant_issues: Data: 0.06MB + Index: 0.00MB + Engine InnoDB __wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB __wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_options: Data: 1.11MB + Index: 0.08MB + Engine InnoDB __wp_postmeta: Data: 0.38MB + Index: 0.34MB + Engine InnoDB __wp_posts: Data: 1.52MB + Index: 0.06MB + Engine InnoDB __wp_snippets: 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.06MB + Index: 0.03MB + Engine InnoDB __wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB __wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB __wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB __wp_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_wc_bookings_availabilitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + 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_deposits_payment_plans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB __wp_wc_deposits_payment_plans_schedule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB __wp_wc_orders_meta: Data: 0.05MB + Index: 0.06MB + Engine InnoDB __wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB __wp_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB __wp_wc_order_composite_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB __wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_wc_order_operational_data: 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_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.02MB + 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.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_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB __wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB __wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB __wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB __wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + 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_square_customers: Data: 0.02MB + Index: 0.00MB + 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 ### Post Type Counts ### attachment: 17 aw_workflow: 1 bookable_person: 2 custom_css: 1 global_product_addon: 1 jp_pay_product: 5 nav_menu_item: 9 page: 27 post: 46 product: 42 product_variation: 111 revision: 217 shop_coupon: 3 shop_order: 69 shop_order_refund: 5 shop_subscription: 4 wc_booking: 1 wp_global_styles: 2 wp_navigation: 1 wp_template: 3 wp_template_part: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (6) ### Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.2 Jetpack Protect: by Automattic - Jetpack Security team – 2.0.0 Jetpack: by Automattic – 13.3-a.9 WooCommerce Square: by WooCommerce – 4.6.0 WooCommerce: by Automattic – 8.7.0 WP Mail Logging: by WP Mail Logging Team – 1.12.0 ### Inactive Plugins (35) ### ### Dropin Plugins () ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached ### Must Use Plugins (1) ### Code Profiler (mu-plugin): by Jerome Bruandet – 1.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: booking (booking) bundle (bundle) composite (composite) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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 Woo.com: ✔ Enforce Approved Product Download Directories: ✔ HPOS feature screen enabled: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: ✔ ### Logging ### Enabled: ✔ Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 947 KB ### WC Pages ### Shop base: #5 - /shop/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: ❌ Page visibility should be public ### Theme ### Name: Twenty Twenty-Four Version: 1.0 Author URL: https://wordpress.org 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: ❌ Not declared ### Templates ### Overrides: /wordpress/plugins/woocommerce/8.7.0/templates/block-notices/error.php /wordpress/plugins/woocommerce/8.7.0/templates/block-notices/notice.php /wordpress/plugins/woocommerce/8.7.0/templates/block-notices/success.php ### Square ### Environment: Production Tokenization Enabled: ✔ Debug Mode: Off ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked 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: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2024-04-02 07:33:28 +02:00 Options: ✔ Notes: 45 Onboarding: skipped ### Action Scheduler ### Canceled: 1 Oldest: 2024-03-20 10:23:55 +0100 Newest: 2024-03-20 10:23:55 +0100 Complete: 207 Oldest: 2024-03-01 15:36:48 +0100 Newest: 2024-04-01 11:19:09 +0200 Failed: 2,303 Oldest: 2023-06-08 12:06:57 +0200 Newest: 2024-03-20 11:56:56 +0100 Pending: 2 Oldest: 2024-04-01 11:34:07 +0200 Newest: 2024-04-01 15:04:47 +0200 ### Status report information ### Generated at: 2024-04-01 11:32:53 +02:00 ` ```
jeffpaul commented 4 months ago

Given that WP/Woo are shifted towards a block-based experience, we're unlikely to work on fixing an issue related to shortcodes unless significant merchant feedback demanded it.

MiguelAxcar commented 1 week ago

I could not reproduce this issue.

WooCommerce wasn't translated to Brazilian Portuguese. I downloaded the translations from WordPress Admin and the checkout button is being properly translated to the chosen language when Square is activated. Note the Credit Card payment method from Square available on the screenshots.

TT4

Image

Storefront

Image

@vikrampm1 I believe that this issue can be closed.

jeffpaul commented 4 days ago

@anastas10s-afk can you confirm this looks resolved for you as well?