woocommerce / facebook-for-woocommerce

A first-party extension plugin built for WooCommerce. Development is managed by Ventures.
https://woocommerce.com/products/facebook/
GNU General Public License v2.0
211 stars 140 forks source link

"Not Acceptable!" message at the end of plugin integration #2812

Closed Fujiil52 closed 2 weeks ago

Fujiil52 commented 1 month ago

🔎 Isolate the bug

✍️ Describe the bug

When I am trying to link the Facebook account with Woocommerce, Facebook indicates that everything is all set in the first attached screenshot. Then when I click to finalize it takes me to a Woocommerce page to redirect me to the site in the second screenshot. Then I am getting an error message "Not Acceptable!" shown in the third screenshot.

Image Image Image

🚶‍♀️ Steps to reproduce

  1. The first step is when I start running the plugin to conect with Facebook.
  2. The next step… I select all account information.
  3. The next step... Facebook indicates everything is all set and then I click the finilize button
  4. The next step... WooCommerce indicate that I will be redirected to the site.
  5. The next step... Then the error occours and no integration is done.

✔️ Expected behavior

The integration is not working and no pixel gets instaled in the site.

🗃 Logs

`

WordPress Environment

WordPress address (URL): https://mimosdaisuki.com.br Site address (URL): https://mimosdaisuki.com.br WC Version: 9.3.3 Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site. Action Scheduler Version: ✔ 3.8.1 Log Directory Writable: ✔ WP Version: 6.6.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: pt_BR External object cache: –

Server Environment

Server Info: Apache PHP Version: 8.2.22 PHP Post Max Size: 516 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 8.10.0 OpenSSL/1.1.1w

SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔

Database

WC Database Version: 9.3.3 WC Database Prefix: wp_ Tamanho total do banco de dados: 19.54MB Tamanho dos dados do banco de dados: 15.52MB Tamanho do índice do banco de dado: 4.02MB wp_woocommerce_sessions: Dados: 0.08MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_api_keys: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_woocommerce_order_items: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_order_itemmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_tax_rates: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_woocommerce_tax_rate_locations: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zones: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_woocommerce_payment_tokens: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_log: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_actions: Dados: 0.16MB + Índex: 0.16MB + mecanismo InnoDB wp_actionscheduler_claims: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_groups: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_logs: Dados: 0.11MB + Índex: 0.09MB + mecanismo InnoDB wp_berocket_termmeta: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_braapf_product_stock_status_parent: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_braapf_product_variation_attributes: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_braapf_term_taxonomy_hierarchical: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_braapf_variable_attributes: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_ce4wp_abandoned_checkout: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_ce4wp_contacts: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_commentmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_comments: Dados: 0.02MB + Índex: 0.09MB + mecanismo InnoDB wp_e_events: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_e_notes: Dados: 0.02MB + Índex: 0.17MB + mecanismo InnoDB wp_e_notes_users_relations: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_e_submissions: Dados: 0.02MB + Índex: 0.27MB + mecanismo InnoDB wp_e_submissions_actions_log: Dados: 0.02MB + Índex: 0.11MB + mecanismo InnoDB wp_e_submissions_values: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_gdpr_cc_options: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_gla_attribute_mapping_rules: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_gla_budget_recommendations: Dados: 0.19MB + Índex: 0.14MB + mecanismo InnoDB wp_gla_merchant_issues: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_gla_shipping_rates: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_gla_shipping_times: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_jetpack_sync_queue: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_links: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_nfd_data_event_queue: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_options: Dados: 4.08MB + Índex: 0.19MB + mecanismo InnoDB wp_postmeta: Dados: 6.42MB + Índex: 0.39MB + mecanismo InnoDB wp_posts: Dados: 2.36MB + Índex: 0.06MB + mecanismo InnoDB wp_sbi_feeds: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_sbi_feed_caches: Dados: 0.08MB + Índex: 0.02MB + mecanismo InnoDB wp_sbi_instagram_feeds_posts: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_sbi_instagram_feed_locator: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_sbi_instagram_posts: Dados: 0.19MB + Índex: 0.00MB + mecanismo InnoDB wp_sbi_sources: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_termmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_terms: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_term_relationships: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_term_taxonomy: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_trustindex_google_reviews: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_usermeta: Dados: 0.09MB + Índex: 0.03MB + mecanismo InnoDB wp_users: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_wc_admin_notes: Dados: 0.06MB + Índex: 0.00MB + mecanismo InnoDB wp_wc_admin_note_actions: Dados: 0.05MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_category_lookup: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_wc_customer_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_download_log: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_orders: Dados: 0.02MB + Índex: 0.11MB + mecanismo InnoDB wp_wc_orders_meta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_order_addresses: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_wc_order_coupon_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_order_operational_data: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_order_product_lookup: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_wc_order_stats: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_wc_order_tax_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_product_attributes_lookup: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_product_download_directories: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_product_meta_lookup: Dados: 0.02MB + Índex: 0.11MB + mecanismo InnoDB wp_wc_rate_limits: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_reserved_stock: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_wc_tax_rate_classes: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_webhooks: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wpforms_logs: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_wpforms_payments: Dados: 0.02MB + Índex: 0.14MB + mecanismo InnoDB wp_wpforms_payment_meta: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_wpforms_tasks_meta: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_yith_shippo_shipping_parcel_boxes: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_yith_shippo_shipping_rulemeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_yith_shippo_shipping_rules: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_yith_shippo_shipping_tracking: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_yoast_indexable: Dados: 0.09MB + Índex: 0.09MB + mecanismo InnoDB wp_yoast_indexable_hierarchy: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_yoast_migrations: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_yoast_primary_term: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_yoast_seo_links: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB

Post Type Counts

attachment: 92 awl-labels: 2 br_product_filter: 5 customize_changeset: 1 elementor_library: 23 nav_menu_item: 24 page: 11 post: 2 product: 105 product_variation: 8 revision: 158 shop_coupon: 1 shop_order_placehold: 2 wpcode: 5 wp_navigation: 1

Security

Secure connection (HTTPS): ✔ Hide errors from visitors: ✔

Active Plugins (33)

Advanced Woo Labels: por ILLID – 2.03 FiboSearch - Pesquisa AJAX para WooCommerce: por Equipe FiboSearch – 1.28.1 Click to Chat: por HoliThemes – 4.11 Elementor Pro: por Elementor.com – 3.24.4 Elementor: por Elementor.com – 3.24.6 Facebook para WooCommerce: por Facebook – 3.2.10 Fluid Checkout for WooCommerce - Lite: por Fluid Checkout – 3.2.5 GDPR Cookie Compliance: por Moove Agency – 4.15.4 Google Analytics for WordPress by MonsterInsights: por MonsterInsights – 9.1.1 Google for WooCommerce: por WooCommerce – 2.8.6 WPCode Lite: por WPCode – 2.2.2 Smash Balloon Instagram Feeds: por Smash Balloon – 6.5.1 Jetpack: por Automattic – 13.9 Melhor Envio: por Melhor Envio – 2.15.7 OptinMonster: por OptinMonster Popup Builder Team – 2.16.5 PagBank for WooCommerce: por PagBank – 1.2.0 Swatchly - Variation Swatches for WooCommerce Products: por HasThemes – 1.3.5 Visibility Logic for Elementor: por StaxWP – 2.3.6 Advanced AJAX Product Filters for WooCommerce: por BeRocket – 1.6.6 Claudio Sanches - Correios para WooCommerce: por Claudio Sanches – 4.2.5 Brazilian Market on WooCommerce: por Claudio Sanches – 4.0.2 Google Analytics for WooCommerce: por WooCommerce – 2.1.7 Calculadora de frete na página do produto para WooCommerce: por Valdeir Oliveira – 1.0.1 WooCommerce: por Automattic – 9.3.3 Importador do WordPress: por wordpressdotorg – 0.8.2 Yoast SEO: por Equipe Yoast – 23.6 Widget de revisão do Google: por Trustindex.io – 12.3 WP Super Cache: por Automattic – 1.12.4 WPForms Lite: por WPForms – 1.9.1.3 WPvivid Backup Plugin: por WPvivid Team – 0.9.106 YITH PayPal Payments for WooCommerce Extended: por YITH – 3.4.0 YITH Shippo Shippings for WooCommerce Extended: por YITH – 1.26.0 YITH Stripe Payments for WooCommerce: por YITH – 1.0.6

Inactive Plugins (6)

Akismet Anti-spam: Spam Protection: por Automattic - Anti-spam Team – 5.3.3 Creative Mail by Newfold Digital: por Newfold Digital – 1.6.9 Hello Dolly: por Matt Mullenweg – 1.7.2 The HostGator Plugin: por HostGator – 2.11.7 WooCommerce Correios - Cálculo de Frete na Página do Produto (CFPP): por Lucas Bustamante – 3.4.0 WooPayments: por WooCommerce – 8.3.0

Dropin Plugins ()

advanced-cache.php: advanced-cache.php

Must Use Plugins (1)

Endurance Page Cache: por Mike Hansen – 2.2.1

Settings

Legacy API Enabled: – Force SSL: – Currency: BRL (R$) 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: ✔ 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 dias Level threshold: – Log directory size: 154 KB

WC Pages

Base da loja: #6 - /loja/ Carrinho: ❌ Página não contém o shortcode [woocommerce_cart] ou o bloco woocommerce/cart. Finalização de compra: #8 - /checkout/ - Contains the [woocommerce_checkout] shortcode Minha conta: ❌ A página não contém o shortcode [woocommerce_my_account]. Termos e condições: ❌ Página não definida

Theme

Name: Hello Elementor Version: 3.1.1 Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash Child Theme: ❌ – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho WooCommerce Support: ✔

Templates

Overrides: –

Admin

Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store 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 pattern-toolkit-full-composability product-custom-fields remote-inbox-notifications remote-free-extensions payment-gateway-suggestions printful shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page launch-your-store

Disabled Features: experimental-blocks minified-js product-pre-publish-modal settings async-product-editor-category-field product-editor-template-system blueprint reactify-classic-payments-settings

Daily Cron: ✔ Next scheduled: 2024-10-12 17:59:36 -03:00 Options: ✔ Notes: 75 Onboarding: skipped

Action Scheduler

Concluído: 512 Oldest: 2024-09-12 01:23:25 -0300 Newest: 2024-10-12 12:24:04 -0300

Malsucedido: 9 Oldest: 2024-07-09 15:05:10 -0300 Newest: 2024-10-09 17:22:44 -0300

Pendente: 8 Oldest: 2024-10-12 12:57:02 -0300 Newest: 2024-11-06 15:26:16 -0300

Status report information

Generated at: 2024-10-12 12:28:55 -03:00 `

layoutd commented 2 weeks ago

Hello @Fujiil52,

Sorry to hear about the difficulties installing Facebook for WooCommerce. Normally, support requests should be made on the support forums: https://wordpress.org/support/plugin/facebook-for-woocommerce/

The error message seems to related to a hosting configuration or Web Application Firewall (specifically, Mod_Security), not the Facebook for WooCommerce extension itself. There are some suggested fixes suggested on these pages:

If you continue having problems, you should contact your hosting provider. If they're unable to help you, you can open a new thread in the support forum to ask for further assitance.

Cheers