Laravel ShipRocket Shipping integrates ShipRocket with Bagisto.
It provides live courier rates at checkout, automatically sends shipments to ShipRocket, and allows admins to print shipping labels.
Note: A Bagisto store and ShipRocket account with API access are required.
Create a dedicated API user in ShipRocket under Settings → API → Configure. The regular login will not authenticate against the ShipRocket API.
Bagisto Version: v2.4.x
Unzip the extension package and merge the packages folder into your project root.
Go to: bootstrap/providers.php file and add the following line under ‘providers’
|
1 2 3 4 5 |
use Webkul\ShipRocketShipping\Providers\ShipRocketShippingServiceProvider; return [ ShipRocketShippingServiceProvider::class, ] |
composer.json FileOpen the composer.json file and add the following line under the ‘psr-4’ section:
|
1 |
"Webkul\\ShipRocketShipping\\": "packages/Webkul/ShipRocketShipping/src" |
Run these commands below to complete the setup
|
1 |
composer dump-autoload |
|
1 |
php artisan shiprocket:install |
Navigate to: Admin → Configure → Sales → Shipping Methods → ShipRocket

Status: Enable or disable the ShipRocket shipping method.
Title: Name displayed to customers during checkout.
Description: Text shown below the shipping method at checkout.
API Email: Email address of the ShipRocket API user used for authentication.
API Password: Password of the ShipRocket API user used for authentication.
Pickup Location: Select the pickup address fetched from ShipRocket.
Rate Payment Mode: Quote couriers for Cash On Delivery or for Prepaid orders.
Default Package Weight (kg): Used when the cart weighs less than this, since ShipRocket will not quote a rate for a weightless package.
Default Package Length / Breadth / Height (cm): Package dimensions sent with the ShipRocket order.
Ship To Applicable Countries: Choose whether shipping is available for all countries or specific ones.
Specific Countries: List of countries where shipping is available when restricted mode is enabled.
Show Method If Not Applicable: Shows a message at checkout when no courier can deliver to the address.
Displayed Error Message: Custom message shown when shipping is unavailable.
Note: Save the API Email and Password before selecting a Pickup Location. Reopen the configuration page to load the available pickup locations from ShipRocket.
ShipRocket quotes every rate, and reads every amount sent to it, in Indian Rupees.
Navigate to: Admin → Configure → Currencies → Exchange Rates
Unless the channel base currency is already INR, add an exchange rate with INR as the target currency.
Note: This exchange rate is required for currency conversion.
Without it, a courier rate of ₹237.15 may be shown incorrectly in the store currency. The order value sent to the courier may also be incorrect.
When customers reach the checkout page, the system automatically:

If shipping is unavailable for the selected address, the shipping method is either hidden or shown with an error message, based on the admin configuration.
When an administrator creates a shipment, the module automatically sends the shipment information to ShipRocket.
The ShipRocket order is created first, and the AWB is then booked against the exact courier the customer selected at checkout.
The AWB is stored as the tracking number of the shipment, so the customer sees it on their order.
Note: Nothing is sent to ShipRocket when the order is placed. The push happens on shipment creation, because it carries the shipped items and their quantities.
After a shipment has been synchronized with ShipRocket, shipping labels can be generated directly from the application.
Navigate to: Sales → Shipments → View

If the shipment has been successfully synchronized, a Download Shipping Label option will be available.
The shipment view also shows the ShipRocket Order ID, the ShipRocket Shipment ID and the assigned courier.
If ShipRocket refuses the booking, the ShipRocket Response field shows the reason it gave, so the failure does not have to be traced through the log.
The downloaded label can be printed and attached to the shipment before dispatch.
So, that was much about the User Guide of Laravel ShipRocket Shipping. For any queries or doubts reach out to us at [email protected].
You can also raise a ticket at our HelpDesk System.
Please explore our Laravel Development Services and Quality Bagisto Extensions.
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.