We're getting a .Net Error when we try to checkout with a cart that ships to multiple shipping addresses. The error occurs when we attempt to submit the order and appears to be in the Gateway.MakeOrder portion of the code.
The following error occurs:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 364: End If
Line 365:
Line 366: Dim status As String = Gateway.MakeOrder(String.Empty, AppLogic.TransactionMode(), cart, OrderNumber, String.Empty, String.Empty, String.Empty, String.Empty)
Line 367: If status = AppLogic.ro_3DSecure Then
Line 368: Response.Redirect("secureform.aspx")
Source File: W:\Clients\wheatgrass\docs\checkoutreview.aspx.vb Line: 366
Issue appears to be in the function itself, the parameters (TransactionMode(),OrderNumber) being sent do have values
This is Version 8.0.1.2 Visual Basic Source
Payment Gateway is SagePayments
Single address orders process correctly and are hitting the gateway.
Has anyone else experienced this, and is there a fix? I submitted a ticket, but was told to change gateways to Protx, which doesn't make sense.
Thanks,