We have a strange error occuring:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Web.Hosting.IIS7WorkerRequest.GetServerVariableInternal(String name)
at System.Web.HttpRequestWrapper.get_UserHostAddress()
at Dynamicweb.Ecommerce.Cart.CheckoutHandler.LogErrorWithName(Order order, Exception ex, String name, String message, Object[] args)
at Dynamicweb.Ecommerce.Orders.OrderService.Capture(Order order, Int64 amount, Boolean final)
The strange thing is that this code:
var orderCaptureInfo = Dynamicweb.Ecommerce.Services.Orders.Capture(order);
Throws an error, saying capture was unsuccessfull, but the capture was indeed successfull!
So an error is thrown, even if the capture was successfull.
Anyone seen this before, or have a clue on what it might be?