• Resolved mauro93

    (@mauro93)


    Hello,
    i have a problem with Woocommerce.

    When I try to buy something in my e-commerce through Paypal or Stripe (with credit card) I get this error: Error while placing order ({“status”: 401, “code”: “unauthorized”}).

    How can I solve?

Viewing 5 replies - 1 through 5 (of 5 total)
  • mother.of.code

    (@imazed)

    The Mother of Code

    Hi there!

    Sounds like you may have a problem with a firewall. Can you please copy and paste the system report for this site? You can find it under WP Admin > WooCommerce > Status > Get system report > Copy for support.

    Thanks!

    Thread Starter mauro93

    (@mauro93)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.edealshop.it
    Site address (URL): https://www.edealshop.it
    WC Version: 4.6.1
    REST API Version: ✔ 4.6.1
    WC Blocks Version: ✔ 3.4.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.6.2
    Log Directory Writable: ✔
    WP Version: 5.5.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: it_IT
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.7
    PHP Post Max Size: 384 MB
    PHP Time Limit: 900
    PHP Max Input Vars: 1000
    cURL Version: 7.71.1
    OpenSSL/1.1.1g
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.31-34-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.6.1
    WC Database Prefix: wp138_
    Dimensione totale database: 39.04MB
    Dimensione dati database: 25.44MB
    Dimensione indice database: 13.60MB
    wp138_woocommerce_sessions: Dati: 0.11MB + indice: 0.02MB + motore InnoDB
    wp138_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp138_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_woocommerce_order_itemmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp138_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_actionscheduler_actions: Dati: 0.02MB + indice: 0.11MB + motore InnoDB
    wp138_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_actionscheduler_logs: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_adsw_ali_meta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_comments: Dati: 0.02MB + indice: 0.09MB + motore InnoDB
    wp138_dropshipping_logs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_dropshipping_orders: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_dropshipping_products: Dati: 0.11MB + indice: 0.14MB + motore InnoDB
    wp138_dropshipping_product_models: Dati: 0.17MB + indice: 0.30MB + motore InnoDB
    wp138_dropshipping_queues: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_griffati: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
    wp138_griffati_order: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_griffati_product_update: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_mapping: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_options: Dati: 3.52MB + indice: 0.17MB + motore InnoDB
    wp138_postmeta: Dati: 11.52MB + indice: 9.02MB + motore InnoDB
    wp138_posts: Dati: 5.52MB + indice: 0.91MB + motore InnoDB
    wp138_revslider_css: Dati: 0.13MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_css_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_layer_animations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_navigations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_sliders: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_sliders_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_static_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_revslider_static_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_termmeta: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
    wp138_terms: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
    wp138_term_relationships: Dati: 1.52MB + indice: 0.50MB + motore InnoDB
    wp138_term_taxonomy: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
    wp138_usermeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp138_wc_admin_notes: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp138_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp138_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp138_wc_product_meta_lookup: Dati: 1.52MB + indice: 1.28MB + motore InnoDB
    wp138_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp138_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_yith_wcwl: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp138_yith_wcwl_lists: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    
    ### Post Type Counts ###
    
    attachment: 305
    elementor_library: 5
    mc4wp-form: 1
    nav_menu_item: 55
    page: 22
    post: 1
    product: 839
    product_variation: 3225
    revision: 150
    shop_order: 12
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (21) ###
    
    BDroppy: by BDroppy Development Team – 2.1.1
    Contact Form 7: by Takayuki Miyoshi – 5.3
    Dropship Me: by Vitaly Kukin – 1.0.3.9
    Elementor: by Elementor.com – 3.0.12
    DROPSHIP B2B GRIFFATI SYNC: by B2B Griffati – R4.6
    Kirki Customizer Framework: by David Vongries – 3.1.5
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.1
    Maintenance: by WebFactory Ltd – 3.97
    Martfury Addons: by DrFuri – 2.2.3
    Meta Box: by MetaBox.io – 5.3.4
    Official Facebook Pixel: by Facebook – 2.2.0
    Soo Demo Importer: by SooThemes – 2.0
    WooCommerce Variation Swatches Pro: by Drfuri – 1.0.6 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    W3 Total Cache: by BoldGrid – 0.15.1
    WooCommerce Deals: by Drfuri – 1.0.9 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce Stripe Gateway: by WooCommerce – 4.5.3 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce Shipping & Tax: by Automattic – 1.25.0 (aggiornamento alla versione 1.25.1 disponibile) – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    WooCommerce: by Automattic – 4.6.1
    Yakkyofy: by Yakkyofy – 1.0.0 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    YITH WooCommerce Compare: by YITH – 2.4.1 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    YITH WooCommerce Wishlist: by YITH – 3.0.15 – Versione installata non testata con versione attiva di WooCommerce 4.6.1
    
    ### Inactive Plugins (1) ###
    
    Head, Footer and Post Injections: by Stefano Lissa – 3.2.1
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (1) ###
    
    Aruba WordPress checker: by http://www.aruba.it – 12
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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: #3414 - /shop/
    Carrello: #3415 - /cart/
    Pagamento: #3416 - /checkout/
    Il mio account: #3562 - /my-account/
    Termini e condizioni: #451 - /term-conditions/
    
    ### Theme ###
    
    Name: Martfury
    Version: 2.4.4
    Author URL: http://demo2.drfuri.com
    Child Theme: ❌ – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente
    ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: martfury/woocommerce/cart/cart-shipping.php
    martfury/woocommerce/cart/cart-totals.php
    martfury/woocommerce/cart/cart.php
    martfury/woocommerce/cart/mini-cart.php
    martfury/woocommerce/checkout/form-checkout.php
    martfury/woocommerce/checkout/form-coupon.php
    martfury/woocommerce/checkout/form-login.php
    martfury/woocommerce/checkout/terms.php
    martfury/woocommerce/content-product.php
    martfury/woocommerce/content-single-product.php
    martfury/woocommerce/content-widget-product.php
    martfury/woocommerce/global/form-login.php
    martfury/woocommerce/global/quantity-input.php
    martfury/woocommerce/global/wrapper-end.php
    martfury/woocommerce/global/wrapper-start.php
    martfury/woocommerce/loop/add-to-cart.php
    martfury/woocommerce/loop/orderby.php
    martfury/woocommerce/loop/pagination.php
    martfury/woocommerce/myaccount/form-login.php
    martfury/woocommerce/myaccount/form-lost-password.php
    martfury/woocommerce/myaccount/my-address.php
    martfury/woocommerce/single-product/add-to-cart/external.php
    martfury/woocommerce/single-product/add-to-cart/simple.php
    martfury/woocommerce/single-product/add-to-cart/variable.php
    martfury/woocommerce/single-product/meta.php
    martfury/woocommerce/single-product/product-image.php
    martfury/woocommerce/single-product/product-thumbnails.php
    martfury/woocommerce/single-product/rating.php
    martfury/woocommerce/single-product/related.php
    martfury/woocommerce/single-product/review-meta.php
    martfury/woocommerce/single-product/stock.php
    martfury/woocommerce/single-product/tabs/tabs.php
    martfury/woocommerce/single-product/up-sells.php
    martfury/woocommerce/single-product-reviews.php
    
    ### Action Scheduler ###
    
    Completato: 7
    Oldest: 2020-10-02 10:40:44 +0200
    Newest: 2020-10-16 22:43:45 +0200
    
    

    Hi there,
    I have the same problem with my website.
    Thanks!

    mother.of.code

    (@imazed)

    The Mother of Code

    Thanks for that, @mauro93.

    401 errors can have different causes, all of which are explained here: https://themeisle.com/blog/what-is-401-error-code

    In your case, you may want to have a chat with your host to see if they’re blocking anything. Otherwise, I’d recommend doing a conflict test to see if one of your active plugins is getting in the way.

    AJ a11n

    (@amandasjackson)

    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 5 replies - 1 through 5 (of 5 total)

The topic ‘Error while placing order ({“status”:401,”code”:”unauthorized”}).’ is closed to new replies.