Trying to make an VB.NET app where user would log in with LogIn ID and password (rather than APILogInID and APITransactionKey), just like when using an Internet browser to charge a credit card.
ApiOperationBase(Of ANetApiRequest, ANetApiResponse).RunEnvironment = AuthorizeNet.Environment.SANDBOX
ApiOperationBase(Of ANetApiRequest, ANetApiResponse).MerchantAuthentication = New merchantAuthenticationType() With {
.name = txtLoginID.Text,
.ItemElementName = ItemChoiceType.password,
.Item = txtPassword.Text}
But I get:
Error: E00059 The authentication type is not allowed for this method call.
Is that because using .SANDBOX or is .ItemElementName = ItemChoiceType.password not allowed, even though it apears to be an option?
Finn
08-12-2016 01:47 PM
Hello @Lassen
As the error message indicates, you cannot use the API with a Login ID and Password to authenticate.
Richard
08-15-2016 07:58 AM
Thank you Richard.
Are there any plans to enable this?
Finn
08-15-2016 01:47 PM