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

#   How does paypal clear the cart in the shop?

##

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

Less More

- Posts: 214
- Thank you received: 7
-
-

12 years 11 months ago [\#134354](#134354) by [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")  *[How does paypal clear the cart in the shop?](/forum/29-payment-methods/863941-how-does-paypal-clear-the-cart-in-the-shop#134354 "-- url of the page with the problem -- :   dadshotsauce.com  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 3.2 -- PHP version -- : 5.3  We have been running some tests before launching our new shop. in one of the tests a user did the following:  Purchased one product Checked out with Paypal Paid with Paypal Closed the browser  Shortly after the user went back to the site and he found the product still in the cart. I asked them to repeat this and other purchases they made because they didn't sound too sure about the exact procedure implemented but at the same time it occurred to me that I am not so sure how Paypal and Hikashop handle the clearing of the cart after purchase/payment with paypal.  So while I wait for the tests to be performed again and see the results, I wanted to ask here if anyone could explain to me how Hikashop and Paypal handle the clearing of the cart after payment and if there are any situations where after purchasing and paying for something it is possible to find that product still in the cart.  Is it necessary for the user to click on &quot;return to website&quot; button in the paypal confirmation page? If the browser window is closed at that point, does that impede paypal from communicating with hikashop that the product has been purchased?  Thank you.")* was created by *[conticreative](/forum/user/12955-conticreative "View conticreative's Profile")*

-- url of the page with the problem -- : [ dadshotsauce.com](http://dadshotsauce.com)
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2
-- PHP version -- : 5.3

We have been running some tests before launching our new shop.
in one of the tests a user did the following:

Purchased one product
Checked out with Paypal
Paid with Paypal
Closed the browser

Shortly after the user went back to the site and he found the product still in the cart.
I asked them to repeat this and other purchases they made because they didn't sound too sure about the exact procedure implemented but at the same time it occurred to me that I am not so sure how Paypal and Hikashop handle the clearing of the cart after purchase/payment with paypal.

So while I wait for the tests to be performed again and see the results, I wanted to ask here if anyone could explain to me how Hikashop and Paypal handle the clearing of the cart after payment and if there are any situations where after purchasing and paying for something it is possible to find that product still in the cart.

Is it necessary for the user to click on "return to website" button in the paypal confirmation page?
If the browser window is closed at that point, does that impede paypal from communicating with hikashop that the product has been purchased?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM5NDEtaG93LWRvZXMtcGF5cGFsLWNsZWFyLXRoZS1jYXJ0LWluLXRoZS1zaG9wP3RtcGw9bWFya2Rvd24=) 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: 86560
- Thank you received: 14307
-
-

12 years 11 months ago [\#134365](#134365) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How does paypal clear the cart in the shop?](/forum/29-payment-methods/863941-how-does-paypal-clear-the-cart-in-the-shop#134365 "-- url of the page with the problem -- :   dadshotsauce.com  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 3.2 -- PHP version -- : 5.3  We have been running some tests before launching our new shop. in one of the tests a user did the following:  Purchased one product Checked out with Paypal Paid with Paypal Closed the browser  Shortly after the user went back to the site and he found the product still in the cart. I asked them to repeat this and other purchases they made because they didn't sound too sure about the exact procedure implemented but at the same time it occurred to me that I am not so sure how Paypal and Hikashop handle the clearing of the cart after purchase/payment with paypal.  So while I wait for the tests to be performed again and see the results, I wanted to ask here if anyone could explain to me how Hikashop and Paypal handle the clearing of the cart after payment and if there are any situations where after purchasing and paying for something it is possible to find that product still in the cart.  Is it necessary for the user to click on &quot;return to website&quot; button in the paypal confirmation page? If the browser window is closed at that point, does that impede paypal from communicating with hikashop that the product has been purchased?  Thank you.")*

Hi,

By default the cart is cleared when the user comes back from PayPal and that the payment is valid. If the user doesn't go back to your website with the link provided by PayPal at the end, the cart won't be cleared. You potentially have the choice to automatically redirect the user after the payment in PayPal in the settings of your PayPal account if I remember correctly.
You also have the possibility to change the "clear cart when order is" option of the configuration of HikaShop to "created" so that the cart is cleared directly before being redirected to PayPal for the payment. That way, you're sure that the cart is cleared.

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

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

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

Less More

- Posts: 214
- Thank you received: 7
-
-

12 years 11 months ago [\#134583](#134583) by [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")  Replied by *[conticreative](/forum/user/12955-conticreative "View conticreative's Profile")* on topic *[How does paypal clear the cart in the shop?](/forum/29-payment-methods/863941-how-does-paypal-clear-the-cart-in-the-shop#134583 "-- url of the page with the problem -- :   dadshotsauce.com  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 3.2 -- PHP version -- : 5.3  We have been running some tests before launching our new shop. in one of the tests a user did the following:  Purchased one product Checked out with Paypal Paid with Paypal Closed the browser  Shortly after the user went back to the site and he found the product still in the cart. I asked them to repeat this and other purchases they made because they didn't sound too sure about the exact procedure implemented but at the same time it occurred to me that I am not so sure how Paypal and Hikashop handle the clearing of the cart after purchase/payment with paypal.  So while I wait for the tests to be performed again and see the results, I wanted to ask here if anyone could explain to me how Hikashop and Paypal handle the clearing of the cart after payment and if there are any situations where after purchasing and paying for something it is possible to find that product still in the cart.  Is it necessary for the user to click on &quot;return to website&quot; button in the paypal confirmation page? If the browser window is closed at that point, does that impede paypal from communicating with hikashop that the product has been purchased?  Thank you.")*

Thank you so much.

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

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