Developer forum

Forum » Development » Webapi: Country in PriceProvider

Webapi: Country in PriceProvider

Tor Leeberg
Reply

Hi,

When a PriceProvider is called on a request to GET ​/dwapi​/ecommerce​/carts​/{secret}Context.Country is always set to United Arab Emirates.

Would it be possible to have the country set to the country of the cart/order?

We're currently getting around this by getting the secret from the request path, and then fetching it with Orders.GetBySecret, but this feels a bit hacky...


Replies

 

You must be logged in to post in the forum