Page 1 of 1

Shopping cart is not being updated once user comes back from payment

Posted: Tue Nov 25, 2008 3:48 am
by abhijitg
Shopping cart is not being updated once user comes back from payment?

Does the code written in the function callback() { does this task?

Re: Shopping cart is not being updated once user comes back from payment

Posted: Tue Nov 25, 2008 4:42 am
by Qphoria
depends on the payment module. Is this for paypal?

Re: Shopping cart is not being updated once user comes back from payment

Posted: Tue Nov 25, 2008 11:55 pm
by abhijitg
no it is not paypal. It is our customised

Re: Shopping cart is not being updated once user comes back from payment

Posted: Wed Nov 26, 2008 12:09 am
by abhijitg
can you please point me where is the code for emptying the shopping cart?

Re: Shopping cart is not being updated once user comes back from payment

Posted: Wed Nov 26, 2008 1:14 am
by Qphoria
in catalog/controller/checkout_process.php index() function is
$this->cart->clear

Re: Shopping cart is not being updated once user comes back from payment

Posted: Thu Nov 27, 2008 5:59 pm
by mikeytrw
Hey I'm having an identical problem with my custom Worldpay module, in checkout_process $cart->clear() is called but the products remain in the cart.

Once checkout_process has been called the products from the order remain in cart. Not a huuuge problem, but still not quite right...

thanks

Mike

Re: Shopping cart is not being updated once user comes back from payment

Posted: Thu Nov 27, 2008 8:16 pm
by Qphoria