diff --git a/www/assets/js/rates.js b/www/assets/js/rates.js index c532dda..34b3e72 100644 --- a/www/assets/js/rates.js +++ b/www/assets/js/rates.js @@ -181,7 +181,10 @@ function doZipCodeLookup(street, city, state) { app.dialog.close(); if (resp.status == "OK") { app.popup.close(); - $("#to_street1").val(resp.address.address); + if (resp.address.dpv_confirmed) { + // If an exact deliverable match was found, fill in the verified street address + $("#to_street1").val(resp.address.address); + } $("#to_zip").val(resp.address.zip); app.input.checkEmptyState('#to_street1'); app.input.checkEmptyState('#to_zip');