- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
04-13-2012 04:53 PM - edited 04-13-2012 04:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
04-13-2012 06:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look like it using a different delimited char then what on your merchant account setting.
04-14-2012 09:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How is the delimiter configured for the API? The account is set to "|" ..... i believe "," was the default.
04-16-2012 09:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
04-16-2012 11:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's too bad. An option on AuthorizeNet.CustomerGateway would be an nice improvement.
04-16-2012 02:21 PM
