Try our conversational search powered by Generative AI!

Proivder ID (frontend) for Shopping Cart

Vote:
 

Hi All,

I have implemented the new EPiServer Order frame work (http://world.episerver.com/documentation/developer-guides/commerce/orders/order-processing/)  for my project. 

However I am unable to set the Provider ID.  

How to set the provider ID ?

Regards

Venkata Phani kumar R

#177763
Apr 19, 2017 2:32
Vote:
 

Hi,

The new order API is not supported the ProviderID property anymore.

If you need to set this, you can using Properties hashtable, like this:

ICart cart = orderRepository.LoadCart(contactId, "Default");
cart.Properties["ProviderId"] = "frontend";

/Tuan

#177773
Apr 19, 2017 10:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.