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

#   Force Clear Cart for Bank Transfer Only

##

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

Less More

- Posts: 131
- Thank you received: 7
-
-

12 years 3 months ago [\#165171](#165171) by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")  *[Force Clear Cart for Bank Transfer Only](/forum/29-payment-methods/869906-force-clear-cart-for-bank-transfer-only#165171 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5  We have enabled 2 payment plug-ins, one for PayGate and the other is Bank Transfer.  We want the cart to be cleared when payment is complete with PayGate so have set this behaviour in the config. Works perfectly.  However, if a customer chooses Bank Transfer we want the cart to be cleared when they submit the bank transfer option. Although removeCart is being set to true in the banktransfer.php code I think that the Hikashop config is overriding this.  Is there a way to force the cart to be cleared in the banktransfer.php code?  Thanks")* was created by *[bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")*

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5

We have enabled 2 payment plug-ins, one for PayGate and the other is Bank Transfer.

We want the cart to be cleared when payment is complete with PayGate so have set this behaviour in the config. Works perfectly.

However, if a customer chooses Bank Transfer we want the cart to be cleared when they submit the bank transfer option. Although removeCart is being set to true in the banktransfer.php code I think that the Hikashop config is overriding this.

Is there a way to force the cart to be cleared in the banktransfer.php code?

Thanks

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 months ago [\#165212](#165212) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Force Clear Cart for Bank Transfer Only](/forum/29-payment-methods/869906-force-clear-cart-for-bank-transfer-only#165212 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5  We have enabled 2 payment plug-ins, one for PayGate and the other is Bank Transfer.  We want the cart to be cleared when payment is complete with PayGate so have set this behaviour in the config. Works perfectly.  However, if a customer chooses Bank Transfer we want the cart to be cleared when they submit the bank transfer option. Although removeCart is being set to true in the banktransfer.php code I think that the Hikashop config is overriding this.  Is there a way to force the cart to be cleared in the banktransfer.php code?  Thanks")*

Hello,
That's maybe coming from a cache issue so can you disable the Joomla cache, and clear it ? You'll also have to disable it in the joomla config, and unpublish the cache plugin. Also can you clear your browser's cache and try it again ?

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

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

Less More

- Posts: 131
- Thank you received: 7
-
-

12 years 3 months ago [\#165256](#165256) by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")  Replied by *[bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")* on topic *[Force Clear Cart for Bank Transfer Only](/forum/29-payment-methods/869906-force-clear-cart-for-bank-transfer-only#165256 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5  We have enabled 2 payment plug-ins, one for PayGate and the other is Bank Transfer.  We want the cart to be cleared when payment is complete with PayGate so have set this behaviour in the config. Works perfectly.  However, if a customer chooses Bank Transfer we want the cart to be cleared when they submit the bank transfer option. Although removeCart is being set to true in the banktransfer.php code I think that the Hikashop config is overriding this.  Is there a way to force the cart to be cleared in the banktransfer.php code?  Thanks")*

No, not a caching issue. We develop and test with the cache switched off, and I've tried this with a browser reset and get the same result, i.e. the cart is not cleared on order creation. Happy to share URL privately.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 3 months ago [\#165798](#165798) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Force Clear Cart for Bank Transfer Only](/forum/29-payment-methods/869906-force-clear-cart-for-bank-transfer-only#165798 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5  We have enabled 2 payment plug-ins, one for PayGate and the other is Bank Transfer.  We want the cart to be cleared when payment is complete with PayGate so have set this behaviour in the config. Works perfectly.  However, if a customer chooses Bank Transfer we want the cart to be cleared when they submit the bank transfer option. Although removeCart is being set to true in the banktransfer.php code I think that the Hikashop config is overriding this.  Is there a way to force the cart to be cleared in the banktransfer.php code?  Thanks")*

Hi there,

I see you are using the 2.3.0 version of Hikashop. As I can't reproduce this issue, could you try with the very last version of Hikashop (2.3.2)? It might solve the problem. If it doesn't feel free to send us credentials to your website (by PM or via the contact form).

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

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