cancel
Showing results for 
Search instead for 
Did you mean: 

API Login with LogIn ID and password

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

 

 

 

Lassen
Member
2 REPLIES 2

Hello @Lassen

 

As the error message indicates, you cannot use the API with a Login ID and Password to authenticate.

 

Richard

RichardH
Administrator Administrator
Administrator

Thank you Richard.

 

Are there any plans to enable this?

 

Finn