{"id":365059,"date":"2026-09-15T10:13:49","date_gmt":"2026-09-15T10:13:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/shipping-rules-for-shiprocket\/"},"modified":"2026-09-15T10:13:31","modified_gmt":"2026-09-15T10:13:31","slug":"gravity9-studios-shipping-rules-for-shiprocket","status":"publish","type":"plugin","link":"https:\/\/he.wordpress.org\/plugins\/gravity9-studios-shipping-rules-for-shiprocket\/","author":18123295,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Gravity9 Studios Shipping Rules for Shiprocket","header_author":"gravity9studios","header_description":"A WooCommerce shipping-rule add-on that uses a live Shiprocket courier rate to choose a customer-facing shipping charge, with a non-blocking fallback.","assets_banners_color":"","last_updated":"2026-09-15 10:13:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":53,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"gravity9studios","date":"2026-09-15 10:13:31","revision":3696714}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5567,1451,3546,195924,286],"plugin_category":[45],"plugin_contributors":[280837],"plugin_business_model":[],"class_list":["post-365059","plugin","type-plugin","status-publish","hentry","plugin_tags-courier","plugin_tags-rates","plugin_tags-shipping","plugin_tags-shiprocket","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-gravity9studios","plugin_committers-gravity9studios"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gravity9-studios-shipping-rules-for-shiprocket.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Gravity9 Studios Shipping Rules for Shiprocket can use Shiprocket's courier serviceability API to obtain a live courier rate and apply a configurable WooCommerce shipping rule.<\/p>\n\n<p>Default rule:<\/p>\n\n<ul>\n<li>Shiprocket rate up to and including \u20b9200: Free shipping<\/li>\n<li>Shiprocket rate above \u20b9200: \u20b9100 shipping<\/li>\n<li>If Shiprocket cannot return a usable rate: Free shipping by default<\/li>\n<\/ul>\n\n<p>The plugin is intended for stores that accept orders first and manually decide how shipments are fulfilled later.<\/p>\n\n<p>It does not create Shiprocket shipments, AWBs, pickups, courier assignments, or tracking requests.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Server-side Shiprocket courier-rate lookup.<\/li>\n<li>Uses the lowest usable returned courier rate for threshold evaluation.<\/li>\n<li>Configurable threshold and customer-facing charges.<\/li>\n<li>Non-blocking fallback; Shiprocket failures do not block checkout.<\/li>\n<li>Short request timeout and transient caching to reduce repeated remote requests.<\/li>\n<li>Duplicate-request lock to reduce concurrent Shiprocket API calls.<\/li>\n<li>Optional use of WooCommerce package dimensions.<\/li>\n<li>Optional shipping tax handling.<\/li>\n<li>Optional hiding of the official Shiprocket product-page Check Pincode widget.<\/li>\n<li>Server-side credentials and bearer tokens.<\/li>\n<li>No telemetry, analytics, advertising, tracking pixels, remote activation, or unrelated third-party requests.<\/li>\n<li>Compatible with WooCommerce shipping zones.<\/li>\n<li>Can coexist with the official Shiprocket WooCommerce plugin used for order synchronization.<\/li>\n<\/ul>\n\n<h3>Third-Party Service: Shiprocket<\/h3>\n\n<p>When live lookup is enabled, the plugin contacts Shiprocket's API for authentication and courier serviceability\/rate information.<\/p>\n\n<p>The rate lookup may send pickup PIN, delivery PIN, shipment weight, available package dimensions, COD\/prepaid state, and declared shipment value.<\/p>\n\n<p>The plugin does not send customer name, email address, phone number, street address, product images, product descriptions, or order history for the rate lookup.<\/p>\n\n<p>All API communication is server-side over HTTPS.<\/p>\n\n<p>Shiprocket:\nhttps:\/\/www.shiprocket.in\/<\/p>\n\n<p>Shiprocket privacy policy:\nhttps:\/\/www.shiprocket.in\/privacy-policy\/<\/p>\n\n<h3>Using the Official Shiprocket WooCommerce Plugin<\/h3>\n\n<p>The official Shiprocket plugin may remain installed for WooCommerce-to-Shiprocket order synchronization.<\/p>\n\n<p>This plugin does not replace the channel connection. It only supplies the customer-facing shipping rate.<\/p>\n\n<p>Keep the official WooCommerce channel connection active for order synchronization.<\/p>\n\n<h3>Security<\/h3>\n\n<p>For stronger credential isolation, define these in wp-config.php:<\/p>\n\n<p>define( 'GRAVITY9_STUDIOS_SHIPPING_RULES_FOR_SHIPROCKET_API_EMAIL', 'api-user@example.com' );\ndefine( 'GRAVITY9_STUDIOS_SHIPPING_RULES_FOR_SHIPROCKET_API_PASSWORD', 'api-password' );<\/p>\n\n<p>Those constants take precedence over credentials stored in the plugin settings.<\/p>\n\n<p>The legacy GR9SR_API_EMAIL and GR9SR_API_PASSWORD constants remain supported for existing installations.<\/p>\n\n<p>The plugin uses WordPress's safe HTTP API with TLS verification for Shiprocket requests.<\/p>\n\n<p>The plugin does not expose the Shiprocket password or bearer token to the browser.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce.<\/li>\n<li>Upload and activate Gravity9 Studios Shipping Rules for Shiprocket.<\/li>\n<li>Go to WooCommerce &gt; Gravity9 Studios Shipping Rules for Shiprocket.<\/li>\n<li>Enter a Shiprocket API user email and password, or define GRAVITY9_STUDIOS_SHIPPING_RULES_FOR_SHIPROCKET_API_EMAIL and GRAVITY9_STUDIOS_SHIPPING_RULES_FOR_SHIPROCKET_API_PASSWORD in wp-config.php.<\/li>\n<li>Set the Shiprocket pickup PIN.<\/li>\n<li>Set the threshold and customer-facing charges.<\/li>\n<li>Add Gravity9 Studios Shipping Rules for Shiprocket to the appropriate WooCommerce shipping zone.<\/li>\n<li>Disable competing shipping methods in that zone if they should not be offered.<\/li>\n<li>If the official Shiprocket plugin is installed, turn off its RealTime Rates feature so its product-page PIN checker does not compete with this plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20happens%20if%20shiprocket%20cannot%20service%20a%20pin%3F\"><h3>What happens if Shiprocket cannot service a PIN?<\/h3><\/dt>\n<dd><p>Checkout is not blocked. The plugin uses the configured fallback shipping charge, which is Free Shipping by default.<\/p><\/dd>\n<dt id=\"does%20the%20customer%20pay%20shiprocket%27s%20actual%20rate%3F\"><h3>Does the customer pay Shiprocket's actual rate?<\/h3><\/dt>\n<dd><p>No. The live rate is only used to decide which customer-facing charge applies.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20create%20a%20shipment%3F\"><h3>Does the plugin create a shipment?<\/h3><\/dt>\n<dd><p>No. Shipment creation, AWB generation, pickup scheduling, and courier assignment remain manual.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20%E2%82%B9200%20threshold%3F\"><h3>Can I change the \u20b9200 threshold?<\/h3><\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt id=\"can%20i%20use%20this%20on%20other%20woocommerce%20sites%3F\"><h3>Can I use this on other WooCommerce sites?<\/h3><\/dt>\n<dd><p>Yes. It is not tied to any specific store, products, SKUs, collections, tags, images, or domain.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Tightened admin-context safeguards, token caching, and failure fallback handling.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial stable release.<\/li>\n<\/ul>","raw_excerpt":"A third-party WooCommerce add-on by gravity9studios that uses a live Shiprocket courier rate to choose a simple customer-facing shipping charge.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/365059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=365059"}],"author":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gravity9studios"}],"wp:attachment":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=365059"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=365059"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=365059"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=365059"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=365059"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=365059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}