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

#   Sometimes the cart still has the products after confirmed payment.

##

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

Less More

- Posts: 173
- Thank you received: 8
-
-

9 years 10 months ago [\#259010](#259010) by [ianspeed](/forum/user/1602-ianspeed "View ianspeed's Profile")  *[Sometimes the cart still has the products after confirmed payment.](/forum/27-checkout/888203-sometimes-the-cart-still-has-the-products-after-confirmed-payment#259010 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : Chrome (auto Update on)  Happy New Year to all the hikashop Team :-)  Some customers after paying via Worldpay are redirected back to the cart where the items are still in the cart. this happens randomly, other times it's okay. The cart is set to clear on confirmed, the order status is getting confirmed, but the user says that they come back to all the products after they have paid. Is this a server timing issue with Worldpay taking too long to send back the confirmed handshake? In other words the user gets back from Worldpay payments screen before the Confirmation reaches and updates the Hikashop system?  Many Thanks  Ian")* was created by *[ianspeed](/forum/user/1602-ianspeed "View ianspeed's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.28
-- Browser(s) name and version -- : Chrome (auto Update on)

Happy New Year to all the hikashop Team ![:-)](/media/kunena/emoticons/3.png ":-)")

Some customers after paying via Worldpay are redirected back to the cart where the items are still in the cart. this happens randomly, other times it's okay. The cart is set to clear on confirmed, the order status is getting confirmed, but the user says that they come back to all the products after they have paid. Is this a server timing issue with Worldpay taking too long to send back the confirmed handshake?
In other words the user gets back from Worldpay payments screen before the Confirmation reaches and updates the Hikashop system?

Many Thanks

Ian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4ODIwMy1zb21ldGltZXMtdGhlLWNhcnQtc3RpbGwtaGFzLXRoZS1wcm9kdWN0cy1hZnRlci1jb25maXJtZWQtcGF5bWVudD90bXBsPW1hcmtkb3du) 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
-
-

9 years 10 months ago [\#259019](#259019) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sometimes the cart still has the products after confirmed payment.](/forum/27-checkout/888203-sometimes-the-cart-still-has-the-products-after-confirmed-payment#259019 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : Chrome (auto Update on)  Happy New Year to all the hikashop Team :-)  Some customers after paying via Worldpay are redirected back to the cart where the items are still in the cart. this happens randomly, other times it's okay. The cart is set to clear on confirmed, the order status is getting confirmed, but the user says that they come back to all the products after they have paid. Is this a server timing issue with Worldpay taking too long to send back the confirmed handshake? In other words the user gets back from Worldpay payments screen before the Confirmation reaches and updates the Hikashop system?  Many Thanks  Ian")*

Hi,

Thanks. Happy new year to you too !

It's something like that.
It's why we set the "clear cart when order is" setting to "created" by default so that you don't sometimes end up with the cart still filled after you come back from the payment gateway.

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

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

Less More

- Posts: 173
- Thank you received: 8
-
-

9 years 10 months ago [\#259109](#259109) by [ianspeed](/forum/user/1602-ianspeed "View ianspeed's Profile")  Replied by *[ianspeed](/forum/user/1602-ianspeed "View ianspeed's Profile")* on topic *[Sometimes the cart still has the products after confirmed payment.](/forum/27-checkout/888203-sometimes-the-cart-still-has-the-products-after-confirmed-payment#259109 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : Chrome (auto Update on)  Happy New Year to all the hikashop Team :-)  Some customers after paying via Worldpay are redirected back to the cart where the items are still in the cart. this happens randomly, other times it's okay. The cart is set to clear on confirmed, the order status is getting confirmed, but the user says that they come back to all the products after they have paid. Is this a server timing issue with Worldpay taking too long to send back the confirmed handshake? In other words the user gets back from Worldpay payments screen before the Confirmation reaches and updates the Hikashop system?  Many Thanks  Ian")*

Thanks Nicolas,
Would this be a timing issue more with my server being slow to process the response or with the WorldPay server being slow?
Would it be worth sending the user to a page which makes them wait a few seconds after they return to the website, i.e your order is now being processed page, here is your order number etc to by a little time for the process to work?

Many Thanks
Ian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4ODIwMy1zb21ldGltZXMtdGhlLWNhcnQtc3RpbGwtaGFzLXRoZS1wcm9kdWN0cy1hZnRlci1jb25maXJtZWQtcGF5bWVudD90bXBsPW1hcmtkb3du) 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
-
-

9 years 10 months ago [\#259129](#259129) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sometimes the cart still has the products after confirmed payment.](/forum/27-checkout/888203-sometimes-the-cart-still-has-the-products-after-confirmed-payment#259129 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : Chrome (auto Update on)  Happy New Year to all the hikashop Team :-)  Some customers after paying via Worldpay are redirected back to the cart where the items are still in the cart. this happens randomly, other times it's okay. The cart is set to clear on confirmed, the order status is getting confirmed, but the user says that they come back to all the products after they have paid. Is this a server timing issue with Worldpay taking too long to send back the confirmed handshake? In other words the user gets back from Worldpay payments screen before the Confirmation reaches and updates the Hikashop system?  Many Thanks  Ian")*

Hi,

Not necessarily.
After the user has paid on the payment gateway and comes back to your website, it first goes to the page [ yourwebsite.com/index.php?option=com\_hik...ckout&amp;task=after\_end](http://yourwebsite.com/index.php?option=com_hikashop&ctrl=checkout&task=after_end)
There, the controller of HikaShop clears the cart from the session and then redirect to the return_url that you specified in the return url setting of the payment gateway if any or displays the default after_end view of HikaShop with the generic thank you message.

So it could also be a caching issue whereby the controller wouldn't be called, and the server would directly display the cached version of the page or skip the controller and directly redirect to the return url.

The following user(s) said Thank You: [ianspeed](/forum/user/1602-ianspeed "View ianspeed's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4ODIwMy1zb21ldGltZXMtdGhlLWNhcnQtc3RpbGwtaGFzLXRoZS1wcm9kdWN0cy1hZnRlci1jb25maXJtZWQtcGF5bWVudD90bXBsPW1hcmtkb3du) 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.054 seconds

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