Developer forum

Forum » Integration » CalculateOrder request not sent?

CalculateOrder request not sent?

Thomas Overgaard Nielsen
Reply

Hi all

Can anyone help me out here.
I am setting up live integration on a webshop project, and my next task is getting live calculation of cart / order in place.

But for some reason I can't seem to find anything in the log what regards CalculateOrder when I finish an order in the webshop or render a cart - whether logged in or not.
Live product requests are logged as expected when rendering a product list as authenticated user.

I shouldn't need to set anything specific in order to enable live cart/order calculation?

Best regards

 

 


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Thomas,
that is strange. You could check the OrderCacheLevel option(set it to items instead of Session) in the LiveIntegration configuration and also verify if the Shop selection(if you are making an order in the selected shop) and check the web service you are connecting to is respondind when you make the order requests.

Regards, Dmitrij

Votes for this answer: 1
 
Thomas Overgaard Nielsen
Reply

Hi Dmitrij

Well actually it helped deselecting the shop in LiveIntegration Settings (Setting shop to 'Any').
Quite strange as the product in the cart belongs to the previously selected shop .. and the shopping cart belongs to the same shop.

But nevermind, as long as it works, I am happy :)

Thanks for your help, again

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Thomas,
then that may be your current web site in WebSites->Your WebSite->Ecommerce->Shop selector may have another shop that is in the live integration
Regards, Dmitrij

 
Thomas Overgaard Nielsen
Reply

You are indeed right.
The shop wasn't set in websites-sttings. Selecting the shop solved the problem.

But that introduced something else. I am sure, I am missing some ecom setting, but I can't really locate it.

When no shop, was selected in the website settings, live product lookup worked fine, and product catalog showed the correct price including VAT whether coming from DB or LiveIntegration.
Now when the shop is selected in website settings, DW is showing prices without VAT when coming from LiveIntegration. Deaktivating LiveIntegration and thus showing prices from DB, prices are shown including VAT.

In website Settings I selected the correct shop, language, country, currency and checked 'Prices including VAT'
In general I have all prices stored in DB excluding VAT, and thus prices coming from LiveIntegration is excluding VAT as well.

 

 

 

You must be logged in to post in the forum