Real-Time USPS, UPS and Google Address Validation for nopCommerce
AddressValidation connects nopCommerce checkout and admin address forms to a chosen external verification provider — USPS, UPS or Google — validating billing, shipping and customer account addresses before an order can proceed. It can hard-block undeliverable addresses or show a non-blocking storefront warning, and gives admin staff a one-click button to re-check an existing order's shipping address.
What It Does
- Checkout validation — billing and shipping address steps are checked before the order can advance
- Account address validation — customer address add/edit forms and admin-entered customer addresses are checked through the provider
- Provider choice — pick USPS, UPS or Google as the validation source from a dropdown
- Sandbox testing — USPS and UPS sandbox toggles let credentials be proven before switching a live store over
- Warning-only mode — "Allow not valid address checkout" turns hard blocking into a red advisory on the shipping-method step
- Admin order re-check — a "Validate address" button on the order details page posts the shipping address and returns the verdict
- UPS suggested addresses — UPS_DisplaySuggestedAddresses collects candidate addresses for an ambiguous UPS address
- Google CASS enrichment — the Enable CASS toggle requests USPS CASS processing for US and Puerto Rico addresses via Google
- Verdict caching — provider verdicts are cached per normalized address for 10 minutes to avoid repeat calls on re-rendered checkout steps
- OAuth token management — USPS and UPS OAuth access tokens are obtained, cached and refreshed automatically
- Debug logging — toggle debug logging with Download the log-file and Clear the log-file actions
- Instant credential refresh — saving settings clears every cached token and verdict so a changed provider or credentials take effect immediately
How It Works
- Install the plugin, choose a provider — USPS, UPS or Google — and enter its credentials or API key.
- Optionally test against the USPS or UPS sandbox before switching to live credentials.
- A shopper enters a billing or shipping address at checkout, or edits their account address.
- The address is checked against the provider; an invalid address is blocked or flagged with a warning.
- Admin staff can re-validate an existing order's shipping address from the order details page.
Specs & Requirements
- nopCommerce — 5.00, 4.90, 4.80, 4.70, 4.60, 4.50, 4.40, 4.30
- Plugin type — Misc/Widget plugin; validates checkout and address forms via FluentValidation rules and a shipping-method widget zone
- Requires — credentials for one provider: a USPS OAuth Client ID/Secret, a UPS OAuth Client ID/Secret, or a Google Address Validation API key
- Integrations — USPS Addresses API v3, UPS Address Validation (XAV) API v2, and the Google Address Validation API