[Skip to main content](#vessel-content)

#   Cart not clearing AWO Gift certificate

##

- **[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")**
- [![SnoozeULooze.co.za's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile") Topic Author
- [ Offline](/forum/user/28906-snoozeulooze-co-za)

Less More

- Posts: 104
- Thank you received: 2
-
-

8 years 4 months ago [\#295532](#295532) by [SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")  *[Cart not clearing AWO Gift certificate](/forum/27-checkout/895295-cart-not-clearing-awo-gift-certificate#295532 "-- HikaShop version -- : 3.5 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.0  Hi  My site is setup to use the new check out system. Multi-cart is set to no, clear cart is set to &quot;Created&quot;  I am using AWO to issue gif certificates, the problem I am having is if someone checks out a product on our site and does not use a voucher to pay the system clears the cart as soon as the order is created, so it is working correctly.  If someone pays using a voucher thus discounting the amount to 100% the system immediately confirms the order it, however, does not clear the cart. I have tried setting the Clean cart when order is to &quot;created&quot; and to &quot;confirmed&quot; nether seem to work, is there some other way I can set it up using mass action or any other means to ensure that carts are cleared.  My feeling is that there are too many processes happening simultaneously when the user clicks finish the system starts enrolling them into our e-learning system. My feeling is that this causes Hikashop to not clear the cart. Will it be possible to delay the clear cart function by 10 - 40 sec")* was created by *[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")*

-- HikaShop version -- : 3.5
-- Joomla version -- : 3.8.8
-- PHP version -- : 7.0

Hi

My site is setup to use the new check out system.
Multi-cart is set to no, clear cart is set to "Created"

I am using AWO to issue gif certificates, the problem I am having is if someone checks out a product on our site and does not use a voucher to pay the system clears the cart as soon as the order is created, so it is working correctly.

If someone pays using a voucher thus discounting the amount to 100% the system immediately confirms the order it, however, does not clear the cart.
I have tried setting the Clean cart when order is to "created" and to "confirmed" nether seem to work, is there some other way I can set it up using mass action or any other means to ensure that carts are cleared.

My feeling is that there are too many processes happening simultaneously when the user clicks finish the system starts enrolling them into our e-learning system. My feeling is that this causes Hikashop to not clear the cart.
Will it be possible to delay the clear cart function by 10 - 40 sec

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTI5NS1jYXJ0LW5vdC1jbGVhcmluZy1hd28tZ2lmdC1jZXJ0aWZpY2F0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 4 months ago [\#295533](#295533) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart not clearing AWO Gift certificate](/forum/27-checkout/895295-cart-not-clearing-awo-gift-certificate#295533 "-- HikaShop version -- : 3.5 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.0  Hi  My site is setup to use the new check out system. Multi-cart is set to no, clear cart is set to &quot;Created&quot;  I am using AWO to issue gif certificates, the problem I am having is if someone checks out a product on our site and does not use a voucher to pay the system clears the cart as soon as the order is created, so it is working correctly.  If someone pays using a voucher thus discounting the amount to 100% the system immediately confirms the order it, however, does not clear the cart. I have tried setting the Clean cart when order is to &quot;created&quot; and to &quot;confirmed&quot; nether seem to work, is there some other way I can set it up using mass action or any other means to ensure that carts are cleared.  My feeling is that there are too many processes happening simultaneously when the user clicks finish the system starts enrolling them into our e-learning system. My feeling is that this causes Hikashop to not clear the cart. Will it be possible to delay the clear cart function by 10 - 40 sec")*

Hi,

The order is confirmed automatically when the order amount is zero thanks to the "validate free order" plugin. That plugin has specific code to clear the cart from the user session.
Note that once the cart is cleared, the next one you had in your list of carts is loaded automatically as the current cart.
So if you have been doing many tests and have many of the same carts, you might be thinking that the cart is not cleared while in fact it's only that the next cart being loaded as current cart has the same content as the one that has been checked out.
So please check on that. You can see all the carts in the Customers&gt;Carts menu in the backend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTI5NS1jYXJ0LW5vdC1jbGVhcmluZy1hd28tZ2lmdC1jZXJ0aWZpY2F0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")**
- [![SnoozeULooze.co.za's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile") Topic Author
- [ Offline](/forum/user/28906-snoozeulooze-co-za)

Less More

- Posts: 104
- Thank you received: 2
-
-

8 years 4 months ago -  8 years 4 months ago [\#295555](#295555) by [SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")  Replied by *[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")* on topic *[Cart not clearing AWO Gift certificate](/forum/27-checkout/895295-cart-not-clearing-awo-gift-certificate#295555 "-- HikaShop version -- : 3.5 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.0  Hi  My site is setup to use the new check out system. Multi-cart is set to no, clear cart is set to &quot;Created&quot;  I am using AWO to issue gif certificates, the problem I am having is if someone checks out a product on our site and does not use a voucher to pay the system clears the cart as soon as the order is created, so it is working correctly.  If someone pays using a voucher thus discounting the amount to 100% the system immediately confirms the order it, however, does not clear the cart. I have tried setting the Clean cart when order is to &quot;created&quot; and to &quot;confirmed&quot; nether seem to work, is there some other way I can set it up using mass action or any other means to ensure that carts are cleared.  My feeling is that there are too many processes happening simultaneously when the user clicks finish the system starts enrolling them into our e-learning system. My feeling is that this causes Hikashop to not clear the cart. Will it be possible to delay the clear cart function by 10 - 40 sec")*

Hi

I have checked, but under customers/carts there is only one cart per customer.
Once I process the order and make payment with the voucher the order is confirmed but if I login to my demo customer the exact same items are still in the cart, if I look under customers/carts the cart still has the exact same ID.

The "validate free order" plugin is definitely not clearing the cart.

Last edit: 8 years 4 months ago by [SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTI5NS1jYXJ0LW5vdC1jbGVhcmluZy1hd28tZ2lmdC1jZXJ0aWZpY2F0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 4 months ago [\#295565](#295565) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart not clearing AWO Gift certificate](/forum/27-checkout/895295-cart-not-clearing-awo-gift-certificate#295565 "-- HikaShop version -- : 3.5 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.0  Hi  My site is setup to use the new check out system. Multi-cart is set to no, clear cart is set to &quot;Created&quot;  I am using AWO to issue gif certificates, the problem I am having is if someone checks out a product on our site and does not use a voucher to pay the system clears the cart as soon as the order is created, so it is working correctly.  If someone pays using a voucher thus discounting the amount to 100% the system immediately confirms the order it, however, does not clear the cart. I have tried setting the Clean cart when order is to &quot;created&quot; and to &quot;confirmed&quot; nether seem to work, is there some other way I can set it up using mass action or any other means to ensure that carts are cleared.  My feeling is that there are too many processes happening simultaneously when the user clicks finish the system starts enrolling them into our e-learning system. My feeling is that this causes Hikashop to not clear the cart. Will it be possible to delay the clear cart function by 10 - 40 sec")*

Hi,

Can you check the version near the top of the file plugins/hikashop/validate_free_order/validate_free_order.php ?
Because it's possible that the update process couldn't update the file due to permissions issue during the update of HikaShop and thus you might have an old bug if you don't have the most recent version of the file.
Also, please try with a normal HikaShop coupon and temporarily disable AWOCoupon. It's possible that AWOCoupon breaks that due to the way it process the coupons. So that test will allow us to know whether it's an issue linked to AWOCoupon or if the issue is there even without it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NTI5NS1jYXJ0LW5vdC1jbGVhcmluZy1hd28tZ2lmdC1jZXJ0aWZpY2F0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
