This extension used for calculating shipping rate with the USPS services.
- Calculate shipping rate with USPS services.
- Track your shipment by tracking number.
- Unzip all the files to packages/GGPHP/Shipping.
- Open
config/app.php
and add GGPHP\Shipping\Providers\ShippingServiceProvider::class. - Open
composer.json
of root project and add "GGPHP\Shipping\": "packages/GGPHP/Shipping/src". - Run the following command
composer dump-autoload
- Go to
https://<your-site>/admin/configuration/sales/carriers
. - Make sure that Marketplace USPS is active and press save.
- Go to
https://<your-site>/admin/configuration/sales/shipping
and add shipping address.
Your customers are now able to select the new shipping method.
- Username: 738GG0007805
- Password: 495NK72CF552
- Street Address: 8383 Bowman Dr. Los Angeles
- State: CA
- Zip: 90022
- City: Los Angeles
- Country: US
- Street Address: 10 Fed Ex Pkwy
- State: VA
- Zip: 20171
- City: Herndon
- Country: US
- LZ661737688US
- 9400111298370718571488
- Go to
https://<your-site>/admin/sales/tracking/{tracking-number}
.
- Use
uspsTrackById($trackingIds)
method to get shipment infomations withtrackingIds
are tracking number array.