Title: wrong redirect after checkout
Last modified: August 31, 2021

---

# wrong redirect after checkout

 *  Resolved [carleorganisation](https://wordpress.org/support/users/carleorganisation/)
 * (@carleorganisation)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/)
 * Hello, I have an issue with your plugin. When a customer purchase an item on 
   my website, after checkout, the order is processed, but it shows the customer
   an empty cart page, instead of showing the thank you page with order summary.
   It does not happen when you plugin is disable. I try to switch theme, and same
   problem happen. Any idea ?

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

 *  Plugin Support [Sol J. a11n](https://wordpress.org/support/users/solstudioim/)
 * (@solstudioim)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14822759)
 * Hi [@carleorganisation](https://wordpress.org/support/users/carleorganisation/)
 * Thanks for your question!
 * > I have an issue with your plugin. When a customer purchase an item on my website,
   > after checkout, the order is processed, but it shows the customer an empty 
   > cart page, instead of showing the thank you page with order summary.
 * This kind of problem is usually caused by a conflict with your theme or with 
   another plugin.
      The best way to determine this is to:
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins except for WooCommerce and WooCommerce Blocks
    - 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.](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * I hope that helps!
 * Let me know how it goes!
 *  Thread Starter [carleorganisation](https://wordpress.org/support/users/carleorganisation/)
 * (@carleorganisation)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14822768)
 * As said in my first post, i tried with another theme, same issue. I tried in 
   debug mode with only woocommerce and your plugin activated. Same problem.
 *  [Felipe (a11n)](https://wordpress.org/support/users/felipea8c/)
 * (@felipea8c)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14823222)
 * Hi there!
 * That’s really odd. Do you have any caching on your site? Or even some kind of
   object cache on your hosting?
 * Also, could you try the conflict test again and share your current System Status
   Report in case that still doesn’t work? You can get it by navigating to WP Admin
   > WooCommerce > Status. Once there, click on the “Get system report” button and
   then copy it by clicking on the “Copy for support” button.
 *  Thread Starter [carleorganisation](https://wordpress.org/support/users/carleorganisation/)
 * (@carleorganisation)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14823553)
 * No caching on the website from what I know… Here is the report:
 *     ```
       ### WordPress Environment ###
   
       WordPress address (URL): https://menacord.fr
       Site address (URL): https://menacord.fr
       WC Version: 5.6.0
       REST API Version: ✔ 5.6.0
       WC Blocks Version: ✔ 5.7.0
       Action Scheduler Version: ✔ 3.2.1
       WC Admin Version: ✔ 2.5.1
       Log Directory Writable: ✔
       WP Version: 5.8
       WP Multisite: –
       WP Memory Limit: 1 Go
       WP Debug Mode: ✔
       WP Cron: ✔
       Language: fr_FR
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: LiteSpeed
       PHP Version: 7.4.11
       PHP Post Max Size: 512 Mo
       PHP Time Limit: 300
       PHP Max Input Vars: 5000
       cURL Version: 7.71.0
       OpenSSL/1.1.1d
   
       SUHOSIN Installed: –
       MySQL Version: 5.5.5-10.3.24-MariaDB-cll-lve
       Max Upload Size: 512 Mo
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 5.6.0
       WC Database Prefix: wp_
       Taille totale de la base de données: 350.53MB
       Taille de la base de données: 347.11MB
       Taille de l’index: 3.42MB
       wp_woocommerce_sessions: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB
       wp_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
       wp_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_woocommerce_order_itemmeta: Données : 0.05MB + Index : 0.03MB + Moteur InnoDB
       wp_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
       wp_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_actionscheduler_actions: Données : 0.14MB + Index : 0.13MB + Moteur InnoDB
       wp_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_actionscheduler_logs: Données : 0.08MB + Index : 0.03MB + Moteur InnoDB
       wp_cartflows_ca_cart_abandonment: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_cartflows_ca_email_history: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_cartflows_ca_email_templates: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_cartflows_ca_email_templates_meta: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_cli_cookie_scan: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_cli_cookie_scan_categories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_cli_cookie_scan_cookies: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_cli_cookie_scan_url: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_cli_scripts: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_cmplz_cookiebanners: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_cmplz_cookies: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB
       wp_cmplz_services: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_comments: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
       wp_e_submissions: Données : 0.02MB + Index : 0.27MB + Moteur InnoDB
       wp_e_submissions_actions_log: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB
       wp_e_submissions_values: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_imagify_files: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
       wp_imagify_folders: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_options: Données : 9.52MB + Index : 0.17MB + Moteur InnoDB
       wp_postmeta: Données : 46.08MB + Index : 0.52MB + Moteur InnoDB
       wp_posts: Données : 35.23MB + Index : 0.13MB + Moteur InnoDB
       wp_smush_dir_images: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_termmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_term_relationships: Données : 0.05MB + Index : 0.02MB + Moteur InnoDB
       wp_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_tm_taskmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_tm_tasks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_updraftcentral_sitemeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_updraftcentral_sites: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_updraftcentral_site_temporary_keys: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_updraftcentral_user_cron: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_usermeta: Données : 0.05MB + Index : 0.03MB + Moteur InnoDB
       wp_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
       wp_wc_admin_notes: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB
       wp_wc_admin_note_actions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
       wp_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
       wp_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_wc_product_meta_lookup: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
       wp_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_wpforms_tasks_meta: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_wpr_rucss_resources: Données : 254.38MB + Index : 0.19MB + Moteur InnoDB
       wp_wpr_rucss_used_css: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
       wp_wtbp_tables: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
       wp_yith_wcwl: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_yith_wcwl_lists: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_yoast_indexable: Données : 0.08MB + Index : 0.08MB + Moteur InnoDB
       wp_yoast_indexable_hierarchy: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
       wp_yoast_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
       wp_yoast_primary_term: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
       wp_yoast_seo_links: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
   
       ### Post Type Counts ###
   
       attachment: 420
       cookielawinfo: 6
       custom_css: 1
       elementor_library: 5
       nav_menu_item: 7
       page: 20
       post: 2
       product: 1
       product_variation: 55
       revision: 190
       shop_order: 27
       wpforms: 2
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ❌Les messages d’erreur ne doivent pas s’afficher aux visiteurs.
   
       ### Active Plugins (3) ###
   
       Elementor: par Elementor.com – 3.4.3
       WooCommerce Blocks: par Automattic – 5.7.0
       WooCommerce: par Automattic – 5.6.0
   
       ### Inactive Plugins (27) ###
   
       Additional Variation Images Gallery for WooCommerce: par Emran Ahmed – 1.2.6
       Akismet Anti-Spam: par Automattic – 4.1.11
       Boxy woocommerce custom redirect after checkout: par Mandep singh Maan – 1.0.1
       Classic Editor: par WordPress Contributors – 1.6.2
       Complianz | GDPR/CCPA Cookie Consent: par Really Simple Plugins – 5.2.6
       Direct checkout, WooCommerce Single page checkout , WooCommerce One page checkout: par PI Websolution – 2.1.9
       Elementor Pro: par Elementor.com – 3.4.0
       Element Pack Pro: par BdThemes – 5.10.1
       Essential Addons for Elementor: par WPDeveloper – 4.8.4
       Essential Addons for Elementor - Pro: par WPDeveloper – 4.4.8
       GA Google Analytics: par Jeff Starr – 20210719
       Happy Elementor Addons: par weDevs – 3.1.0
       Health Check & Troubleshooting: par The WordPress.org community – 1.4.5
       Imagify: par WP Media – 1.10
       Monetization Code plugin: par aerin Singh – 1.0
       Simple Custom CSS: par John Regan
       Danny Van Kooten – 4.0.4
   
       Ultimate Addons for Gutenberg: par Brainstorm Force – 1.24.2
       UpdraftPlus - Backup/Restore: par UpdraftPlus.Com
       DavidAnderson – 1.16.61
   
       Variation Swatches for WooCommerce: par Emran Ahmed – 1.1.17
       WooCommerce Cart Abandonment Recovery: par CartFlows Inc – 1.2.13
       WooCommerce Menu Cart: par Jeremiah Prummer
       Ewout Fernhout – 2.9.8
   
       Woocommerce Side Cart Premium: par XootiX – 3.0
       WooCommerce Stripe Gateway: par WooCommerce – 5.4.0
       WP Content Copy Protection & No Right Click: par wp-buy – 3.4.1
       WP Rocket: par WP Media – 3.9.2
       WP Super Cache: par Automattic – 1.7.4
       YITH WooCommerce Wishlist: par YITH – 3.0.25
   
       ### Dropin Plugins (1) ###
   
       advanced-cache.php: advanced-cache.php
   
       ### Must Use Plugins (2) ###
   
       Elementor Safe Mode: par Elementor.com – 1.0.0
       Health Check Troubleshooting Mode: par  – 1.7.2
   
       ### Settings ###
   
       API Enabled: –
       Force SSL: –
       Currency: EUR (€)
       Currency Position: right
       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 ###
   
       Base de la boutique: #19819 - /boutique/
       Panier: #1486 - /page-panier/
       Commander: #18075 - /commande/
       Mon compte: ❌ La visibilité de la page doit être publique
       Conditions générales de vente et d’utilisation: #18105 - /cgv/
   
       ### Theme ###
   
       Name: Storefront
       Version: 3.7.0 (une mise à jour de la version 3.8.1 est disponible)
       Author URL: https://woocommerce.com/
       Child Theme: ❌ – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement
       nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant
   
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: –
   
       ### Action Scheduler ###
   
       Terminé: 393
       Oldest: 2021-08-01 15:12:44 +0200
       Newest: 2021-08-31 15:26:32 +0200
   
       Échoué: 4
       Oldest: 2021-07-16 18:57:34 +0200
       Newest: 2021-07-23 08:34:33 +0200
   
       En attente: 1
       Oldest: 2021-09-01 10:52:17 +0200
       Newest: 2021-09-01 10:52:17 +0200
   
       ### Status report information ###
   
       Generated at: 2021-08-31 15:26:35 +02:00
       ```
   
 *  Plugin Support [Adam Heckler](https://wordpress.org/support/users/adamkheckler/)
 * (@adamkheckler)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14823751)
 * [@carleorganisation](https://wordpress.org/support/users/carleorganisation/) 
   I don’t see anything in the status report that would indicate an issue, but we’re
   also unable to test this ourselves since the site is behind a password:
 * [https://d.pr/i/d0vPnh/62QUyAVJiU](https://d.pr/i/d0vPnh/62QUyAVJiU)
 * Can you please remove the password protection and also enable a simple payment
   gateway, e.g. Checks or Cash on Delivery or Stripe (in test mode), so that we
   can try to replicate this issue ourselves and look more closely?
 * Thanks!
 *  Thread Starter [carleorganisation](https://wordpress.org/support/users/carleorganisation/)
 * (@carleorganisation)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14824644)
 * Password is 26269797
 * You can add product to the basket through this page: [https://menacord.fr/produit/protection-pour-smartphone/](https://menacord.fr/produit/protection-pour-smartphone/)
 * Try the “Huawei” “P20 Lite” as there is stock. I put cash on delivery so should
   be ok to try to place order
 *  Plugin Support [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14825162)
 * Hi [@carleorganisation](https://wordpress.org/support/users/carleorganisation/),
 * Thanks for setting that up. I was able to create a test order and ran into the
   issue you described. The URL appears to be correct to me.
 *     ```
       https://menacord.fr/commande/merci/20058/?key=wc_order_aAN9isu900oC1
       ```
   
 * I’m seeing the “cart is empty” error you mentioned.
 * ![](https://cdn-std.droplr.net/files/acc_705319/GaRpLw)
 * Just to confirm, does this happen with only WooCommerce, WooCommerce Blocks and
   the Storefront theme are active? Testing on the site just now there are quite
   a few plugins active and the site is running the Astra theme.
 * Let us know and we’ll go from there.
 * Thanks!
 *  Thread Starter [carleorganisation](https://wordpress.org/support/users/carleorganisation/)
 * (@carleorganisation)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14825167)
 * Yes, the exact same thing happen if I use Storefront and only activate woocommerce
   and woocommerce block.
 *  Plugin Support [mouli a11n](https://wordpress.org/support/users/mouli/)
 * (@mouli)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14825384)
 * [@carleorganisation](https://wordpress.org/support/users/carleorganisation/)
   
   From my colleagues observations, it appears that the end point for your order
   received page is correct, but it is loading the content for the cart page.
 * `https://menacord.fr/commande/merci/`
 * Can you please send us a screenshot of your `Page setup` and `Checkout Endpoints`
   under WooCommerce ➔ Settings ➔ Advanced?
 * We recommend [https://snipboard.io](https://snipboard.io) for screenshots, but
   feel free to use whatever you’re comfortable with.
    Simply paste the link in 
   your reply.
 * You also mention that you are using WooCommerce Blocks so I assume that you are
   using the Checkout Block on your Checkout page.
    I suggest that you try testing
   with the default checkout page using the checkout shortcode `[woocommerce_checkout]`.
   This will allow us to pinpoint the issue with a bit more clarity.
 *  Plugin Support [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14866986)
 * Hi [@carleorganisation](https://wordpress.org/support/users/carleorganisation/),
 * Since we haven’t heard from you in a while, we’re hoping that means you were 
   able to get this resolved. I’m going to close this thread out now.
 * If you’re still having trouble, please open up a new topic and we’ll be happy
   to help out.
 * Cheers!

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

The topic ‘wrong redirect after checkout’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-gutenberg-products-block_71608f.
   svg)
 * [WooCommerce Blocks](https://wordpress.org/plugins/woo-gutenberg-products-block/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-gutenberg-products-block/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-gutenberg-products-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-gutenberg-products-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-gutenberg-products-block/reviews/)

 * 10 replies
 * 6 participants
 * Last reply from: [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/wrong-redirect-after-checkout/#post-14866986)
 * Status: resolved