Support » Plugin: WooCommerce » Orders failing

  • Resolved webofcreativity


    I keep getting order failed messages, and then sometimes the order ends up going through and switching to processing, sometimes not- Here’s the message I recieve when the order fails:

    [0] => stdClass Object
    [category] => AUTHENTICATION_ERROR
    [code] => UNAUTHORIZED
    [detail] => This request could not be authorized.
    Order status changed from Pending payment to Failed.

    10 minutes later i sometimes get a IPN Payment completed.
    But not always.

    I'm getting it both when customers pay with paypal or with square.

    Here's my system status:

    ### WordPress Environment ###
    Home URL:
    Site URL:
    WC Version: 3.5.5
    Log Directory Writable: ✔
    WP Version: 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/2.4.38 (cPanel) OpenSSL/1.0.2q mod_bwlimited/1.4 Phusion_Passenger/5.3.7
    PHP Version: 7.0.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 512 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 10000
    cURL Version: 7.62.0
    SUHOSIN Installed: –
    MySQL Version: 5.7.25-log
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    ### Database ###
    WC Database Version: 3.5.5
    WC Database Prefix: wp3w_
    MaxMind GeoIP Database: ✔
    Total Database Size: 5.59MB
    Database Data Size: 4.92MB
    Database Index Size: 0.67MB
    wp3w_woocommerce_sessions: Data: 0.02MB + Index: 0.00MB
    wp3w_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.01MB
    wp3w_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp3w_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp3w_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp3w_comments: Data: 0.01MB + Index: 0.01MB
    wp3w_links: Data: 0.00MB + Index: 0.00MB
    wp3w_options: Data: 1.93MB + Index: 0.20MB
    wp3w_popupwith_fancybox: Data: 0.00MB + Index: 0.00MB
    wp3w_postmeta: Data: 0.98MB + Index: 0.29MB
    wp3w_posts: Data: 1.93MB + Index: 0.08MB
    wp3w_termmeta: Data: 0.00MB + Index: 0.01MB
    wp3w_terms: Data: 0.00MB + Index: 0.01MB
    wp3w_term_relationships: Data: 0.01MB + Index: 0.02MB
    wp3w_term_taxonomy: Data: 0.01MB + Index: 0.01MB
    wp3w_usermeta: Data: 0.02MB + Index: 0.01MB
    wp3w_users: Data: 0.00MB + Index: 0.01MB
    wp3w_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp3w_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    ### Post Type Counts ###
    attachment: 177
    custom_css: 2
    customize_changeset: 22
    et_pb_layout: 3
    jetpack_migration: 2
    jp_img_sitemap: 3
    jp_sitemap: 3
    jp_sitemap_master: 3
    nav_menu_item: 20
    page: 12
    popup: 1
    popup_theme: 6
    post: 5
    product: 73
    revision: 276
    shop_order: 10
    wcccf: 3
    wccf_checkout_field: 66
    wccf_product_field: 6
    wccpf: 1
    ### Security ###
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    ### Active Plugins (12) ###
    Custom Product Stickers for Woocommerce: by – 1.9.0 – Not tested with the active version of WooCommerce
    Elegant Themes Support: by Elegant Themes – 1.4
    Jetpack by by Automattic – 7.0.1
    Popup Maker: by WP Popup Maker – 1.8.0
    Multi Currency for WooCommerce: by VillaTheme –
    Call for Price for WooCommerce: by Tyche Softwares – 3.2.5
    WooCommerce Custom Fields: by RightPress – 2.2.5 – Not tested with the active version of WooCommerce
    WooCommerce Customizer: by SkyVerge – 2.6.0 – Not tested with the active version of WooCommerce
    Booster for WooCommerce: by Algoritmika Ltd – 4.2.0
    Woocommerce Products Per Page: by Jeroen Sormani – 1.2.6 – Not tested with the active version of WooCommerce
    WooCommerce Square: by WooCommerce – 1.0.35
    WooCommerce: by Automattic – 3.5.5
    ### 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: #14 - /shop/
    Cart: #15 - /cart/
    Checkout: #16 - /checkout/
    My account: #17 - /my-account/
    Terms and conditions: ❌ Page not set
    ### Theme ###
    Name: Divi Child
    Version: 1.0.0
    Author URL:
    Child Theme: ✔
    Parent Theme Name: Divi
    Parent Theme Version: 3.19.16
    Parent Theme Author URL:
    WooCommerce Support: ✔
    ### Templates ###
    Overrides: –

    Any idea what's going on?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff


    Automattic Happiness Engineer

    Hi @webofcreativity),

    The error message you’ve referenced indicates that the authentication for the payment gateway you’re using possibly PayPal Standard is failing. Check all of your IPN, account details have been entered correctly and you have set up the payment gateways as per the documentation.

    I’d also suggest enabling debug logging for both PayPal and Square.

    Plugin Support Stuart Duff


    Automattic Happiness Engineer

    Hi @webofcreativity,

    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 reopen it again if you need be.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.