Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Authorize.NET C# SDK Bugs
Hey Guys,
Can you fix at least the following bugs in your SDK:
AuthorizeNet.CustomerGateway.AddCreditCard(...)
Replace:
card.expirationDate = string.Format("{0}-{1}", expirationYear.ToString(), expirationMonth.ToString());
With:
card.expirationDate = String.Format(expirationYear > 99 ? "{0:D2}-{1:D4}" : "{0:D2}-{1:D2}", expirationMonth, expirationYear);
- AuthorizeNet.CustomerGateway.UpdateCustomer(...)
After:var req = new updateCustomerProfileRequest();
Add:req.profile = new customerProfileExType();
- AuthorizeNet.PaymentProfile.ToAPI(...)
After:result.customerPaymentProfileId = this.ProfileID;
Add:result.payment = new paymentType();
Web Apps Architect | .NET Engineer
04-14-2011 11:48 AM