woocommerce cart not cleared
-
woocommerce Cart not Clearing on Successful Payment
I am building a site for a client. I made a purchase but the cart does not clear after the purchase.
I’ve got a problem with WooCommerce not clearing the cart after being re-directed from the payment method- UPI. The Items still stay in the Cart u- This topic was modified 3 years, 5 months ago by yamunag11.
-
Hi there ??
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
- 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.
Before you start
First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.
Cheers.
Thank you. I will check with solutions you have suggested to me
Please keep us posted, we will be more than happy to help moving forward. ??
Hi @yamunag11
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.
Hi
Sorry for the delay, actually the issue is still not solved, I have designed the website using oxygen builder, as you know that it won’t accept the WordPress theme since I am using oxygen..so I don’t know to proceed furtherdoes oxygen play it differently?
Switch to a default WordPress theme, such as Twenty Nineteen to see if the issue persists. ( How to do it in oxygen ?)
Since I have started from scratch
I am facing the issue when the registered customers make purchases on the website, their order is placed and the amount is credited to the account, but the cart alone is not getting cleared after successful payment. (i am using UPI payment method ). Even though I changed the mode to failed or cancelled, but cart is not cleared.
For the non-registered users, the cart is cleared correctly.
Kindly suggest a solution asap
Hi @yamunag11
I am facing the issue when the registered customers make purchases on the website, their order is placed and the amount is credited to the account, but the cart alone is not getting cleared after successful payment.
This is typically due to caching. Are there any caching plugins running on the site?
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.
I have designed the website using oxygen builder, as you know that it won’t accept the WordPress theme since I am using oxygen..so I don’t know to proceed further
It sounds like you are saying that you are unable to complete a full conflict test due to the use of something called Oxygen builder, is this correct? I assume this is a plugin that has been added to the site?
You can use a plugin called HealthCheck to disable all plugins and test – this will also allow you to test without Oxygen Builder active, but will not affect the look and functionality of the site for customers.
https://www.ads-software.com/plugins/health-check/
Please do try to complete the testing and then let us know the results.
Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.
If you have further questions, please feel free to open a new topic.
Cheers! ??
### WordPress Environment ### WordPress address (URL): https://kyffonline.in Site address (URL): https://kyffonline.in WC Version: 5.3.1 REST API Version: ? 5.3.1 WC Blocks Version: ? 4.9.1 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.2.6 Log Directory Writable: ? WP Version: ? 5.7.2 - There is a newer version of WordPress available (5.8) WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.11 PHP Post Max Size: 256 MB PHP Time Limit: 240 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.19-MariaDB-cll-lve Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.3.1 WC Database Prefix: wp_ Total Database Size: 18.30MB Database Data Size: 14.34MB Database Index Size: 3.96MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_aws_cache: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp_aws_index: Data: 0.22MB + Index: 0.22MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 4.47MB + Index: 0.19MB + Engine InnoDB wp_postmeta: Data: 6.52MB + Index: 1.92MB + Engine InnoDB wp_posts: Data: 0.27MB + Index: 0.20MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 237 ct_template: 9 customize_changeset: 1 nav_menu_item: 8 page: 15 post: 1 product: 132 product_variation: 306 revision: 40 shop_order: 24 sidebar: 1 turbo-sidebar-cpt: 1 um_directory: 1 um_form: 3 wpforms: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (16) ### Advanced Woo Search: by ILLID – 2.30 All in One SEO: by All in One SEO Team – 4.1.2.1 All-in-One WP Migration: by ServMask – 7.44 Autocomplete WooCommerce Orders: by QuadLayers – 1.3.6 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.17.0 Oxygen Elements for WooCommerce: by Soflyy – 1.4 Oxygen: by Soflyy – 3.7.1 Side Cart WooCommerce: by XootiX – 2.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.56 UPI QR Code Payment Gateway: by Sayan Datta – 1.2.2 Widgets On Pages: by Todd Halfpenny – 1.5.0 Woo Quick View: by Arshid – 1.1.0 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.9.0 WooCommerce: by Automattic – 5.3.1 (update to version 5.5.2 is available) WP Captcha: by Devnath verma – 2.0.0 WP Mail SMTP: by WPForms – 2.9.0 ### Inactive Plugins (6) ### Akismet Anti-Spam: by Automattic – 4.1.9 Code Snippets: by Code Snippets Pro – 2.14.1 Hello Dolly: by Matt Mullenweg – 1.7.2 LiteSpeed Cache: by LiteSpeed Technologies – 3.6.4 OptinMonster: by OptinMonster Team – 2.3.3 WPForms Lite: by WPForms – 1.6.7.1 ### Settings ### API Enabled: – Force SSL: – Currency: INR (?) 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: #226 - /index.php/product/ Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: ? Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #496 - /index.php/terms-conditions/ ### Theme ### Name: Twenty Twenty Version: 1.7 (update to version 1.8 is available) Author URL: https://www.ads-software.com/ 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: – ### Action Scheduler ### Complete: 148 Oldest: 2021-06-29 08:48:48 +0000 Newest: 2021-07-28 04:34:05 +0000 Pending: 5 Oldest: 2021-07-28 04:49:05 +0000 Newest: 2021-07-30 09:34:59 +0000 ### Status report information ### Generated at: 2021-07-28 10:06:14 +05:30
Hi @yamunag11,
Thanks for the SSR.
I noticed the following were highlighted:
Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
WP Version: ? 5.7.2 – There is a newer version of WordPress available (5.8)It seems that you’re currently using a custom-developed Cart page.
Could you test by creating the usual cart page with the [woocommerce_cart] shortcode to see if the issue persists? More info can be found in our guide on creating WooCommerce pages.
If the issue persists on the newly created page, you will want to check if it’s some form of caching causing it. Since I do not see a caching plugin on your SSR, you can directly contact your host and ask them to purge all cache and disable it from cart, checkout, and my account pages.
Also, it is usually good to run on the latest WP and WooCommerce versions. So, you could consider upgrading the two.
Thanks.
Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.
Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.
Cheers! ??
- The topic ‘woocommerce cart not cleared’ is closed to new replies.