Support » Plugin: WooCommerce Square » After Checkout my page is redirecting to the Empty cart page

  • Resolved bhartikumawat26

    (@bhartikumawat26)


    Hello,

    I stuck in a situation. I am trying to place an order and after successfully placing an order it should go to the thank you page but it’s redirecting on Empty cart page.

    I have unchecked both of the checkboxes of Add to cart behavior on WooCommerece > Settings > Products

    Also, I entered the page slug on WooCommerece > Settings > Advanced > Page Setup > Checkout Endpoints > Order received.

    Can anyone help me? I am posting my status report as well here:

    
    ### WordPress Environment ###
    
    Home URL: http://nafeescreations.com
    Site URL: http://nafeescreations.com
    WC Version: 3.5.7
    Log Directory Writable: ✔
    WP Version: ❌ 5.0.4 - There is a newer version of WordPress available (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.1.14 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.19.7
    NSS/3.27.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.41-84.1
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.5.7
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 16.25MB
    Database Data Size: 14.68MB
    Database Index Size: 1.57MB
    wp_woocommerce_sessions: Data: 0.30MB + Index: 0.01MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB
    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.01MB + Index: 0.01MB
    wp_woocommerce_order_itemmeta: Data: 0.04MB + Index: 0.03MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.01MB + Index: 0.01MB
    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
    cmd_houston_nearby: Data: 0.02MB + Index: 0.01MB
    financing_main: Data: 0.00MB + Index: 0.00MB
    financing_partner: Data: 0.00MB + Index: 0.00MB
    test_rcrds: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.01MB + Index: 0.01MB
    wp_comments: Data: 0.03MB + Index: 0.02MB
    wp_layerslider: Data: 0.03MB + Index: 0.00MB
    wp_layerslider_revisions: Data: 0.00MB + Index: 0.00MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 1.66MB + Index: 0.16MB
    wp_postmeta: Data: 4.35MB + Index: 0.83MB
    wp_posts: Data: 8.02MB + Index: 0.24MB
    wp_rm_fields: Data: 0.01MB + Index: 0.00MB
    wp_rm_forms: Data: 0.01MB + Index: 0.00MB
    wp_rm_front_users: Data: 0.00MB + Index: 0.00MB
    wp_rm_notes: Data: 0.00MB + Index: 0.00MB
    wp_rm_paypal_fields: Data: 0.00MB + Index: 0.00MB
    wp_rm_paypal_logs: Data: 0.00MB + Index: 0.00MB
    wp_rm_sent_mails: Data: 0.00MB + Index: 0.00MB
    wp_rm_sessions: Data: 0.04MB + Index: 0.03MB
    wp_rm_stats: Data: 0.00MB + Index: 0.00MB
    wp_rm_submissions: Data: 0.00MB + Index: 0.00MB
    wp_rm_submission_fields: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.03MB + Index: 0.06MB
    wp_term_relationships: Data: 0.02MB + Index: 0.05MB
    wp_term_taxonomy: Data: 0.03MB + Index: 0.02MB
    wp_usermeta: Data: 0.03MB + Index: 0.02MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_visual_form_builder_entries: Data: 0.01MB + Index: 0.00MB
    wp_visual_form_builder_fields: Data: 0.00MB + Index: 0.00MB
    wp_visual_form_builder_forms: Data: 0.00MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 861
    avia_framework_post: 33
    nav_menu_item: 41
    oembed_cache: 11
    page: 22
    portfolio: 4
    post: 12
    product: 77
    product_variation: 196
    revision: 989
    shop_coupon: 3
    shop_order: 51
    shop_order_refund: 1
    wafs: 9
    wpcf7_contact_form: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (10) ###
    
    Contact Form 7: by Takayuki Miyoshi – 4.4
    Contact Form Advance Database: by Christian A. Bautista – 1.0.8
    Flexible Shipping UPS: by WP Desk – 1.4.2
    Insert PHP: by Will Bontrager Software
    LLC  – 1.3
    
    Visual Form Builder: by Matthew Muro – 2.8.6
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.2.4.1
    WooCommerce Blocks: by Automattic – 1.3.1
    WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.4
    WooCommerce: by Automattic – 3.5.7
    Yoast SEO: by Team Yoast – 3.6
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: downloadable (downloadable)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    virtual (virtual)
    
    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: #2251 - /
    Cart: #2252 - /cart/
    Checkout: #318 - /checkout/
    My account: #2242 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Enfold
    Version: 4.5.4
    Author URL: https://kriesi.at
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi,

    I am sorry to hear about this.

    Can you please try ruling out a conflict?
     
    The best way to determine this is to:
     

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    bhartikumawat26

    (@bhartikumawat26)

    Hi Shane,

    Thanks for your reply. I tried it by disabling all the plugins except for WooCommerce and tested by enabling one by one.

    But I never switched the theme. Let me follow all these steps.

    Thanks

    bhartikumawat26

    (@bhartikumawat26)

    I did all that.

    1. I Temporarily switched the theme to Storefront.
    2. Disabled all the plugins except for WooCommerce.

    and then tested with each of them. Still, the problem is there.

    Plugin Support Shane Eckert

    (@shaneeckert)

    Automattic Happiness Engineer

    Hi,

    Was this ever working?

    Do you have an .htaccess file in place? If so, can you remove that and test?

    If that’s not the case, can you check the Square logs? That’s under WooCommerce -> Status -> Logs. Please make sure that debug is enabled. We talk about that here.

    Square Debug
    Link to image: https://cld.wthms.co/yOVFo6

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘After Checkout my page is redirecting to the Empty cart page’ is closed to new replies.