Square Site Banner | Q3 2025

Product Icon

USPS Shipping Method for WooCommerce

Get shipping rates from the USPS API which handles both domestic and international parcels.

Allow Option To Disable Estimated Delivery Times

The extension retrieves service commitment information from the USPS API through the SvcCommitments field in the API response.

When the USPS API returns service commitment data that contains “days” information, the extension automatically appends this to the shipping rate name. (Ex: First Class (approximately 4-7 business days) ).

This isn’t always accurate, especially for international shipping.

It would be good to have the option to disable the estimated time for delivery.

Author

chrissiepollock

Current Status

Open

Last updated: June 27, 2025

1 comment

Log in to comment on this feature request.

  1. dereksgrimes says:

    Conditional to turn off/on needed here:

    if ( ! empty( $svc_commitment ) && strstr( $svc_commitment, ‘days’ ) ) {
    $rate_name .= ‘ (‘ . current( explode( ‘days’, $svc_commitment ) ) . ‘ days)’;
    }

    In this file:
    woocommerce-shipping-usps/includes/api/legacy/class-legacy-api.php

    Lines 945-947