An invalid address informs the user that it’s invalid and both the invalid address and the ambiguous address offer the user two additional choices. In this case it displays a popup which allows the user to select the correct address or to override the suggestions and continue with the address they entered. Let’s say for example that “1 Rosedale St.”, could be “1 N Rosedale Street” or “1 S Rosedale Street”. An ambiguous address is one that returns multiple matches. Proper casing and spelling errors will also be enacted. An address modification would for example change “1735 pheasant” to “1731 N Pheasant St.”. #SMARTY STREETS ZIP#Zip codes will be modified with the carrier route code, so “92806” becomes “92806-3433”. #SMARTY STREETS CODE#A valid address will display a verified image to the side of the zip code and all of the address fields will be modified with a more “correct” address, with correct being defined as what matches the USPS official definition for the matched address. #SMARTY STREETS VERIFICATION#The verification has three possible outcomes: The plugin autodetects address fields and when a minimum of 3 fields are entered (address, city, state), it will display an indicator sprite to the user and send an async request to the API for verification. The big advantage of Smarty Streets is that adding address verification to a form can be as easy as adding a link to their jQuery based plugin and then a script tag with your SmartyStreets API key. SmartyStreets is CASS certified meaning that they meet the USPS accuracy requirements. SmartyStreets provides an easy way for developers to allow Address verification to their web forms so that addresses are verified against the US Postal Service’s valid addresses. Wrong addresses can delay the whole process and Mobixa wanted to reduce the number of bad addresses that were being keyed in by the customers. Mobixa sends shipping labels and payment checks to customers so that they can send their phones to Mobixa and get paid for it. SmartyStreets is a new API web app that I implemented for our client Mobixa, a web app that allows people to sell their used mobile phones. Even worse for the merchant, maybe the package never gets returned. In today’s ecommerce world customers expect deliveries to be fast and reliable, and in this case the customer would have to wait until the package is returned to the merchant with “Address Unknown” only to have to wait even longer for the reshipment. Imagine though the cost to the merchant who ships something to the wrong state because the customer accidently selected “SD” (South Dakota) when they thought they were selecting “SC” (South Carolina), a simple enough mistake to make and one that wouldn’t be caught by most address forms. Up until now going further with addresses to verify they actually exist in the real world was a difficult enough task that most developers wouldn’t bother with it. Validations on forms allow us to guide the user to filling out all required fields and to make sure the fields conform to basic formats. Verify Addresses the Easy Way with SmartyStreetsĪdding an address form is a pretty common activity in web apps and even more so with ecommerce web apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |