can’t connect woocommerce to other plateforms – 404 error
-
Hi,
We can no longer connect our woocommerce to external platforms (shippo and shipping easy for example). We keep getting an error and on their end, they get a 404 error.
We tried by disabling all plugins and switching to twenty twenty theme, and still could not connect woocommerce.FYI, We could connect without any problems before. This happened suddenly.
Thank you in advance for your help
-
Hi there,
I understand on their end they are receiving a 404. What is the error that you are receiving on your end when trying to connect? Please copy and paste it here.
As a first step, I would recommend reaching out to your hosting company to see if there might be any security settings on the server or firewall that could be blocking incoming/outgoing connections.
If you are still having trouble, 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, you can paste it here in your reply. Please note that since this is a public forum, you may want to remove any sensitive information that you don’t want shared publicly.
Also, screenshots of what you are seeing on your side regarding the error could be helpful as well. I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply here.
Thank you! Below copied the system report. About the error, when using shippo or shipping easy for example, We get a simple ”unable to connect your store” text error. We reached out to these platforms tech teams and here are the errors they are getting:
https://drive.google.com/drive/folders/1PKy-DDxhAmcMbr8MnzPLZMZ2RfTkqzXY?usp=sharing
### WordPress Environment ### WordPress address (URL): https://littlemoroccanthings.com Site address (URL): https://littlemoroccanthings.com WC Version: 4.5.1 REST API Version: ✔ 4.5.1 WC Blocks Version: ✔ 3.1.0 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.5.0 Log Directory Writable: ✔ WP Version: 5.5.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.18 PHP Post Max Size: 130 MB PHP Time Limit: 300 PHP Max Input Vars: 16000 cURL Version: 7.38.0 OpenSSL/1.0.1t SUHOSIN Installed: – MySQL Version: 5.6.48-log Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.3.3 WC Database Prefix: mod893_ Total Database Size: 13.26MB Database Data Size: 11.06MB Database Index Size: 2.20MB mod893_woocommerce_sessions: Data: 2.02MB + Index: 0.06MB + Engine InnoDB mod893_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB mod893_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB mod893_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB mod893_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_actionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB mod893_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB mod893_etcpf_category_mappings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_custom_feed_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_etsy_configuration: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_etsy_product_count: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_etsy_sync: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_feedproducts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_feeds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_image_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_listings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_listing_variations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_resolved_product_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_shipping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_etcpf_variationupload_preparation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_hmwp_blocked_ips: Data: 0.32MB + Index: 0.11MB + Engine MyISAM mod893_hmwp_ip_countries: Data: 0.09MB + Index: 0.13MB + Engine MyISAM mod893_hmwp_ms_intrusions: Data: 0.05MB + Index: 0.01MB + Engine MyISAM mod893_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_options: Data: 3.02MB + Index: 0.08MB + Engine InnoDB mod893_postmeta: Data: 1.50MB + Index: 0.30MB + Engine InnoDB mod893_posts: Data: 2.47MB + Index: 0.13MB + Engine InnoDB mod893_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_social_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB mod893_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB mod893_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB mod893_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB mod893_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod893_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB mod893_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod893_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod893_yith_wcwl: Data: 0.06MB + Index: 0.02MB + Engine InnoDB mod893_yith_wcwl_lists: Data: 0.08MB + Index: 0.05MB + Engine InnoDB mod893_yoast_seo_links: Data: 0.06MB + Index: 0.02MB + Engine InnoDB mod893_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 167 blocks: 12 custom_css: 1 cwginstocknotifier: 6 featured_item: 8 nav_menu_item: 3 page: 84 post: 4 product: 21 revision: 350 shop_coupon: 2 shop_order: 32 wp_block: 2 wpcf7_contact_form: 6 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (10) ### Hide My WP: by wpWave – 6.2.0 Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 1.9.9 – Installed version not tested with active version of WooCommerce 4.5.1 Contact Form 7: by Takayuki Miyoshi – 5.2.2 Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 6.2.2 Really Simple SSL: by Really Simple Plugins – 3.3.4 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.26 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Stripe Gateway: by WooCommerce – 4.5.2 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Google Analytics Integration: by WooCommerce – 1.4.23 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce: by Automattic – 4.5.1 ### Inactive Plugins (10) ### Async JavaScript: by Frank Goossens (futtta) – 2.20.03.01 Autoptimize: by Frank Goossens (futtta) – 2.7.7 heatmap for WordPress: by HeatMap Inc – 0.5.2 Pin It Button On Image Hover And Post: by Weblizar – 2.7.8 Sales Pop: by Beeketing – 1.4.18 – Installed version not tested with active version of WooCommerce 4.5.1 Smush: by WPMU DEV – 3.6.3 W3 Total Cache: by BoldGrid – 0.14.4 WooCommerce Amazon Pay: by WooCommerce – 1.12.2 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.6.0 – Installed version not tested with active version of WooCommerce 4.5.1 WooCommerce Services: by Automattic – 1.24.0 (update to version 1.24.2 is available) – Installed version not tested with active version of WooCommerce 4.5.1 ### Settings ### API Enabled: ✔ Force SSL: – Currency: USD ($) 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: – ### WC Pages ### Shop base: #608 - /products/ Cart: #17 - /cart/ Checkout: #127 - /checkout/ My account: #19 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Flatsome Child Version: 3.0 Author URL: Child Theme: ✔ Parent Theme Name: Flatsome Parent Theme Version: 3.12.0 Parent Theme Author URL: http://www.uxthemes.com/ WooCommerce Support: ✔ ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-product_cat.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php ### Action Scheduler ### Complete: 52 Oldest: 2020-08-12 10:01:22 -0400 Newest: 2020-09-09 03:43:17 -0400 Failed: 14 Oldest: 2020-08-19 10:43:45 -0400 Newest: 2020-09-09 03:43:17 -0400
As I mentioned earlier, we tried after deactivating all the plugins and switching to twenty twenty theme, and still could not connect the store.
Thank you in advance
Hi there,
Thank you for providing that info.
I see in the ShippingEasy error it mentions a
500 internal server error
. Please check under WooCommerce > Status > Logs, and see if there are any entries in the dropdown forfatal-errors
. If there are, please share them as well (Google Drive works well for that as you did with the previous ones).Also, I see in those ShippingEasy errors that it mentions caching/optimization from both W3 Total Cache and Autoptimize. We’ve seen cases of caching causing connection issues like that before. I know you mentioned having deactivated plugins and switching themes — did that include those plugins as well?
Please try one more time — deactivate everything except for WooCommerce and ShippingEasy, and switch back to the default Storefront theme. After that, please make sure to also clear any server-level caching as well once everything is deactivated. Then check to see if you are still seeing the same issue.
One other note, I see the ShippingEasy error you shared includes your Secret Key — you might want to remove that from the file since this is publicly accessible.
Thank you kellymetal for your help.
We did all you suggested:
– The plugins W3 Total Cache and Autoptimize were deactivated for some time already as we also initially suspected them to create the issue. We deactivated all the other plugins and switched to the storefront theme. We have no CDN so no server cache to purge. The issue still persists (last test today September 15th).
– We found many FATAL error entries (see the same drive link above). I shared with you the latest entries as of today and after our test.
Hi, Kelly metal, any ideas why it’s still impossible for us to connect our woocommerce to 3rd party platforms?
We also reached out to our hosting provider and they confirmed there is no firewall active on our server.The documents I shared with you in my previous message are still up to date.
thank you in advance, this is driving us crazy
-
This reply was modified 4 years, 9 months ago by
moroccanzest.
Hi there,
It’s really hard to say what might be causing the issue. So far, the
fatal-error
files you have uploaded to the shared Google Drive folder are only mentioning errors coming from your theme:CRITICAL Uncaught Error: Call to a member function get_cart_subtotal() on null in /home/littlemomn/www/wp-content/themes/flatsome/template-parts/header/partials/element-cart.php:31
However, you say the issue still occurs when you switch themes and deactivate everything aside from WooCommerce and those plugins.
I noticed in your Status Report that there is a version mismatch between your WooCommerce plugin version and database version:
WC Version: 4.5.1 WC Database Version: 4.3.3
I’m not sure that would cause an issue with connecting, but when those versions aren’t matching it does often cause strange behavior. Please try going to WooCommerce > Status > Tools and run the tool the Update the database version.
After that, please try going to Settings > Permalinks and re-save your permalinks (without making any changes) — if the external platform is having trouble hitting a particular endpoint, it’s possible it could be from an issue with the permalinks/URLs. Often just re-saving the permalinks will resolve issues with endpoints not being available.
After that, test to see if your ShipStation export endpoint is available as described here:
https://docs.woocommerce.com/document/shipstation-for-woocommerce/#section-9You will need to replace the domain and your Authorization key in the URL mentioned in the doc above.
If you are still having issues, I would recommend setting up a staging site to see if you see the same issue there as well (with everything deactivated except for WooCommerce and ShipStation, and the theme switched to Storefront).
Please let me know how that goes, or if you have any questions!
Thank you so much Kellymetal.
We updated the database and permalinks and the error was still there.
We installed Shipstation as you recommended and it worked! We can connect it to our woocommerce, see orders and the XML lists our store orders.
Does that mean the error comes from Shippo and Shipping easy? they did investigate on their end and could not find anything that would cause the error. Plus, they told us they are not having this error with other woocommerce users.
thank you in advance
Hi @moroccanzest.
Does that mean the error comes from Shippo and Shipping easy? they did investigate on their end and could not find anything that would cause the error. Plus, they told us they are not having this error with other woocommerce users.
It could be an incompatibility between their apps and plugins on your site. We’re not experts on either of those platforms though so their support would be the best source of information here.
I hope our suggestions here have pointed you in the right direction to get the issue resolved on your site.
-
This reply was modified 4 years, 9 months ago by
- The topic ‘can’t connect woocommerce to other plateforms – 404 error’ is closed to new replies.