Skip to content

greenglobal/bagisto-usps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bagisto USPS

This extension used for calculating shipping rate with the USPS services.

Features

  • Calculate shipping rate with USPS services.
  • Track your shipment by tracking number.

Requirements

Installation

Install with package folder

  1. Unzip all the files to packages/GGPHP/Shipping.
  2. Open config/app.php and add GGPHP\Shipping\Providers\ShippingServiceProvider::class.
  3. Open composer.json of root project and add "GGPHP\Shipping\": "packages/GGPHP/Shipping/src".
  4. Run the following command
composer dump-autoload
  1. Go to https://<your-site>/admin/configuration/sales/carriers.
  2. Make sure that Marketplace USPS is active and press save.
  3. Go to https://<your-site>/admin/configuration/sales/shipping and add shipping address.

Your customers are now able to select the new shipping method.

Example data

USPS key

  • Username: 738GG0007805
  • Password: 495NK72CF552

Shipper address

  • Street Address: 8383 Bowman Dr. Los Angeles
  • State: CA
  • Zip: 90022
  • City: Los Angeles
  • Country: US

Recipient address

  • Street Address: 10 Fed Ex Pkwy
  • State: VA
  • Zip: 20171
  • City: Herndon
  • Country: US

Tracking number

  • LZ661737688US
  • 9400111298370718571488

Guide

Track your shipment by tracking number.

  • Go to https://<your-site>/admin/sales/tracking/{tracking-number}.

Get shipment infomations

  • Use uspsTrackById($trackingIds) method to get shipment infomations with trackingIds are tracking number array.