-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
While creating an address for Ireland with valid data , it doesnt populate province_code which makes the address not valid
params = { :first_name=>"John", :last_name=>"Doe", :address1=>"Bedford Hall", :address2=>"34 Castle Street", :city=>"Dublin", :zip=>"D02 TN97", :phone=>"", :country_code=>"IE"}
address = Worldwide.address(**params).normalize(autocorrect_level: 9) => #<Worldwide::Address:0x0000ffff88794a68 @address1="Bedford Hall", @address2="34 Castle Street", @city="Dublin", @company=nil, @country_code="IE", @first_name="John", @last_name="Doe", @line2=nil, @neighborhood=nil, @phone="", @province_code=nil, @street_name=nil, @street_number=nil, @zip="D02 TN97">
address.valid? => false
Metadata
Metadata
Assignees
Labels
No labels