cancel
Showing results for 
Search instead for 
Did you mean: 

Authorize.Net C# Library 1.7.1 Issues

1.  Null ref exceptoin when calling CustomerGateway.UpdatePaymentProfile.  Error is at

PaymentProfile.ToAPI()

line:  result.payment.Item = card;

result.payment is null.

 

2.  CustomerGateway does not have a call for GetCustomerPaymentProfile.

 

Thanks.

 

randyshoopman
Member
5 REPLIES 5

3. AuthorizeAndCapture returns IGatewayResponse which is not populated correctly.

 

Call:

 

Order order = newOrder(this.AppUser.PaymentGatewayID, paymethod.PaymentGatewayID, null);

order.Description = "xxxxx";

order.Amount = (pack.SalePrice > 0) ? pack.SalePrice : pack.Price;

order.InvoiceNumber = "xxxxxsadf";

AuthorizeNet.IGatewayResponse response = gate.AuthorizeAndCapture(order);

 

response:

{}

[AuthorizeNet.GatewayResponse]: {}

Amount: 0

Approved: false

AuthorizationCode: ""

CardNumber: ""

InvoiceNumber: ""

Message: ""

ResponseCode: "1|1|1|This transaction has been approved.|K301EV|Y|2170926556|||16.00|CC|auth_capture|BZ-11|Randy|Shoopman||111 Main St|cccccc|nv|94531||4083985521||randy1@cccc.com||||||||||||||226E788E55582246ABA60CFD1935D32||2||||||...||||||||||||||||"

TransactionID: ""

 

So response.ResponseCode contains the unparsed response string.

 

 

randyshoopman
Member

Look like it using a different delimited char then what on your merchant account setting.

How is the delimiter configured for the API?  The account is set to "|" ..... i believe "," was the default. 

Don't know why they did it, but the SDKs use ',' as the delimited char for CIM while '|' for AIM. So, either change the account setting or download the source and search on ',' (with the single quote) to what ever you need.

That's too bad.  An option on AuthorizeNet.CustomerGateway would be an nice improvement.