Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 6
Registered: ‎05-23-2011

C# SDK Interface vs. Implementation parameter order

Hi,

 

I wanted to point out that on the C# SDK that the order of the parameters for AuthorizeNet.ICustomerGateway.Void is different from the implementing class AuthorizeNet.CustomerGateway.Void.  approvalCode and transactionid have been switched.

 

ICustomerGateway.cs

IGatewayResponse Void(string profileID, string paymentProfileId, string approvalCode, string transactionId);

 

CustomerGateway.cs

public IGatewayResponse Void(string profileID, string paymentProfileId, string transactionId, string approvalCode)

 

Thanks

Highlighted
Administrator
Posts: 591
Registered: ‎08-21-2009

Re: C# SDK Interface vs. Implementation parameter order

[ Edited ]

Thanks for pointing out the mistake. I've passed it on to our internal developers so that they will have it corrected for the next release.