I have a problem with the creation of a custom shipping fee provider.
I need to implement a custom shipping fee that depends of the postal code entered by the user in the shipping cart.
Here is a snaptshot of the cart:
Reading the api i found that the Dynamicweb.Ecommerce.Orders.FeeProvider do this work.
The main idea is that the "calcular" button reload the cart calling the CartV2.GotoStep0 function and then the FeeProvider should be called to get the
shipping fee based in the postal code (this information is saved into DW database as a custom item).
I implementing it but the FeeProvider is called sometimes, not always.
I dont know what is wrong.
Is there another way to implement a custom Fee Shipping?