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
- Go to the USPS Web Tools registration page.
- Fill out the required information to create an account.
- Once registered, you will receive an email with your USPS Web Tools User ID.
Step 2: Get USPS API Credentials
- After registration, log in to the USPS Web Tools website.
- Navigate to the API documentation and find the credentials. Please follow the attached list of credentials required for integration
- Please follow the steps provided by USPS to get the credentials.
- Once you have your credentials you need to request access to API by following the below link.
- If you still have any issues in getting the access or credentials then you can directly email to USPS.(APISupport@usps.gov)
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
- Go to your WordPress dashboard.
- Navigate to Plugins > Add New.
- Search for “ELEX WooCommerce USPS Shipping Plugin.”
- Install and activate the plugin.
Step 4: Configure the Plugin with USPS API Credentials
- Once the plugin is activated, go to WooCommerce > Settings > Shipping > ELEX USPS.
- Click on the General Settings tab.
- Enter your USPS API 3 credentials (Client id and Client Secret) in the appropriate field.
- Configure other settings as needed, such as the origin postcode, debug mode, and other preferences.
- Now go to the Label Generation tab and enter the additional credentials for “Label Generation” along with the mandatory fields.
Step 5: Test the Integration
- After entering the API credentials, you can test the integration by placing a test order.
- Go through the checkout process and ensure that USPS shipping rates are being calculated correctly and you are able to generate the shipping label.
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.