Magento 2 USPS Shipping Extension – Real-Time USPS Rates via REST API v3
Show accurate, real-time USPS shipping rates at checkout in Magento 2. This extension integrates directly with the USPS OAuth REST API v3, ensuring secure authentication, production-quality rates, and future-proof compliance for domestic shipping.
The Toweringmedia USPS OAuth Carrier for Magento 2.4.8 provides a secure and modern way to display real USPS shipping rates at checkout. Unlike legacy USPS modules, this extension integrates with the official USPS OAuth REST API (Domestic Prices v3) using client credentials OAuth 2.0, making it both future-proof and compliant with USPS requirements.
Merchants can configure allowed methods, automatically filter rates, and rely on USPS for accurate pricing — no more guesswork or outdated tables. Admin users can test connections and fetch sample rates directly within Magento, while structured logging ensures transparency without exposing secrets.
🔑 Features
-
✅ USPS OAuth REST API v3 Integration – secure client credentials authentication.
-
✅ Real-Time USPS Rates – live shipping quotes at checkout.
-
✅ Rate Filtering – one cheapest option per class, plus top 10 by price.
-
✅ Admin Tools – test endpoints for connection and sample rates.
-
✅ Structured Logging – output to
var/log/usps_oauth.logwithout secrets. -
✅ Compatibility – Magento 2.4.8, PHP 8.2, MySQL 8.4, OpenSearch.
⚡ Benefits
-
📦 Accurate rates = no overcharging or undercharging.
-
🔒 Future-proof with USPS OAuth (no legacy username/password).
-
🚀 Save time by eliminating manual shipping tables.
-
🛠 Easy setup from Magento Admin.
This extension is ideal for Magento 2 merchants in the US who want reliable, secure, and real-time USPS shipping rates integrated directly into checkout.
Magento 2 USPS Shipping Extension User Guide| Edition | Community |
|---|