Support » Plugin: WooCommerce Services » an error occurred in wc services

  • Resolved treyg21

    (@treyg21)


    I seem to keep getting this error but can’t seem to figure out what’s causing it. It recently started.

    07-29-2018 @ 08:13:50 – Error retrieving the tax rates. Received (400): {“error”:”Bad Request”,”detail”:”to_zip 18324 is not used within to_state false”,”status”:400} (WCS Tax)

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    Are you seeing any issues when trying to add products to cart and go to checkout? Sometimes the errors are just on the backend and don’t affect the actual purchasing and checkout experience.

    This error usually displays because all the details are not entered on the checkout form. In this case the zip code is not matching the state when it’s trying to get the rate, but it looks like the state has not been entered yet. This can happen on the cart page or checkout page when still entering details.

    If you are having issues not seeing tax rates on your site when the entire checkout fields are filled out (including State and Postcode/ZIP), can you tell us what your store address is, and what address you are using when checking out? I would also suggest going to your Plugins page and making sure WooCommerce Services is updated to the latest version.

    I tried calculating shipping on both the https://ezhangdoor.com/cart/ and https://ezhangdoor.com/checkout/ pages and they worked fine for me.

    treyg21

    (@treyg21)

    Hey there, thanks for your help.

    It is possible that could just be something in the backend. Although, I don’t think it’s due to the details not being entered, as it’s now happening on every order.

    I had the same issue when I first got the plugin, but I can’t remember what solved it. I believe it was just an update.

    Orders seem to be going through just fine, so it isn’t a huge issue. I just hope there isn’t something we aren’t catching that is causing us to lose sales.

    Thanks!

    Plugin Support Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    I tried testing again and didn’t have an issue. If the orders are going through for customers but not for you when you’re logged in, it may be a caching thing. If you have caching setup anywhere, make sure you exclude the /cart and /checkout page (as well as the /my-account page) from being cached.

    Can you try logging out of your account and not logging in when testing rates? Then try logging in again and testing the rates.

    If that doesn’t help, could you please send us 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 the thread. Thanks!

    treyg21

    (@treyg21)

    I do use WP Rocket for chaching, but all woocommerce pages are excluded by default.

    The rates do seem to be working fine on the test, both logged in and out. The thing is, I only receive the error message after an order goes through. So The orders are working, but there’s one corresponding error per order.

    Here’s the system report, thank!

    
    ### WordPress Environment ###
    
    Home URL: https://ezhangdoor.com
    Site URL: https://ezhangdoor.com
    WC Version: 3.4.4
    Log Directory Writable: ✔
    WP Version: 4.9.7
    WP Multisite: –
    WP Memory Limit: 300 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Flywheel/4.1.0
    PHP Version: 5.6.36-1+ubuntu16.04.1+deb.sury.org+1 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 300 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 4000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.32-1+deb.sury.org~precise+0.1
    Max Upload Size: 300 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.4
    WC Database Prefix: wp_fqrp0nzyfs_
    MaxMind GeoIP Database: ✔
    Total Database Size: 20.98MB
    Database Data Size: 15.66MB
    Database Index Size: 5.32MB
    wp_fqrp0nzyfs_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB
    wp_fqrp0nzyfs_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_fqrp0nzyfs_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.03MB
    wp_fqrp0nzyfs_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_fqrp0nzyfs_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_fqrp0nzyfs_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_fqrp0nzyfs_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_comments: Data: 0.11MB + Index: 0.09MB
    wp_fqrp0nzyfs_et_bloom_stats: Data: 2.52MB + Index: 0.00MB
    wp_fqrp0nzyfs_gf_addon_feed: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_gf_entry: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_gf_entry_meta: Data: 0.02MB + Index: 0.05MB
    wp_fqrp0nzyfs_gf_entry_notes: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_gf_form: Data: 0.02MB + Index: 0.00MB
    wp_fqrp0nzyfs_gf_form_meta: Data: 0.08MB + Index: 0.00MB
    wp_fqrp0nzyfs_gf_form_view: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_imagify_files: Data: 0.02MB + Index: 0.08MB
    wp_fqrp0nzyfs_imagify_folders: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_links: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_options: Data: 2.27MB + Index: 0.06MB
    wp_fqrp0nzyfs_postmeta: Data: 2.52MB + Index: 0.55MB
    wp_fqrp0nzyfs_posts: Data: 3.34MB + Index: 0.09MB
    wp_fqrp0nzyfs_redirection_404: Data: 3.02MB + Index: 2.88MB
    wp_fqrp0nzyfs_redirection_groups: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_redirection_items: Data: 0.09MB + Index: 0.13MB
    wp_fqrp0nzyfs_redirection_logs: Data: 0.33MB + Index: 0.25MB
    wp_fqrp0nzyfs_rg_form: Data: 0.02MB + Index: 0.00MB
    wp_fqrp0nzyfs_rg_form_meta: Data: 0.03MB + Index: 0.00MB
    wp_fqrp0nzyfs_rg_form_view: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_rg_lead: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_rg_lead_detail: Data: 0.02MB + Index: 0.06MB
    wp_fqrp0nzyfs_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB
    wp_fqrp0nzyfs_rg_lead_meta: Data: 0.02MB + Index: 0.05MB
    wp_fqrp0nzyfs_rg_lead_notes: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_terms: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_usermeta: Data: 0.25MB + Index: 0.06MB
    wp_fqrp0nzyfs_users: Data: 0.02MB + Index: 0.05MB
    wp_fqrp0nzyfs_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_fqrp0nzyfs_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_fqrp0nzyfs_yoast_seo_links: Data: 0.09MB + Index: 0.05MB
    wp_fqrp0nzyfs_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 232
    custom_css: 1
    et_pb_layout: 40
    jetpack_migration: 2
    jp_img_sitemap: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    nav_menu_item: 17
    page: 25
    post: 27
    product: 5
    revision: 14
    schema: 2
    shop_coupon: 2
    shop_order: 55
    shop_order_refund: 3
    tmls: 43
    tmls_sc: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (25) ###
    
    Divi Blog Extras: by Elicus Technologies – 2.1.1
    Divi Ultimate Blog Plugin: by Divi Ultimate – 1.0.0
    Better Search Replace: by Delicious Brains – 1.3.2
    Bloom: by Elegant Themes – 1.3.3
    Divi Booster: by Dan Mossop – 2.7.4
    Divi/Extra Layout Injector: by Sean Barton - Tortoise IT – 3.1
    Duplicate Post: by Enrico Battocchi – 3.2.2
    Enhanced E-commerce for Woocommerce store: by Tatvic – 2.1.1
    OptiMonk: by OptiMonk – 1.3.3
    Gravity Forms: by rocketgenius – 2.3.3
    Gravity Forms MailChimp Add-On: by rocketgenius – 4.3
    Imagify: by WP Media – 1.8.1
    Jetpack by WordPress.com: by Automattic – 6.3.2
    Monarch Plugin: by Elegant Themes – 1.4.3
    Redirection: by John Godley – 3.4
    Styles & Layouts Gravity Forms: by Sushil Kumar – 4.0.3
    Testimonials WordPress plugin Modified by Valorous Circle: by husamrayan & Joseph Greve – 1.8.2
    Valorous Circle Login Styles: by Joseph Greve – 1.0.1
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.1
    WooCommerce Stripe Gateway: by WooCommerce – 4.1.8
    WooCommerce Services: by Automattic – 1.15.1
    WooCommerce: by Automattic – 3.4.4
    Yoast SEO: by Team Yoast – 7.9
    WP Rocket: by WP Media – 3.0.5.1
    WPS Hide Login: by WPServeur
    NicolasKulka
    tabrisrp – 1.4.3
    
    ### 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)
    
    ### WC Pages ###
    
    Shop base: #277 - /shop/
    Cart: #1975 - /cart/
    Checkout: #1976 - /checkout/
    My account: #1977 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Valorous Circle's Divi
    Version: 3.0
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Divi
    Parent Theme Version: 3.10.2
    Parent Theme Author URL: http://www.elegantthemes.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    Plugin Support Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Thanks for that info!

    If the orders and taxes are working properly, then you can disregard the Admin notices.

    We have a few issues open about this at the moment (ex: https://github.com/Automattic/woocommerce-services/issues/1376) and this should be addressed in a future update.

    Let us know if you have any questions about this!

    Plugin Support Luminus

    (@luminus)

    Automattic Happiness Engineer

    @treyg21,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘an error occurred in wc services’ is closed to new replies.