• Resolved malosch

    (@malosch)


    Hi,

    For some reason, the shop page of one of my clients is not working anymore. After putting in all the billing details and attempting a checkout, I receive the following error message: “ERROR PROCESSING CHECKOUT. PLEASE TRY AGAIN.”.

    The shop worked a couple of weeks ago and I had not made/attempted any changes until after I encountered the issue.

    The console logs the following, although I’m sure it has nothing to do with the issue:

    Mixed Content: The page at 'https://chocolatearts.com/checkout/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Montserrat:400,700'. This request has been blocked; the content must be served over HTTPS.

    Div for inline form "Inline Form for Website - Created Dec 11 2017" is missing. Was inline code installed?

    The following is from the order notes:

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

    And finally, here is the WooCommerce status/system report:

    ### WordPress Environment ###
    
    Home URL: https://chocolatearts.com
    Site URL: https://chocolatearts.com
    WC Version: 3.5.6
    Log Directory Writable: ✔
    WP Version: 5.1.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.15
    PHP Post Max Size: 8 MB
    PHP Time Limit: 0
    PHP Max Input Vars: 1000
    cURL Version: 7.62.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 10.1.37-MariaDB-cll-lve
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.5.6
    WC Database Prefix: wp_
    Total Database Size: 29.19MB
    Database Data Size: 26.60MB
    Database Index Size: 2.59MB
    wp_woocommerce_sessions: Data: 0.21MB + Index: 0.01MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.02MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 18.54MB + Index: 1.36MB
    wp_duplicator_packages: Data: 0.00MB + Index: 0.00MB
    wp_ewwwio_images: Data: 0.74MB + Index: 0.33MB
    wp_ewwwio_queue: Data: 0.00MB + Index: 0.00MB
    wp_layerslider: Data: 0.00MB + Index: 0.00MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 1.03MB + Index: 0.09MB
    wp_postmeta: Data: 1.77MB + Index: 0.43MB
    wp_posts: Data: 4.22MB + Index: 0.17MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.01MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.04MB
    wp_term_taxonomy: Data: 0.01MB + Index: 0.02MB
    wp_usermeta: Data: 0.02MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.00MB + Index: 0.00MB
    wp_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 429
    carousels: 28
    ctct_forms: 1
    ctct_lists: 8
    nav_menu_item: 101
    page: 14
    post: 15
    product: 111
    product_variation: 120
    revision: 718
    shop_order: 6
    shop_order_refund: 1
    slides: 28
    testimonials: 6
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (11) ###
    
    LayerSlider WP: by Kreatura Media – 5.1.1
    BackUpWordPress: by XIBO Ltd – 3.8
    Constant Contact Forms for WordPress: by Constant Contact – 1.4.5
    Duplicator: by Snap Creek – 1.3.8
    EWWW Image Optimizer: by Exactly WWW – 4.6.3
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.4.7
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.1.5
    
    WooCommerce Square: by WooCommerce – 1.0.35
    WooCommerce: by Automattic – 3.5.6
    WordPress Importer: by wordpressdotorg – 0.6.4
    Yoast SEO: by Team Yoast – 10.0
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left_space
    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: #8 - /other-creations/
    Cart: #126 - /cart/
    Checkout: #127 - /checkout/
    My account: #128 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Bridge Child
    Version: 1.0.0
    Author URL: http://www.qodethemes.com/
    Child Theme: ✔
    Parent Theme Name: Bridge
    Parent Theme Version: 14.1
    Parent Theme Author URL: http://www.qodethemes.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: bridge/woocommerce/cart/cart-empty.php version 3.1.0 is out of date. The core version is 3.5.0
    bridge/woocommerce/cart/cart-shipping.php version 3.2.0 is out of date. The core version is 3.5.0
    bridge/woocommerce/cart/cart-totals.php
    bridge/woocommerce/cart/cart.php version 3.3.0 is out of date. The core version is 3.5.0
    bridge/woocommerce/cart/shipping-calculator.php version 3.2.0 is out of date. The core version is 3.5.0
    bridge/woocommerce/checkout/form-coupon.php version 3.3.0 is out of date. The core version is 3.4.4
    bridge/woocommerce/checkout/form-login.php version 2.0.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/checkout/thankyou.php
    bridge/woocommerce/content-product.php version 3.0.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/content-single-product.php version 3.0.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/global/form-login.php
    bridge/woocommerce/global/quantity-input.php version 3.3.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/loop/add-to-cart.php
    bridge/woocommerce/loop/loop-start.php
    bridge/woocommerce/loop/pagination.php
    bridge/woocommerce/loop/rating.php
    bridge/woocommerce/loop/result-count.php
    bridge/woocommerce/loop/sale-flash.php
    bridge/woocommerce/myaccount/form-login.php version 3.3.0 is out of date. The core version is 3.5.0
    bridge/woocommerce/myaccount/form-lost-password.php version 3.3.0 is out of date. The core version is 3.5.2
    bridge/woocommerce/myaccount/my-address.php
    bridge/woocommerce/myaccount/my-orders.php
    bridge/woocommerce/single-product/add-to-cart/external.php version 2.1.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/single-product/add-to-cart/grouped.php version 3.3.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/single-product/add-to-cart/simple.php version 3.0.0 is out of date. The core version is 3.4.0
    bridge/woocommerce/single-product/add-to-cart/variable.php version 3.0.0 is out of date. The core version is 3.5.5
    bridge/woocommerce/single-product/related.php
    bridge/woocommerce/single-product/sale-flash.php
    bridge/woocommerce/single-product/tabs/additional-information.php
    bridge/woocommerce/single-product/tabs/description.php
    bridge/woocommerce/single-product/tabs/tabs.php
    bridge/woocommerce/single-product/up-sells.php
    
    Outdated Templates: ❌
    

    Further notes:

    I actually tried updating to the latest version of WooCommerce, but that didn't work either. With the latest update, I suddenly couldn't add items to the cart anymore. Furthermore, the product details of an item were not showing and the item picture was gone as well. I then tried to disable my theme (Bridge - latest version) and use a standard WP theme (I believe I tried Twenty Nineteen) together with the latest version of WooCommerce. I could add items to the card again but would receive the same error message: "ERROR PROCESSING CHECKOUT. PLEASE TRY AGAIN.". Again, the shop was working a few weeks ago. Not sure where this is coming from all of a sudden. Especially, since no changes had been made to the website prior to encountering this error.

    WordPress is up to date, as are all the plugins. I only reverted back to a previous version of WooCommerce since the new version seems to break the site even more (e.g. items details and images not showing).

    What are the recommended steps for me to find the root of the problem?

    Thanks,
    Markus

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @malosch,

    Let’s see if we can sort these out for you. The mixed content warnings come from some of the content being loaded on the site via http though the site is https.

    One of the items is in the child theme’s style.css file. This line for Google Fonts:

    
    @import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
    

    You’ll want to change the http:// there to https:// so that it loads over https too.

    Also, the arrow at the bottom is loaded that same way. You’ll want to update it too:

    
    .fa-arrow-up:before {
        content: "";
        background-image: url(http://chocolatearts.com/wp-content/uploads/2017/03/arrow-up_17.png);
        width: 26px;
        background-size: 100%;
        height: 16px;
        left: 13px;
        top: 16px;
        position: absolute;
    }
    

    For the This request could not be authorized error. Often times that can be fixed in Square by disconnecting the store and then connecting it back again. Give that a try and see if it doesn’t take care of that part for you.

    Let us know how it goes with making those changes.

    Thread Starter malosch

    (@malosch)

    Hi,

    Disconnecting and reconnecting Square did the trick. However, I wonder why that is and if there is a way to prevent this issue from happening again?

    As for the mixed content warning, thanks for the hint 🙂 I appreciate that. I’ll work on fixing that issue now.

    Thanks,
    Markus

    Hello Markus,

    I’m glad that fixed the trouble for you. Great question about keeping it from happening again. This has happened to a handful of users recently and the developers are already working on a way to address this. Look for a permanent fix to be in an update to the plugin.

    If you run into any other trouble, please let us know.

    Take care,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error Processing Checkout’ is closed to new replies.