Cart still has items in it after returning from authorize.net payment


https://forum.kartris.com/Topic6258.aspx
Print Topic | Close Window

By pfkoss - Tue 10 Nov 2015
We have site working with authorize.netSIM payment method. The payment is working and authorize.net is returning to the receipt page which shows the card as empty.

The problem is, once I navigate away from the receipt page and/or login again the cart still shows as having the items in it.

Anyone run into anything similar ?
By Tiggywiggler - Tue 22 Dec 2015
Hello,
This is a very interesting problem for me, I notice that you posted this back in November though and so I am wondering if you found a solution. Can you tell me if this was resolved please mate?
By Paul - Fri 15 Jan 2016
You can wipe the basket in Kartris on any page by passing the following querystring to the page

strWipeBasket=yes

So if the payment gateway has a return URL setting, you can set it to go to the checkoutcomplete.aspx page and pass that querystring

http://www.mysite.zyx/checkoutcomplete.aspx?strWipeBasket=yes

But this should work on any Kartris front end page, default, products, categories, etc. just in case you want to return the user to another page or are doing some other kind of customization where you need to empty the basket. Note that wiping the basket this way, there is no popup confirmation; it's a silent wipe.
By Tiggywiggler - Sun 17 Jan 2016
Paul,

My reason for concern is due to the recent changes to the BasketBLL object, I was wondering if there is an event that should trigger a clear that isn't processing.