Thanks for the reply Joy.
My transacations are less than $100.
I'm entering a valid routing number gleaned from the internet, a random account number using and a random Bank Account Name and nameOnAccount. WEB transactions are not failing using the same routing number and random account number and Name.
When I use CCD I assign the "Name" enter text to the BankName and the nameOnAccount. When I do a WEB transaction, I just set the nameOnAccount = "Name"
Dim bankAccount As New bankAccountType()
bankAccount.accountNumber = AccountNumber '"4111111"
bankAccount.routingNumber = RoutingNum '"325070760"
If AccountType = "WEB" Then
bankAccount.echeckType = echeckTypeEnum.WEB
bankAccount.nameOnAccount = NameOnAccount '"Test Name"
Else
bankAccount.echeckType = echeckTypeEnum.CCD
bankAccount.bankName = NameOnAccount '"Test Name"
bankAccount.nameOnAccount = NameOnAccount '"Test Name"
End If
'standard api call to retrieve response
Dim paymentType As New paymentType()
paymentType.Item = bankAccount
' refund type
Dim transactionRequest As New transactionRequestType() With {.transactionType = transactionTypeEnum.authCaptureTransaction.ToString(), .payment = paymentType, .amount = Amount}
Dim request As New createTransactionRequest() With {.transactionRequest = transactionRequest}
' instantiate the contoller that will call the service
Dim controller As New createTransactionController(request)
controller.Execute()
' get the response from
the service (errors contained if any)
Dim response = controller.GetApiResponse()