Description
Huwiya connects your WooCommerce store to Huwiya ERP for order sync, product updates, and inventory management.
Features
- Order webhooks on create and update
- Historical orders sync
- REST API for products (list, create, update)
- Admin page to verify and save your API key
Requirements
- WooCommerce 8.0 or later
- PHP 8.0 or later
- A Huwiya account and API key
External services
This plugin connects your WooCommerce store to Huwiya ERP, a third-party business management service. Outbound requests are sent to Huwiya-hosted endpoints (Supabase Edge Functions). No data is sent until a store administrator explicitly agrees to the Terms of Service and Privacy Policy and verifies an API key.
Service: Huwiya ERP (https://huwiya.sa)
What is sent and when:
- API key verification — When you click « Verify & Save » on the Verification page (after consent): store domain, site URL, site name, admin email, WooCommerce store ID, WooCommerce/WordPress versions, currency, timezone, and plugin version.
- Store activation — Once, after the first successful API key verification: the same store metadata.
- Order create/update — When a WooCommerce order is created or meaningfully updated (only after the store is connected): order details, customer billing/shipping, line items, totals, and payment/shipping status.
- Historical orders — When you start a sync from Huwiya Historical Orders: batches of orders within the date range you select.
- Store deactivation — When the plugin is deactivated, only if the store was previously connected: store metadata.
Inbound requests: Huwiya ERP may call your site’s REST API (products, orders) after you connect the store. Those requests are initiated by your ERP account, not by background tracking.
Legal:
- Terms of Service: https://huwiya.sa/ar/terms
- Privacy Policy: https://huwiya.sa/ar/privacy
- FAQs: https://huwiya.sa/ar/faqs
Installation
- Upload the plugin files to
/wp-content/plugins/huwiya, or install through the WordPress plugins screen. - Activate the plugin through the Plugins screen.
- Ensure WooCommerce is installed and active.
- Go to Huwiya Verification, accept the Terms and Privacy Policy, and enter your API key from Huwiya ERP.
- Optional: use Huwiya Historical Orders to sync past orders by date range.
FAQ
-
Does this plugin work without WooCommerce?
-
No. WooCommerce must be installed and active.
-
Where do I get an API key?
-
In Huwiya ERP: System Settings Developer & Automation Developer Settings.
-
Is any data sent when I only activate the plugin?
-
No. Outbound data is sent only after you accept the Terms and Privacy Policy and verify your API key on the Verification page.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Huwiya” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Huwiya” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.8
- Opt-in consent before connecting to Huwiya ERP; no outbound calls on plugin activation alone.
- Deactivation webhook only when the store was previously connected.
- Documented external services in readme; upgraded firebase/php-jwt to 7.x; PHP 8.0 minimum.
1.0.7
- WordPress Plugin Check compliance: wp_parse_url, sanitized server vars, admin form rendering.
1.0.6
- Main plugin file restored as huwiya.php; legacy huwiya-woocommerce.php loader kept for compatibility.
- Release zip now mirrors manual folder packaging.
1.0.5
- Release zip layout fixed to match folder
huwiya/huwiya-woocommerce.php.
1.0.4
- Fix WordPress install path: main file is now huwiya-woocommerce.php (fixes activation error).
1.0.3
- Updated plugin configuration for historical orders webhook URL.
1.0.2
- Historical orders: admin sync via webhook batches and GET
/orders/historicalREST endpoint.
1.0.1
- Initial public release.