We have been experiencing Duplicate orders whichever payment methods, up to 3 at a time. Causing massive issue refunding card payments etc. Debug logs show Faire is causing Fatal Errors. Disabling Faire solves the issue. May I suggest the plugin is not fit for purpose?
]]>After some investigation, it appears that the recent update to the Faire for WooCommerce plugin from v1.7.3 -> v1.7.4 has resulted in errors which are manifesting on the front end by users being presented the following message:There was an error processing your order. Please check for any charges in your payment method and review your?order history?before placing the order again.
In the apache2 error log, I see the following corresponding PHP errors:PHP message: PHP Warning: Attempt to read property "settings" on null in /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.php on line 109; PHP message: PHP Fatal error: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, null given in /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.php:112\nStack trace:\n#0 /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.php(112): array_intersect_key()\n#1 /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.php(63): Faire\Wc\Api\Drivers\Logging_Driver->log_settings()\n#2 /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/class-json-api-driver.php(88): Faire\Wc\Api\Drivers\Logging_Driver->send()\n#3 /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/client/class-api-client.php(262): Faire\Wc\Api\Drivers\Json_Api_Driver->send()\n#4 /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/client/class-api-client.php(162): Faire\Wc\Api\Client\Api_Client->send_request()\n#5 /var/www/html/wp-content/plugins/faire-f…', referer: https://www.[REDACTED].com/checkout/
These errors only started after the upgrade to 1.7.4 and no other plugins have changed in the interim.
Here’s the output from the WooCommerce System status report:
System Status Report
### WordPress Environment ###
WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
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: 256 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –
### Server Environment ###
Server Info: Apache/2.4.41 (Ubuntu)
PHP Version: 8.2.23
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.68.0
OpenSSL/1.1.1f
SUHOSIN Installed: –
MySQL Version: 8.0.39
Max Upload Size: 8 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?
### Database ###
[REDACTED]
### Post Type Counts ###
acf-field: 9
acf-field-group: 2
acf-post-type: 1
acf-taxonomy: 3
attachment: 324
cs_footer: 1
cs_header: 2
cs_layout_archive: 3
cs_layout_archive_wc: 3
cs_layout_single: 1
cs_layout_single_wc: 2
cs_template: 4
custom_css: 1
flamingo_contact: 168
flamingo_inbound: 120
nav_menu_item: 20
order_form: 1
page: 30
post: 5
product: 44
product_variation: 9
recipe: 1
recipes: 153
revision: 424
seedprod: 2
shipping_package: 3
shop_coupon: 14
shop_order: 3693
shop_order_refund: 18
wafs: 2
wp_global_styles: 2
wp_navigation: 1
wp_template: 2
wpforms: 8
### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?
### Active Plugins (33) ###
Advanced Custom Fields PRO: by WP Engine – 6.3.8
AffiliateWP: by AffiliateWP – 2.27.1
The SEO Framework: by The SEO Framework Team – 5.0.6
Better Search Replace: by WP Engine – 1.4.7
Admin Columns: by AdminColumns.com – 4.7.7
GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: by Thomas Geiger – 1.20.2
Enable Media Replace: by ShortPixel – 4.1.5
Facebook for WooCommerce: by Facebook – 3.2.10
Health Check & Troubleshooting: by The www.remarpro.com community – 1.7.1
Instant Images: by Darren Cooney – 6.1.2
Jetpack: by Automattic – 13.9.1
Custom 404: by Themeco – 2.0.6
White Label: by Themeco – 2.0.6
Converter for Media: by matt plugins - Optimize images by convert WebP & AVIF – 6.1.1
Facebook Sync Issue Fix: by William Whispell – 1.0
WooCommerce.com Update Manager: by Automattic – 1.0.3
WooCommerce Gift Cards: by Woo – 2.0.4
WooPayments: by WooCommerce – 8.3.0
PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.8
Brevo - WooCommerce Email Marketing: by Brevo – 4.0.30
WooCommerce Shipping & Tax: by WooCommerce – 2.8.2
WooCommerce UPS Shipping: by WooCommerce – 3.7.1
WooCommerce USPS Shipping: by WooCommerce – 5.0.0
WooCommerce Wholesale Lead Capture: by Rymera Web Co – 1.17.8
WooCommerce Wholesale Prices Premium: by Rymera Web Co – 2.0.2
WooCommerce Wholesale Prices: by Rymera Web Co – 2.2.0.2
WooCommerce: by Automattic – 9.3.3
Wordfence Security: by Wordfence – 7.11.7
WP Mail Logging: by WP Mail Logging Team – 1.13.1
WP Mail SMTP: by WP Mail SMTP – 4.1.1
WP Super Cache: by Automattic – 1.12.4
WPForms Brevo: by WPForms – 1.3.0
WPForms: by WPForms – 1.9.1.3
### Inactive Plugins (4) ###
Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.6.3.1
Advanced Custom Fields: by WP Engine – 6.3.9
Faire for WooCommerce: by Faire – 1.7.4
WooCommerce Wholesale Order Form: by Rymera Web Co – 3.0
### Dropin Plugins () ###
advanced-cache.php: advanced-cache.php
### Must Use Plugins (1) ###
Health Check Troubleshooting Mode: by – 1.9.1
### Settings ###
Legacy API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: bundle (bundle)
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 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 days
Level threshold: –
Log directory size: 20 MB
### WC Pages ###
Shop base: #362 - /shop/
Cart: #323 - /cart/ - Contains the [woocommerce_cart] shortcode
Checkout: #324 - /checkout/ - Contains the [woocommerce_checkout] shortcode
My account: #325 - /my-account/
Terms and conditions: #347 - /terms-of-service/
### Theme ###
Name: remedy
Version: 1.0.0
Author URL: https://remedycocktailcompany.com/
Child Theme: ?
Parent Theme Name: Pro
Parent Theme Version: 6.5.9
Parent Theme Author URL: https://theme.co
WooCommerce Support: ?
### Templates ###
Overrides: remedy/woocommerce/emails/admin-new-order.php
### WooPayments ###
Version: 8.3.0
Connected to WPCOM: Yes
WPCOM Blog ID: 202868133
Account ID: acct_1KTX8R2HKaUyeMzK
Payment Gateway: Enabled
Test Mode: Disabled
Enabled APMs: card
WooPay: Disabled
WooPay Incompatible Extensions: No
Apple Pay / Google Pay: Enabled (product,cart,checkout)
Fraud Protection Level: basic
Multi-currency: Enabled
Auth and Capture: Enabled
Documents: Disabled
Logging: Disabled
### Gift Cards ###
Database Version: 2.0.4
Loopback Test: ?
Task Queueing Test: ?
### 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-16 20:55:16 -04:00
Options: ?
Notes: 163
Onboarding: completed
### Action Scheduler ###
Canceled: 101
Oldest: 2024-09-18 11:19:37 -0400
Newest: 2024-10-16 10:34:34 -0400
Complete: 7,107
Oldest: 2024-09-15 11:58:38 -0400
Newest: 2024-10-16 11:36:37 -0400
Failed: 14
Oldest: 2023-11-24 20:18:52 -0500
Newest: 2024-10-16 11:25:37 -0400
Pending: 24
Oldest: 2024-10-16 11:55:37 -0400
Newest: 2024-11-06 09:37:20 -0500
### Status report information ###
Generated at: 2024-10-16 11:39:37 -04:00
]]>
I keep updating my inventory counts from the woocommerce side, confirm they sync and are identical on Faire, and then within the a day or two the numbers have reverted! Not all of them and not at once. There are no sales happening to throw it off. What the heck is happening and how do I get it to stop? Haha. I am going crazy having to recount my inventory constantly and my shop showing I’m out of things I am not is not good for business.
]]>We are only wanting to sync our product catalog from woocommerce to faire. We do not want to do any time of order syncing to fair or from faire to woocommerce.
]]>We are having issues with the Faire integration – multiple old fulfilled orders keep on being re-created in the WC back-end causing us inventory headaches.
How to fix this? Any idea why it is happening?
]]>Hi,
I have installed the Faire plugin but the products keep failing to sync.
Allready had contact with Faire and WooCommerce support, they don’t know.
Weird thing that there was a product created today in WooCommerce and this is the only product that did sync. But somehow all the existing products keep failing.
I have the latest update of the plugin, API is ok otherwise that one product would not be synced and there are no error messages in the log.
What could go wrong or what should I adjust?
Kind regards,
Hi there,
We have installed the plugin on our website and initiated a product sync a while ago, although some products have synced with no problems, others are failing to sync as seen with these logs:
? Update product failed: Faire API error: Unknown API Response — 33 mins ago
? Update product failed: Faire API error: Unknown API Response — 22 hours ago
? Update product failed: Faire API error: Unknown API Response — 5 days ago
What could be causing this to happen?
]]>With this plugin active I can no longer use these buttons when editing products: Publish, Save Draft.
They look like they should be clickable and it shows that I clicked on it, but doesn’t do anything. Right-clicking on it doesn’t pull up the normal options a button would.
I am posting this issue here because I deactivated all plugins to determine this Faire Plugin is the culprit. I deactive it and can use those buttons normally.
Please fix! Love having my inventory synced.
]]>When syncing product informaton from Woocommerce to Faire, any sale price is grabbed instead of the regular price. Wholesale mark downs are from the regular price.
Is there any way to fix this?
Where to find the API Key on Faire to complete the setup?
]]>Hi Faire development team, first of all great work on the API documentation page on GIT and thanks for posting the plug-in here at the repository, it makes things easier.
My Question: Some users of WooCommerce use custom Order Statuses to manage the stores. I can see in \src\faire\class-order-status.php that you map the order status from Woo to Faire, can you please include a filter so we can change the array without changing the plug-in source code? I think you will have to split the logic in two: Array and retrieving function but that’s it.
Thanks.
]]>