Reply
Highlighted
Member
Posts: 4
Registered: ‎06-27-2012

Ruby CIM does not return address - problem in address.rb

The ruby authorize.net gem (version 1.5.2) does not return the billing address properly. The street address component is missing.

 

The XML response from the authorize.net server is correct, but it is not parsed properly into an AuthorizeNet::Address object.

 

It looks like the problem might be in this file:

authorize-net-1.5.2/lib/authorize_net/addresses/address.rb

 

If I change the two occurrences of ':street_address' to just ':address', then I can access the address field as expected. Please advise if that fix is appropriate, or if this will be fixed in an upcoming release of the gem.

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: Ruby CIM does not return address - problem in address.rb

Hey chris098,

 

Thanks for the heads up. We've noted this bug and have reported it to our developers.

 

Thanks,

 

Michelle

Developer Community Manager

Member
Posts: 4
Registered: ‎06-27-2012

Re: Ruby CIM does not return address - problem in address.rb

Is there an ETA as to when this bug will be fixed? (Or, if it's already fixed, when a new version of the ruby gem will be made available?)

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: Ruby CIM does not return address - problem in address.rb

Hey chris098,

 

I don't have an ETA for this, no. But once we make updates to any SDKs, we will post an announcement in the News and Announcements board.

 

Thanks,

 

Michelle

Developer Community Manager

Member
Posts: 1
Registered: ‎02-05-2013

Re: Ruby CIM does not return address - problem in address.rb

Six months later and this still seems to be an issue. Any ETA on a fix? Should not take so long just to patch a ruby gem.