24/7 Support: 800.608.6482

Reference Guide

Try our new AI assistant by clicking the chat icon in the lower right corner.

This Version is Out of Date

You can find the updated Miva 10 Reference Guide here

Shipping

U.S.P.S. Online Rate Calculation (Domestic & International)

You can use this module to get rates for U.S.P.S. shipping and to print address labels, but you cannot use this module to print U.S.P.S. postage. If you want to print address labels with U.S.P.S. postage, you have two choices:

Support for the Shipping Settings > Packaging Rules

Before you can use the U.S.P.S. Online Rate Calculation Module, you have to create a U.S.P.S. Web Tools account.

To Create a U.S.P.S. Web Tools Account

  1. Go to: https://secure.shippingapis.com/registration/ and complete the U.S.P.S. Web Tools registration form.
  2. After you complete the registration form, you should see a confirmation screen like this:
  3. USPS Registration

    You will also receive a confirmation email from U.S.P.S. with:

    • A username and password.
    • Contact information for the Internet Contact Care Center. uspstechsupport@esecurecare.net 1-800-344-7779 This contact information could change, so please check the confirmation email that you receive.
  4. Contact U.S.P.S to modify your account.
  5. 3.1. U.S.P.S. production server. When you first register with U.S.P.S. your account is linked to a test server. Ask the U.S.P.S. representative to switch your account to a production server. If they ask what application you are using, say "Miva Merchant". Miva Merchant is already an approved U.S.P.S. rate application.

    3.2. U.S.P.S. shipping labels. If you want to print U.S.P.S. shipping labels without U.S.P.S. postage, ask the representative to enable your account for the "delivery confirmation API". You don't have to do this step if you are going to use Endicia to print U.S.P.S. shipping labels with postage.

    To Configure U.S.P.S. Online Rate Calculation

    1. Follow the steps above to create a U.S.P.S. web tools account.
    2. Go to Menu> Shipping > Add / Remove Modules > Available Modules section.
    3. Click Install under U.S.P.S. Online Rate Calculation (Domestic & International).
    4. Click on the U.S.P.S. Online Rate Calculation (Domestic & International) tab.
    USPS User ID: Enter your U.S.P.S. username.
    URL to USPS WebTools Server: Miva Merchant uses both this URL and the secure URL below to get rate information. Both fields are populated automatically and almost never need to be changed.
    Secure URL to USPS WebTools Server: See above.
    Source Zip Code for Calculations: The zip code where rate calculation assumes you are shipping from.
    Label Option (Default): This field assumes you are printing U.S.P.S. address labels without postage. If you want to print U.S.P.S. address labels with postage, please use the Endicia module
    Delivery Confirmation + Mailing Address: The label contains address information plus a U.S.P.S. barcode that is scanned to prove delivery confirmation.
    Delivery Confirmation Only: The label contains only the U.S.P.S. barcode that is used to prove delivery confirmation.
    Label Image Type (Default): The file type of the label that is retrieved from U.S.P.S.
    Display Online Rates to Customers When Available U.S.P.S. has a "standard" shipping rate that you would be quoted if you physically went to a post office, and a slightly discounted rate that you can get if you buy postage online.

    If you check this box, your customers will see the discounted online rate if it's available. If the online rate isn't available, or if you don't check this box, your customers will see the standard U.S.P.S. rate.

    Enable Label Generation: See https://www.usps.com/ship/service-chart.htm

    Check this box if you want to print U.S.P.S. labels with address information but no postage.

    Leave this box unchecked if you are using Endicia to print labels with both address information and postage.

    Available Shipping Methods:

    The U.S.P.S. shipping methods that you want to offer customers in the checkout screens.

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2024 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.