This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » how to clear the basket after paypal...
expandshrink

how to clear the basket after paypal redirect.[solved]

how to clear the basket after paypal redirect.[solved]

Tuesday 30 August 2005 11:09:30 am - 3 replies

Hello .
when a custommer have payed with paypal, he is redirected to the shop automatically.
the problem is that his basket still content all the items.
I need to delete his basket.
does someone know how to proceed?
(perhaps a new workflow in shop/after checkout?)
perhaps workflow code?
perhaps delete session var?
I've try this in ezpaypalgateway.php , just before sending the url, but nothing more..

include_once( "lib/ezutils/classes/ezhttptool.php" );
				eZHTTPTool::removeSessionVariable( 'DoCheckoutAutomatically' );

 

thx in advance.

Modified on Wednesday 31 August 2005 4:02:32 pm by ludo thomas

Wednesday 31 August 2005 3:12:36 pm

I've found this:
http://ez.no/community/forum/deve..._added/re_worldpay_gateway_added__33

but where can I put these lines?
I t've tried in workflow.ini, paypal.ini, shopaccount.ini
but nothing..

Modified on Wednesday 31 August 2005 3:25:09 pm by ludo thomas

Wednesday 31 August 2005 4:06:30 pm

ok .
you have to edit the site.ini (or override)
and change:

ClearBasketOnCheckout=disabled

to

ClearBasketOnCheckout=enabled

Modified on Wednesday 31 August 2005 4:07:34 pm by ludo thomas

Tuesday 17 December 2013 10:25:30 am

your last reply helps

 

Thanks

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from