What can we help you with?

How to set up USPS API 3 integration with ELEX WooCommerce USPS Shipping Plugin?

The USPS API 3 and USPS eVS (Electronic Verification System) are two different systems offered by the United States Postal Service for handling shipping and logistics. USPS API 3 refers to the suite of APIs provided by USPS for various shipping-related functionalities. These APIs are designed for integration into applications and e-commerce platforms to automate and streamline shipping processes.

To integrate the USPS API 3 with the ELEX WooCommerce USPS Shipping Plugin, follow these steps:

Step 1: Register for a USPS Web Tools Account

  1. Go to the USPS Web Tools registration page.
  2. Fill out the required information to create an account.
  3. Once registered, you will receive an email with your USPS Web Tools User ID.

Step 2: Get USPS API Credentials

  1. After registration, log in to the USPS Developer Portal using your USPS Business Account credentials.
  2. Once logged in, go to the Apps section in the menu to create an App.
  3. Select your App and retrieve your Consumer Key (Client ID) and Consumer Secret (Client Secret) from the Credentials section. These credentials are required for the next step and for generating the OAuth Token.
  4. Enter your Consumer Key here to authorize your App to access your payment accounts, permits, CRIDs, MIDs, and subscriptions, which several USPS APIs will require.
  5. For more details, follow the steps provided by USPS to obtain the credentials
  6. If you encounter any issues, you can directly email USPS at APISupport@usps.gov for assistance.
Mandatory to Get Rates:
Client id:
Client secret: 
Mandatory to generate labels:
CRID: 
MID: 
Manifest MID: 
Account Number:  
Optional:
AESITN:
Invoice Number: 
License Number: 
Certificate Number: 

Step 3: Install and Activate ELEX WooCommerce USPS Shipping Plugin

  1. Go to your WordPress dashboard.
  2. Navigate to Plugins > Add New.
  3. Search for “ELEX WooCommerce USPS Shipping Plugin.”
  4. Install and activate the plugin.

Step 4: Configure the Plugin with USPS API Credentials

  1. Once the plugin is activated, go to WooCommerce > Settings > Shipping > ELEX USPS.
  2. Click on the General Settings tab.
  3. Enter your USPS API 3 credentials (Client id and Client Secret) in the appropriate field.
  4. Configure other settings as needed, such as the origin postcode, debug mode, and other preferences.
  5. Now go to the Label Generation tab and enter the additional credentials for “Label Generation” along with the mandatory fields.
    usps api 3
    usps api 3

Step 5: Test the Integration

  1. After entering the API credentials, you can test the integration by placing a test order.
  2. Go through the checkout process and ensure that USPS shipping rates are being calculated correctly and you are able to generate the shipping label.
    usps api 3

 

Sample Label:
usps api 3

Additional Configuration

  • Enable USPS Services: You can enable or disable specific USPS services (e.g., USPS Ground Advantage, Priority Mail) from the Rates and Services tab.
  • Label Generation: Configure label printing options if you want to print shipping labels directly from your WooCommerce store.
  • Packaging Options: Set up packaging preferences, such as box sizes and weight limits.

Troubleshooting

  • Check API Credentials: Ensure that your USPS client ID and client secret are correct and have been approved by USPS for production use.
  • Check The Origin Pincode: Ensure that you have an Origin ZIP code in the plugin settings.
  • Check the Weight and Dimensions of the products: Please check if you have assigned the weights and dimensions to the product.
  • Debug Mode: Enable debug mode in the plugin settings to log API requests and responses, which can help identify any issues.
  • Contact Support: If you encounter problems, refer to the ELEX support documentation or contact our support team.

By following these steps, you should be able to successfully integrate the USPS API 3 with the ELEX WooCommerce USPS Shipping Plugin.

Next How to Enable the Retail Ground Shipping Option on the USPS Shipping Plugin?
You must be logged in to post a comment.