Posted on 15/03/2018 13:42:43
I donwloaded and added the Dynamicweb9.Ecommerce.LiveIntegration.VSProject(1.0.0.16).zip to my solution. First of all we had to upgrade the project to .net framework 4.6.1 to get the dlls from Nuget, and after that we could add the needed dlls from nugetmanager.
One function however does not work, and because of this the project doesn't build.
This is the failing function:
public override Prices.PriceRaw FindPrice(Product Product, double Quantity, string VariantID, International.Currency Currency, string UnitID, User User)
It is overwriting the inherited class PriceProvider's function, which looks like this:
public virtual PriceRaw FindPrice(Product product, double quantity, string variantId, Currency currency, string unitId, Dynamicweb.Frontend.Extranet user);
So it expects an Dynamicweb.Frontend.Extranet as input, but the Dynamicweb.Frontend.Extranet is deprecated and doesnt exist in the latest version of dynamicweb.dll which we got from nuget.
How do I solve this problem, or are there other ways to get started building Live integration calls?