Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
You should implement IShippingPlugin instead of IShippingGateway (you can implement both, however)
We're already using IShippingGateway.
var shippingGateway = (IShippingGateway)Activator.CreateInstance(type, ServiceLocator.Current.GetInstance<ICurrentMarket>().GetCurrentMarket());
shippingGateway.GetRate() expects Guid methodId, Shipment shipment, ref string message
We're on Commerce 11.8.3 if that makes a difference. Documentation says this is valid for 10 and up.
Hi,
I'm currently in a project where we try to switch over to using ICart. I'm stuck trying to get the shipping rates from a shipping gateway.
Getting the rates from a shipping gateway requires a Shipment object, not IShipment as ICart use. But according to docs it should be a list of LineItem (not ILineItem) as input.
Any suggestions?