I am using CustomerGateway (of AuthorizeNet.DLL) to make payments using customer profiles. The process is working except that with
AuthorizeAndCapture, the invoice number and description are not written to the unsettled transaction and are returned blank in the response.
Dim gate AsNew CustomerGateway(_userLoginName, _transactionKey, True)
Dim order1 AsNew Order(CustomerProfileID, PaymentID, "")
order1.InvoiceNumber = Invoice
order1.Description = Descr
order1.Amount = Amount
Dim response As GatewayResponse = gate.AuthorizeAndCapture(order1)
The above works, except for the blank Invoice and Description fields on the transaction and on the response.
The Authorize only request (in place of AuthorizeAndCapture) stored the Invoice and Description.
Dim response As GatewayResponse = gate.Authorize(order1)
This was tested using test.authorize.net and using .NET framework 3.5
The following, using AuthorizationRequest, also processes successfully with invoice number and description being set correctly:
Dim request As New AuthorizationRequest(CardNo, Expire, Amount, Descr)
request.InvoiceNum = Invoice
Dim gate = New Gateway(_userLoginName, _transactionKey, True)
Dim response As GatewayResponse = gate.Send(request)
Without the invoice Number and Description, it will be very difficult manually to reconcile trnsactions. Is this a bug that can be fixed or is there another way I could do a transaction via CustomerGateway where the invoice and description will be retained?