WooSync - Module Đồng Bộ Đơn Hàng, Khách Hàng & Hóa Đơn WooCommerce Cho Perfex CRM
461.94 msModule trung tâm đồng bộ hai chiều thời gian thực giữa các gian hàng WooCommerce và Perfex CRM.
WooSync (woosync) là module Trung Tâm Đồng Bộ WooCommerce ↔ Perfex CRM cấp doanh nghiệp. Module thiết lập cơ chế đồng bộ hai chiều theo thời gian thực giữa các gian hàng WooCommerce và Perfex CRM trên kiến trúc Ưu tiên Webhook + Dự phòng Cron Job.
Module tự động đồng bộ Sản Phẩm (đơn giản, biến thể, nhóm, liên kết ngoài), Danh Mục Sản Phẩm (cây phân cấp), Thẻ Tag, Thuộc Tính, Đơn Hàng, Khách Hàng, Hoàn Tiền, Mã Giảm Giá và Thuế. Tự động chuyển đổi đơn hàng WooCommerce thành Khách Hàng & Hóa Đơn trên Perfex CRM, hỗ trợ Reverse Sync (tự động cập nhật trạng thái đơn hàng WooCommerce khi Hóa Đơn Perfex được thanh toán), hỗ trợ High-Performance Order Storage (HPOS), quy đổi đa tiền tệ và quản lý đa cửa hàng.
Tài Liệu Hướng Dẫn & Bài Viết Liên Quan
- Hướng Dẫn Cài Đặt & Sử Dụng WooSync - Hướng dẫn từng bước cài đặt module, tạo API key WooCommerce và cấu hình Webhook.
- Hướng Dẫn Cấu Hình WooSync Toàn Diện - Hướng dẫn thiết lập toàn diện kết nối đa gian hàng, ánh xạ trường dữ liệu, cơ chế reverse sync và lượt đồng bộ đầu tiên.
Các Phân Hệ Tính Năng Cốt Lõi
1. Kiến Trúc Ưu Tiên Webhook + Dự Phòng Cron Job
- Lắng Nghe Webhook Thời Gian Thực: Xử lý sự kiện tức thì khi WooCommerce gửi Webhook kèm cơ chế xác thực chữ ký HMAC-SHA256 chống tấn công timing (
hash_equals()). - Cron Delta Sync Dự Phòng: Chạy ngầm theo lịch đặt sẵn để rà soát các cập nhật bị sót do nghẽn mạng, đảm bảo không mất dữ liệu.
2. Quản Lý Đa Cửa Hàng WooCommerce (Multi-Store)
- Kết Nối Không Giới Hạn Gian Hàng: Quản lý nhiều website WooCommerce từ một bảng điều khiển trung tâm trên Perfex CRM.
- Mã Hóa API Key An Toàn: Lưu trữ Consumer Key và Consumer Secret bằng thuật toán mã hóa OpenSSL AES-256-CBC.
3. Tự Động Chuyển Đổi Đơn Hàng WooCommerce Thành Hóa Đơn Perfex & HPOS
- Khởi Tạo Khách Hàng & Hóa Đơn Tự Động: Chuyển đổi đơn hàng WooCommerce thành hồ sơ Khách Hàng và Hóa Đơn trên Perfex CRM.
- Hỗ Trợ HPOS (High-Performance Order Storage): Tương thích hoàn toàn với bảng lưu trữ đơn hàng hiệu năng cao của WooCommerce.
- Đa Tiền Tệ & Phí Giao Hàng: Quy đổi tiền tệ cửa hàng sang Perfex CRM, tự động tính phí vận chuyển và thuế.
4. Cơ Chế Reverse Sync (Thanh Toán Hóa Đơn Perfex → Trạng Thái Đơn WooCommerce)
- Tự Động Cập Nhật Trạng Thái: Khi Hóa Đơn trên Perfex CRM được đánh dấu Đã Thanh Toán, hệ thống tự động cập nhật trạng thái đơn hàng tương ứng trên WooCommerce (ví dụ: Đang xử lý → Hoàn thành).
5. Đồng Bộ Cây Danh Mục, Sản Phẩm, Tag & Thuộc Tính
- Hỗ Trợ Tất Cả Loại Sản Phẩm: Đồng bộ hai chiều cho sản phẩm Đơn giản, Biến thể, Nhóm và Sản phẩm liên kết ngoài.
- Cây Phân Cấp Danh Mục: Đồng bộ danh mục sản phẩm đa cấp, thẻ tag và thuộc tính tùy chỉnh.
6. Đồng Bộ Khách Hàng & Tự Động Ghép Hồ Sơ
- Khởi Tạo & Ghép Khách Hàng: Đồng bộ khách hàng WooCommerce vào danh bạ Perfex CRM kèm cơ chế gộp trùng email tự động.
- Lưu Trữ Địa Chỉ Giao / Thanh Toán: Đồng bộ địa chỉ giao hàng và địa chỉ hóa đơn chi tiết.
7. Đồng Bộ Mã Giảm Giá, Hoàn Tiền & Phiếu Báo Có (Credit Note)
- Đồng Bộ Hoàn Tiền & Credit Note: Tạo Phiếu Báo Có (Credit Note) trên Perfex CRM tương ứng khi đơn hàng WooCommerce được hoàn tiền.
- Khấu Trừ Mã Giảm Giá: Tự động tính toán mã giảm giá và coupon khuyến mãi vào hóa đơn.
8. Nhật Ký Đồng Bộ & Quản Lý Hàng Đợi (Queue Logs)
- Lưu Trữ Audit Logs Chi Tiết: Ghi chép chi tiết payload API, mã trạng thái HTTP, mốc thời gian và vết lỗi traceback.
Kiến Trúc Hệ Thống & Luồng Quy Trình Đồng Bộ WooSync
graph TD
subgraph WooCommerce Store ["WooCommerce Store (E-Commerce Platform)"]
WC_Order["Order Placed / Updated"]
WC_Customer["Customer Registered"]
WC_Product["Product / Category Created"]
WC_Refund["Order Refund Triggered"]
WC_HPOS["HPOS (High-Performance Order Storage)"]
end
subgraph SyncEngine ["WooSync Synchronization Hub Engine"]
WH_Receiver["Inbound Webhook Receiver<br/>(HMAC-SHA256 Signature Verification)"]
Cron_Runner["Cron Delta Sync Fallback<br/>(Scheduled Polling Runner)"]
Queue_Log["Queue & Audit Logger<br/>(Payload Tracking & Retries)"]
AES_Enc["AES-256-CBC Encrypted Store API Keys"]
end
subgraph PerfexCRM ["Perfex CRM (Enterprise Platform)"]
CRM_Client["Clients & Contacts Database"]
CRM_Invoice["Invoices & Line Items"]
CRM_Item["Products, Categories & Attributes"]
CRM_Credit["Credit Notes & Refund Records"]
CRM_Payment["Invoice Paid Status Event"]
end
WC_Order -->|Real-time Inbound Webhook| WH_Receiver
WC_Customer -->|Real-time Inbound Webhook| WH_Receiver
WC_Product -->|Real-time Inbound Webhook| WH_Receiver
WC_Refund -->|Real-time Inbound Webhook| WH_Receiver
WC_HPOS -.->|Scheduled Delta Poll| Cron_Runner
WH_Receiver --> Queue_Log
Cron_Runner --> Queue_Log
Queue_Log -->|Auto-Create / Link Contact| CRM_Client
Queue_Log -->|Auto-Generate Invoice| CRM_Invoice
Queue_Log -->|Hierarchical Catalog Sync| CRM_Item
Queue_Log -->|Generate Credit Note| CRM_Credit
CRM_Payment -->|Reverse Sync Engine| WC_Order
Quy Trình Reverse Sync Engine
graph TD
A["Perfex CRM Invoice Marked Paid"] --> B["Woosync_reverse_sync Engine Triggered"]
B --> C{"Check Status Mapping Configuration"}
C --> D["Resolve WooCommerce Store ID & Order ID"]
D --> E["Decrypt API Secret Key via OpenSSL AES-256-CBC"]
E --> F["Initialize WooCommerce REST API Client (wc/v3)"]
F --> G["Send PUT Request to /wp-json/wc/v3/orders/{id}"]
G --> H{"HTTP Response 200 OK?"}
H -->|"Success"| I["Update Store Order Status (Processing -> Completed)"]
H -->|"Failure"| J["Log Status Exception & Enqueue into Retry Queue"]
Chuyển Đổi Đơn Hàng Thành Hóa Đơn & Ánh Xạ HPOS
graph TD
A["New Order Placed on WooCommerce Store (HPOS Order)"] --> B["Inbound Webhook order.created Listener"]
B --> C["Verify HMAC-SHA256 Signature Secret"]
C --> D{"Customer Email Exists in Perfex CRM?"}
D -->|"No"| E["Auto-Create New Client Profile & Contact"]
D -->|"Yes"| F["Link Order to Existing Client Profile"]
E --> G["Map Billing & Shipping Location Addresses"]
F --> G
G --> H["Convert Store Currency & Sales Tax"]
H --> I["Auto-Generate Perfex CRM Invoice (Unpaid)"]
I --> J["Record Item Lines, Shipping Fee & Coupon Adjustments"]
Kết Nối Đa Cửa Hàng & Bảo Mật OpenSSL AES-256
graph TD
A["Admin Adds New WooCommerce Store"] --> B["Input Store URL, Consumer Key, Consumer Secret & Webhook Secret"]
B --> C["Encrypt Credentials using OpenSSL AES-256-CBC"]
C --> D["Persist Record in woosync_stores Table"]
D --> E["Auto-Register Inbound Webhook Endpoints"]
E --> F["Test Connection via WooCommerce REST Client v3"]
F --> G{"Connection Status 200 OK?"}
G -->|"Success"| H["Activate Store Status & Start Real-Time Sync"]
G -->|"Failure"| I["Log Alert Error & Display Credential Warnings"]
For products sold outside the site - for example, polyxgo on Envato (CodeCanyon.net) - we are the exclusive authors under Envato’s platform. These products can only be sold and supported on Envato. Therefore, you cannot purchase them elsewhere if you wish to receive our official support and updates.
Even if your support period has ended, we will still answer your current technical questions related to the module. However, for any requests that involve bug fixing, troubleshooting, integration, or hands-on assistance, you will need to renew your support first. We hope you understand this requirement. More details: https://help.market.envato.com/hc/en-us/articles/208191263-What-is-Item-Support
Yes. We handle feature integration based on customer requirements and descriptions. If a module has the features you need, you can send a separate request to polyxgo@gmail.com
You can download the product through the purchase receipt or your account dashboard right after you log in at https://headrandom.com/account/login. Installation steps are included in the documentation folder.
For products on Envato (Codecanyon) access the Download section after you log in.
Yes, we provide basic installation and setup support for all purchased products.
Usage depends on the license type. Standard licenses typically allow one installation per purchase.
Updates are delivered through your account dashboard or marketplace where you purchased the product.
Please send us details, screenshots, and steps to reproduce the issue so our support team can assist you. You can create tickets on the system or email polyxgo@gmail.com.
Support duration follows the policy of the marketplace or package you purchased, typically 6–12 months.
Yes, all products include documentation to help you install and use the features. The data is connected to the system for each corresponding product project, and the documentation always provides the latest feature information and instructions from the project.
Yes, we offer custom development based on your requirements. For products sold exclusively and features already available on products listed on Envato, we integrate the additional features and update them through Envato. Only completely different features that require separate handling based on specific business workflows will be processed as a standalone service according to your detailed requirements.
Yes, we provide a live demo so you can test features before purchasing.
You can renew support through your marketplace account or by contacting us directly.
What We're Working On
No feature updates scheduled currently.
Recent Releases
Looking for full roadmap, documentation, or interactive release logs?
Explore Our Project PortalNon-profit organizations, charities, and community initiatives supporting elderly people, children, people with disabilities, and other vulnerable groups are always welcome to reach out to us.
If your organization uses Perfex CRM and requires any of our modules, plugins, or related products, we will gladly provide assistance with installation, customization, training, and long-term operation.
As part of our commitment to supporting meaningful social impact projects, we offer lifetime free support for all products used by eligible non-profit organizations. Our goal is to help you streamline operations, reduce technology costs, and focus more resources on serving your community.
For inquiries and support, please contact us at polyxgo@gmail.com. We will do our best to assist your organization as quickly as possible.
Average Rating
Based on 0 ratings
Ratings Source Breakdown
Loading reviews...
Sản phẩm liên quan
Khám phá thêm các sản phẩm cùng chuyên mục
Available Promotions & Coupons
Applicable to this product & store
20% OFF your first purchase
Want to see all active discount deals? View All Coupons →