You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the calls as defined in the ReadMe result in the error in the title.
Here are my example calls:
standardized_address=Stamps.clean_address(:address=>{:full_name=>'The White House',:address1=>'1600 Pennsylvania Avenue, NW',:city=>'Washington',:state=>'DC',:zip_code=>'20500'})rates=Stamps.get_rates(:from_zip_code=>'45440',:to_zip_code=>'20500',:weight_lb=>'0.5',:ship_date=>'2014-02-28')stamp=Stamps.create!(:tracking_number=>true,:rate=>rates.first,:to=>standardized_address,:from=>{:full_name=>'Littlelines',:address1=>'50 Chestnut Street',:address2=>'Suite 234',:city=>'Beavercreek',:state=>'OH',:zip_code=>'45440',:phone_number=>'9375545027'},:memo=>'Thanks for shopping with us!')
I can see that the problem is with the serialization of the To Address object in the lib/stamps/mapping.rb. So I attempted to pass
:to=>standardized_address[:address]
but that results in an error:
SystemStackError: stackleveltoodeep
The text was updated successfully, but these errors were encountered:
I know that there is another bug with the same title, but this is using the latest version of the Stamps.com API (https://swsim.testing.stamps.com/swsim/SwsimV34.asmx)
Make the calls as defined in the ReadMe result in the error in the title.
Here are my example calls:
I can see that the problem is with the serialization of the To Address object in the lib/stamps/mapping.rb. So I attempted to pass
but that results in an error:
The text was updated successfully, but these errors were encountered: