WP Manifestindependent plugin directory
manifest / ecommerce / fardar-tracking-bitlab

Fardar Tracking by BitLab for WooCommerce WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

★ 0stars
13release downloads
v2.2.0latest · 2mo ago

Install

Download fardar-tracking-bitlab-2.2.0.zip From the v2.2.0 release on GitHub, Aug 23, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/chavindu/fardar-tracking-bitlab/releases/download/v2.2.0/fardar-tracking-bitlab-2.2.0.zip
Updates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.

A secure, AJAX-powered WordPress plugin that enables FDE Domestic courier tracking via shortcode and direct URL. Integrates seamlessly with WooCommerce Shipment Tracking plugin with enterprise-level security measures and full High-Performance Order Storage (HPOS) compatibility.

📋 Description

Fardar Tracking by BitLab for WooCommerce provides secure, AJAX-powered shipment tracking using the FDE Domestic courier service. This plugin offers a clean, user-friendly interface for customers to track their shipments directly on your WordPress website with enterprise-level security measures.

✨ Features

  • AJAX-Powered Tracking: Fast, responsive tracking without page reloads
  • WooCommerce HPOS Compatible: Declares compatibility with High-Performance Order Storage (custom_order_tables) and Cart/Checkout Blocks
  • Enhanced Security: Spoof-proof rate limiting, unslashed input sanitization, and KSES HTML protection
  • WooCommerce Integration: Seamless integration with WooCommerce Shipment Tracking
  • Bootstrap UI: Modern, responsive design using Bootstrap 5.3.3
  • Direct URL Support: Share tracking links directly with customers
  • Admin Settings: Easy configuration through WordPress admin panel
  • GPL Licensed: Open source and follows WordPress.org standards

🔒 Security Features

  • Rate Limiting: Server-validated IP rate limiting (10 requests per minute per IP) to prevent abuse and header spoofing
  • Input Validation: Strict alphanumeric validation for tracking numbers (/^[A-Za-z0-9]{3,20}$/)
  • Nonce Verification: All AJAX requests are protected with WordPress nonces
  • Secure API Handling: Timeout protection, redirection limits, and SSL verification for external requests
  • Content Sanitization: Strict KSES whitelist filtering for response markup
  • Proper Escaping: All outputs are properly escaped to prevent injection attacks
  • Clean Uninstallation: Dedicated uninstall.php lifecycle script for database cleanup

🚀 Installation

Method 1: Manual Installation

  1. Download the plugin files
  2. Upload the fardar-tracking-bitlab folder to your /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress

Method 2: WordPress.org (Future)

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for "Fardar Tracking by BitLab"
  3. Click "Install Now" and then "Activate"

⚙️ Configuration

  1. Go to Settings > Fardar Tracking in your WordPress admin
  2. Headless Setup: If running a headless frontend (e.g. Next.js / Astro on https://www.drivemods.lk), enter your frontend tracking URL (e.g. https://www.drivemods.lk/track-order) in the Headless / Custom Tracking URL field.
  3. Monolith Setup: Select a WordPress page from the WordPress Tracking Page dropdown.
  4. Save your settings.

📖 Usage

Shortcode Method

Add the shortcode to any page, post, or block:

[bitlab_fardar_tracking]

Direct URL Method

Create direct tracking links using the format:

https://yourdomain.com/track-order?tracking_number=IND123456

(Also supports ?trackingno=IND123456 for backwards compatibility)

WooCommerce Integration

The plugin automatically registers "Fardar" as a tracking provider in the WooCommerce Shipment Tracking plugin.

🎨 Customization

The plugin uses Bootstrap 5.3.3 for styling. You can customize the appearance by:

  1. Adding custom CSS to your theme
  2. Overriding Bootstrap classes
  3. Modifying the plugin's CSS file at assets/css/bootstrap.min.css

🔧 Requirements

  • WordPress: 5.8 or higher (Tested up to 6.7)
  • PHP: 7.4 or higher
  • WooCommerce: 6.0+ (Tested up to 9.6, HPOS compatible)
  • WooCommerce Shipment Tracking: (optional, for enhanced integration)

📱 Screenshots

  1. Admin Settings Page: Configure tracking page and view security features documentation
  2. AJAX Tracking Form: Clean Bootstrap-based UI for tracking input
  3. Direct Tracking Page: Example of tracking results display
  4. WooCommerce Integration: Seamless integration with WooCommerce Shipment Tracking

🔒 Security Implementation

The plugin implements multiple security layers:

Rate Limiting

  • Uses WordPress transients to track requests per IP
  • Limits to 10 requests per minute per IP address
  • Automatically cleans up expired rate limit data
  • Immune to X-Forwarded-For / Client-IP header spoofing

Input Validation

  • Strict regex validation for tracking numbers (/^[A-Za-z0-9]{3,20}$/)
  • Server-side and client-side validation
  • Superglobals unslashed and sanitized using sanitize_text_field( wp_unslash( ... ) )

AJAX Security

  • Nonce verification for all AJAX requests
  • Proper error handling and user feedback
  • Timeout protection (15 seconds) for external API calls

Content Sanitization

  • Whitelist approach for allowed HTML tags via wp_kses()
  • Strips unauthorized tags and JavaScript event handlers automatically
  • Safe rendering of courier status tables

External API Security

  • SSL verification enabled
  • Proper user agent identification
  • Timeout protection
  • Error handling for failed requests

🤝 Support

For support and questions:

  • Website: bitlab.lk
  • Email: Contact through the website
  • Documentation: Check the plugin's admin settings page for usage instructions

📝 Changelog

Version 2.1.0

  • WooCommerce HPOS Support: Full compatibility declaration for High-Performance Order Storage (custom_order_tables) and Cart/Checkout Blocks
  • Hardened Rate Limiting: Fixed IP spoofing vulnerability in rate limit checks
  • Shortcode Optimization: Prevented false rate-limiting on page load
  • HTML Sanitization: Upgraded wp_kses configuration for robust courier table formatting
  • Dedicated Uninstaller: Added uninstall.php for clean option and transient removal
  • UI Enhancements: Added accessible inline SVG icons for error states

Version 2.0.0

  • Complete security overhaul with AJAX implementation
  • Rate limiting (10 requests per minute per IP)
  • Enhanced input validation and sanitization
  • Nonce verification for all requests
  • Secure external API handling with timeout protection
  • Content sanitization and XSS protection
  • Improved error handling and user feedback
  • Bootstrap 5.3.3 integration
  • WordPress 5.0+ compatibility
  • PHP 7.4+ requirement for enhanced security
  • Internationalization support with text domain loading
  • Proper plugin hooks (activation, deactivation, uninstall)
  • Conditional script loading for better performance

Version 1.1.1

  • WooCommerce Shipment Tracking integration
  • Bootstrap styling added to frontend form
  • Enhanced admin instructions and security
  • Dynamic tracking page URL based on admin selection

Version 1.1.0

  • Added WooCommerce Shipment Tracking integration
  • Dynamic tracking page URL based on admin selection
  • Improved admin instructions and security
  • Bootstrap styling added to frontend form
  • Stable release for WordPress.org submission

Version 1.0.0

  • Initial release with shortcode and tracking functionality

📄 License

This plugin is licensed under the GPL v2 or later.

Copyright (C) 2024 BitLab (Pvt) Ltd

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

👨‍💻 Development

File Structure

fardar-tracking-bitlab/
├── assets/
│   ├── css/
│   │   └── bootstrap.min.css
│   └── js/
│       └── tracking.js
├── languages/
├── fardar-tracking-bitlab.php
├── uninstall.php
├── readme.txt
├── README.md
└── .gitignore

WordPress.org Compliance

This plugin follows WordPress.org plugin guidelines:

  • ✅ Proper plugin headers (WP 5.8-6.7+, WC 6.0-9.6+)
  • ✅ WooCommerce HPOS compatibility declared
  • ✅ Security best practices (unslashed inputs, nonce checks, capability checks)
  • ✅ Input validation and sanitization
  • ✅ Proper escaping of outputs
  • ✅ Rate limiting
  • ✅ GPL compatible license
  • ✅ Proper file structure & uninstall.php
  • ✅ Internationalization support
  • ✅ Activation/deactivation hooks

🙏 Credits


Built with ❤️ by BitLab (Pvt) Ltd

For more information, visit bitlab.lk

Releases

4 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v2.2.0 latest
Aug 23, 2026 2mo ago
fardar-tracking-bitlab-2.2.0.zip
4
Aug 20, 2026 2mo ago
fardar-tracking-bitlab-2.1.0.zip
2
Jun 22, 2025 1 year ago
fardar-tracking-bitlab-2.0.0.zip
7
Jun 22, 2025 1 year ago
fardar-tracking-bitlab-v1.1.1.zip
0
A grade

Security

Fardar Tracking by BitLab for WooCommerce 2.2.0 · audited by WP Registry

No security issues found.

Audited release
2.2.0
Findings
none
Worst severity
—
Content hash
8c5a7887ec1156a9e667badb…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.