Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We are working on TeaCommerce version 2.3.2 for Umbraco 7, added shipping calculator for recalculating order total after changing shipping settings, but I'm getting an error when try to save order:
var order = TC.GetOrder(Model.StoreId, Model.Id);
catch (Exception exceptionSave)
In line order.Save() I'm getting an exception that can't fix
Upgrade to version 2.3.5 didn't help
Which exception is thrown on Order.Save()?
Now we have very strange issue, that "CustomShippingCalculator" is recalculating locally and on the dev, but not working on the live, no exceptions.
public class CustomShippingCalculator : ShippingCalculator
public CustomShippingCalculator(IVatGroupService vatGroupService, ICurrencyService currencyService)
: base(vatGroupService, currencyService)
protected override Price CalculatePrice(ShippingMethod shippingMethod, Currency currency, Order order)
LogHelper.Debug(typeof(CustomShippingCalculator), "shipping calculator fired " + shippingMethod.Alias + " glsShippingCost" + order.Properties["glsShippingCost"] + order.ShipmentInformation.TotalPrice.WithVat);
var currentShippingPrice = decimal.Parse(order.Properties["glsShippingCost"]);
if (order.ShipmentInformation.TotalPrice.WithVat != currentShippingPrice)
return new Price(currentShippingPrice, order.VatRate, currency);
return base.CalculatePrice(shippingMethod, currency, order);
Thanks for the response.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted