Checkout problems using standard functions
Posted: Thu Jul 03, 2008 3:59 am
Hi,
A client of ours asked us to use AbleCommerce for one of his webshops. His wishes regarding the site were rather odd so we've taken out some of the standard AbleCommerce functionality (taken directly from default AC usercontrols) and used it in custom .NET pages.
First we started developing with a demo license and used the following code to place an order (yeah, i know it's vb
):
Dim checkoutRequest As CheckoutRequest
Dim checkoutResponse As CheckoutResponse
checkoutResponse = Token.Instance.User.Basket.Checkout(checkoutRequest)
This worked fine with the demo license and the orders were placed in full with DEMO details.
Seeing how everything worked out great with the Demo license we bought a full license and started experiencing problems.
Whenever we place an order now the basket doesn't get emptied and the products in one's basket don't get put in the order. So the orders are all empty without any ordered products.
Can anyone tell me what it is that is causing this behaviour? Why does the code work in a Demo environment but not with a live license?!?
Any help would be greatly appreciated!
A client of ours asked us to use AbleCommerce for one of his webshops. His wishes regarding the site were rather odd so we've taken out some of the standard AbleCommerce functionality (taken directly from default AC usercontrols) and used it in custom .NET pages.
First we started developing with a demo license and used the following code to place an order (yeah, i know it's vb

Dim checkoutRequest As CheckoutRequest
Dim checkoutResponse As CheckoutResponse
checkoutResponse = Token.Instance.User.Basket.Checkout(checkoutRequest)
This worked fine with the demo license and the orders were placed in full with DEMO details.
Seeing how everything worked out great with the Demo license we bought a full license and started experiencing problems.
Whenever we place an order now the basket doesn't get emptied and the products in one's basket don't get put in the order. So the orders are all empty without any ordered products.
Can anyone tell me what it is that is causing this behaviour? Why does the code work in a Demo environment but not with a live license?!?
Any help would be greatly appreciated!