diff --git a/src/Dynamicweb.Ecommerce.CheckoutHandlers.QuickPayPaymentWindow.csproj b/src/Dynamicweb.Ecommerce.CheckoutHandlers.QuickPayPaymentWindow.csproj index db1aa4f..0475c30 100644 --- a/src/Dynamicweb.Ecommerce.CheckoutHandlers.QuickPayPaymentWindow.csproj +++ b/src/Dynamicweb.Ecommerce.CheckoutHandlers.QuickPayPaymentWindow.csproj @@ -1,6 +1,6 @@  - 10.1.2 + 10.1.3 1.0.0.0 QuickPay Payment Window The QuickPay Payment Window checkout handler is designed to work with QuickPay v10. diff --git a/src/QuickPayPaymentWindow.cs b/src/QuickPayPaymentWindow.cs index d84e335..96e972a 100644 --- a/src/QuickPayPaymentWindow.cs +++ b/src/QuickPayPaymentWindow.cs @@ -566,7 +566,7 @@ private void Callback(Order order) { lock (lockObject) { - if (Context.Current.Request.InputStream.Length == 0) + if (Converter.ToInt64(Context.Current.Request.Headers["Content-Length"]) == 0) { LogEvent(order, "Invalid callback - no InputStream or not a POST"); return;