Jump to content

Plugin "Bank Transfer" leaves products in cart


MostlyConfused

Recommended Posts

Hi,

one of my gateways is "Bank Transfer" (latest version 1.2.0)

https://www.cubecart.com/extensions/payment-gateways/bank-transfer

If a purchase is made using Bank Transfer, the products are still in the cart afterwards.

If purchased with either PayPal or "Print Order Form", the cart is empty afterwards as it should be.

How can i change this, so it works with Bank Transfer as well?

Thanks!

 

Link to comment
Share on other sites

Please verify the path to the Bank_Transfer module:

/modules/gateway/Bank_Transfer/

The file 'gateway.class.php' has a public function call().

Try adding to that function:

public function call() {
  $GLOBALS['cart']->clear();
}

(I haven't tested this as yet.)

Link to comment
Share on other sites

12 hours ago, bsmither said:

Please verify the path to the Bank_Transfer module:


/modules/gateway/Bank_Transfer/

The file 'gateway.class.php' has a public function call().

Try adding to that function:


public function call() {
  $GLOBALS['cart']->clear();
}

(I haven't tested this as yet.)

nope, sorry, products are still left in cart after changing this

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...