=== India Couriers for WooCommerce ===
Contributors: catcodestudio
Tags: shiprocket, delhivery, india, shipping, awb
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 11.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Shiprocket and Delhivery for WooCommerce: live prices by PIN code, AWB and labels from the order screen, pickups and tracking for the buyer.

== Description ==

Ship with your own Shiprocket and Delhivery accounts from the WooCommerce order screen. The plugin talks to both services directly with your own API details, and prices the delivery for the buyer's PIN code at checkout.

Shiprocket and Delhivery are third-party products. This is an independent integration, not affiliated with or endorsed by them.

**Free**

* Two delivery methods for your shipping zone: Shiprocket and Delhivery (Surface or Express).
* A live price by PIN code on the classic and the block checkout, with the delivery estimate when the service gives one. Or a fixed price.
* A PIN code the service does not serve hides the method. When the service does not answer, the fixed price takes over, so the checkout keeps working.
* Free from an order amount or with a free-shipping coupon, weight limit.
* AWB from the order screen: compare the Shiprocket couriers with price, days and rating, or let Shiprocket choose. Weight and box size can be changed for each order.
* Prepaid and cash-on-delivery orders: the amount follows the order, with coupons, fees and refunds.
* PDF label, pickup request, cancelling the AWB at the service, status refresh.
* HSN code per product, your GSTIN, and the e-Way Bill number for orders of ₹50,000 and more.
* Tracking link in the order, on the account page and in the e-mails.
* A failed delivery (NDR) is shown on the order.
* Interface in English and Hindi.

**Pro** (7-day free trial from the settings page)

* NDR desk: every failed delivery in one list, with the reason and the attempts, and the answer to the courier from one screen: deliver again, a new date, a corrected phone or address, or return.
* AWBs created automatically when an order reaches the status you choose, with the courier rule you choose.
* Bulk actions in the orders list: AWBs, labels and pickups.
* Status webhooks, an hourly sync and automatic completion on delivery.
* Cash on delivery hidden where the courier cannot collect it, or above the amount you set.
* Price rules at checkout: fastest, best-rated or recommended courier, markup and rounding.
* Manifest for the pickup (Shiprocket).

== Installation ==

1. Install and activate WooCommerce and this plugin.
2. Open WooCommerce → India Couriers, fill in the details of the services you use, save and check the connection.
3. Add the delivery methods to your shipping zone for India in WooCommerce → Settings → Shipping.
4. Open an order and create the AWB in the India Couriers box.

== Frequently Asked Questions ==

= What do I need from Shiprocket? =

An API user: in Shiprocket, Settings → API → Add New API User. Its e-mail must differ from your login e-mail. Also the name and PIN code of a pickup location.

= What do I need from Delhivery? =

The API token from Delhivery One (Settings → API Setup), and the name and PIN code of a warehouse registered with Delhivery. The name is case sensitive.

= Does creating an AWB cost money? =

Shiprocket charges your wallet when the AWB is created, so the plugin asks first. A Delhivery account on a prepaid wallet needs a balance of its own.

= Does the checkout price include the COD charge? =

No. The price at checkout is the prepaid price, because the buyer has not chosen a payment method yet. The price for a COD order is shown when you compare the couriers on the order. Pro can add a markup to cover it.

= Delhivery shows a different amount on my invoice =

Delhivery's calculator gives an approximate price, and it works on production only: with a staging token the method uses its fixed price.

= Which countries does it ship to? =

India only, in rupees. In a shop with another currency the methods use their fixed price.

== External services ==

The plugin connects only to the services the shop owner sets up, and only for the actions below.

**Shiprocket** (apiv2.shiprocket.in).

* In the settings: the API user e-mail and password are sent to sign in.
* At checkout: the pickup and delivery PIN codes, the weight and box size of the cart are sent to get prices.
* When the shop creates an AWB: the buyer's name, address, e-mail address and phone number, the products, amounts and the order number are sent to create the shipment.
* For labels, pickups, status and cancelling: the shipment number or the AWB is sent.

Terms: https://www.shiprocket.in/terms-conditions/ Privacy: https://www.shiprocket.in/privacy-policy/

**Delhivery** (track.delhivery.com, staging-express.delhivery.com).

* At checkout: the pickup and delivery PIN codes and the weight of the cart are sent to get prices.
* When the shop creates an AWB: the buyer's name, address and phone number, the products, amounts and the order number are sent to create the shipment.
* For labels, pickups, status and cancelling: the AWB or the warehouse name is sent.

Terms: https://www.delhivery.com/terms-and-conditions/ Privacy: https://www.delhivery.com/privacy-policy/

The Pro licence check connects to catcode.com.ua and sends the licence key and the site address.

== Changelog ==

= 1.0.0 =
* First version: Shiprocket and Delhivery, live prices by PIN code on the classic and the block checkout, AWB, labels, pickups, tracking; Pro NDR desk, automatic and bulk AWBs, webhooks, COD rules, price rules, manifest.
