BAsic steps are to use AddOrderLine to ad an item.
How do I change the order status from Cart to submitted ? When looking up the order through Umbraco I'm unable to change the orders status, probably because of some missing properties on the order (get a null exception from the database).
BAsic steps are to use AddOrderLine to ad an item. Properties with values for name, address etc are added to the order
How do I change the order status from Cart to submitted ? order.Save() ?
When I do order.Save() I get an exception from the database about an order propertyfield being null (havent't figured out which yet).
When looking up the order through Umbraco I'm unable to change the orders status, probably because of some missing properties on the order (get a null exception from the database).
This particular problem is solved; mispelled a property :( But I still like to know how to move an order's state from Cart.
Can you outline the correct steps for me please (in c# that is)?
You would call the order.Finalize( CallbackInfo callbackInfo ) method. The callback info would normally contain the info from the payment gateway. The method is available in the next beta of Tea Commerce 1.4.2.0 BETA 6. But if you need the method now - I can make a special build for you my friend :)
How to properly build an order.
I'm generating an ordrer from C#.
BAsic steps are to use AddOrderLine to ad an item.
How do I change the order status from Cart to submitted ?
When looking up the order through Umbraco I'm unable to change the orders status, probably because of some missing properties on the order (get a null exception from the database).
Can you outline the correct steps for me please ?
/Kjetil
I'm generating an ordrer from C#.
BAsic steps are to use AddOrderLine to ad an item. Properties with values for name, address etc are added to the order
How do I change the order status from Cart to submitted ? order.Save() ?
When I do order.Save() I get an exception from the database about an order propertyfield being null (havent't figured out which yet).
When looking up the order through Umbraco I'm unable to change the orders status, probably because of some missing properties on the order (get a null exception from the database).
This particular problem is solved; mispelled a property :( But I still like to know how to move an order's state from Cart.
Can you outline the correct steps for me please (in c# that is)?
/Kjetil
Hi Kjetil
Great you found the issue :)
You would call the order.Finalize( CallbackInfo callbackInfo ) method. The callback info would normally contain the info from the payment gateway. The method is available in the next beta of Tea Commerce 1.4.2.0 BETA 6. But if you need the method now - I can make a special build for you my friend :)
Kind regards
Anders
please do!!
Hi Kjetil
I have uploaded the BETA 6 build of Tea Commerce 1.4.2.0 - go test it and see if it fixes you question
http://our.umbraco.org/projects/website-utilities/tea-commerce
Kind regards
Anders
yupp, that seems to do the trick. Thanks alot!
Kjetil
Your welcole - if you found my answer helpful could you kindly mark my answers as the solution to your question - thanks
Kind regards
Anders
is working on a reply...