{"id":402830,"date":"2026-11-30T05:23:51","date_gmt":"2026-11-30T05:23:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hesabshop-accounting-inventory-sync-for-woocommerce\/"},"modified":"2026-11-30T05:40:49","modified_gmt":"2026-11-30T05:40:49","slug":"hesabshop-connector","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/hesabshop-connector\/","author":23603458,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.3.0","stable_tag":"2.3.0","tested":"7.1.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"HesabShop \u2013 Accounting & Inventory Sync for WooCommerce","header_author":"HesabShop","header_description":"Connects a WooCommerce store to HesabShop accounting. Orders, refunds, products and stock changes are queued and delivered over a signed HTTPS API, so invoices and stock stay in step without retyping.","last_updated":"2026-11-30 05:40:49","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/hesabshop.com\/wordpress-plugin","header_author_uri":"https:\/\/hesabshop.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":40,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.3.0":{"tag":"2.3.0","author":"nourazar","date":"2026-11-30 05:40:49","revision":3834248}},"upgrade_notice":{"2.3.0":"<p>Security hardening (HTTPS on every request, prepared queries, escaped output) and compatibility with WordPress 7.1 and WooCommerce 11.2. Requires WordPress 6.2 or later.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3834213,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3834213,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":3834213,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3834213,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":3834213,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3834213,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3834213,"resolution":"1","location":"assets","locale":"","width":1440,"height":930},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3834213,"resolution":"2","location":"assets","locale":"","width":1440,"height":1100},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3834213,"resolution":"3","location":"assets","locale":"","width":1440,"height":880},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3834213,"resolution":"4","location":"assets","locale":"","width":1440,"height":820},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3834213,"resolution":"5","location":"assets","locale":"","width":1440,"height":520}},"screenshots":{"1":"Connection &amp; status page: HesabShop address, keys, connection check and queue health.","2":"Settings bridge page: payment gateways, order statuses, shipping, tax and inventory, each with what HesabShop has done with it.","3":"HesabShop accounting status box on an order: journal and invoice number, date, amount and a send-again button.","4":"HesabShop stock column in the WooCommerce products list, beside WooCommerce's own stock.","5":"The \"accounting entry\" column in the WooCommerce orders list."}},"plugin_section":[],"plugin_tags":[2526,6601,12480,171167,286],"plugin_category":[45],"plugin_contributors":[296460],"plugin_business_model":[],"class_list":["post-402830","plugin","type-plugin","status-publish","hentry","plugin_tags-accounting","plugin_tags-inventory","plugin_tags-invoice","plugin_tags-stock-sync","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-nourazar","plugin_committers-nourazar"],"banners":{"banner":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/banner-772x250.png?rev=3834213","banner_2x":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/banner-1544x500.png?rev=3834213","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/icon-128x128.png?rev=3834213","icon_2x":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/icon-256x256.png?rev=3834213","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/screenshot-1.png?rev=3834213","caption":"Connection &amp; status page: HesabShop address, keys, connection check and queue health."},{"src":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/screenshot-2.png?rev=3834213","caption":"Settings bridge page: payment gateways, order statuses, shipping, tax and inventory, each with what HesabShop has done with it."},{"src":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/screenshot-3.png?rev=3834213","caption":"HesabShop accounting status box on an order: journal and invoice number, date, amount and a send-again button."},{"src":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/screenshot-4.png?rev=3834213","caption":"HesabShop stock column in the WooCommerce products list, beside WooCommerce's own stock."},{"src":"https:\/\/ps.w.org\/hesabshop-connector\/assets\/screenshot-5.png?rev=3834213","caption":"The \"accounting entry\" column in the WooCommerce orders list."}],"raw_content":"<!--section=description-->\n<p>Every online shop that keeps proper books knows the routine: an order comes in on the site, and someone types it again into the accounting software. Refunds get missed, a payment gateway lands in the wrong account, and the stock the site shows drifts away from what is really on the shelf until a customer buys something you no longer have.<\/p>\n\n<p>HesabShop Connector links your WooCommerce store to <a href=\"https:\/\/hesabshop.com\">HesabShop<\/a>, an online accounting and inventory service for shops. Once connected, orders and refunds reach your books without retyping, and the stock your warehouse holds is written back to the site.<\/p>\n\n<h4>What it does<\/h4>\n\n<ul>\n<li><strong>Orders become invoices.<\/strong> New orders, order updates, status changes and refunds are sent to HesabShop, which records the invoice and its double-entry journal entry for you.<\/li>\n<li><strong>Stock stays in step.<\/strong> HesabShop writes product stock to WooCommerce from your warehouse records (you choose the stock sync direction in HesabShop). Price and order-status updates are also available; they are off by default and you turn them on in HesabShop.<\/li>\n<li><strong>See the accounting result on every order.<\/strong> A \"HesabShop\" box on the order screen shows whether the order was recorded, the journal and invoice numbers, date, amount, and the exact error if it failed, with a \"send again\" button. The orders list gets an \"accounting entry\" column.<\/li>\n<li><strong>See HesabShop stock beside WooCommerce stock.<\/strong> A column in the products list and a line in each product's Inventory tab show the quantity HesabShop holds. A product that is not linked shows \"\u2014\", never a misleading \"0\".<\/li>\n<li><strong>Settings bridge.<\/strong> The plugin reads your payment gateways, order statuses (including ones added by other plugins), shipping methods and costs, tax rates and settings, inventory settings and currency, and sends them to HesabShop so you pick from a list instead of typing codes. The same page shows, row by row, what HesabShop has done with each one, for example a gateway that is not yet linked to a bank account.<\/li>\n<li><strong>A \"Recorded in accounting\" order status<\/strong> that HesabShop can set once an order's invoice is final (off by default; WooCommerce sends no customer email for it).<\/li>\n<li><strong>Built not to slow your shop.<\/strong> Store events only write one row into a local queue table. Delivery happens in the background through Action Scheduler (WP-Cron when Action Scheduler is not available), never during checkout.<\/li>\n<li><strong>Nothing is lost when the connection drops.<\/strong> Failed deliveries are retried automatically with growing delays; after five attempts they are kept aside, and one click on \"Resend failed jobs\" queues them again. Every request carries an idempotency key, so a retry never creates a duplicate invoice.<\/li>\n<li><strong>Secure by design.<\/strong> HTTPS is required. Each request is signed with HMAC-SHA256 and carries a timestamp and nonce. The API secret is never shown in full and never written to logs. The plugin never connects to the accounting database directly and never modifies WooCommerce core.<\/li>\n<li><strong>HPOS compatible.<\/strong> Declared compatible with WooCommerce High-Performance Order Storage and the Cart and Checkout blocks.<\/li>\n<\/ul>\n\n<h4>Who it is for<\/h4>\n\n<p>Iranian shops that sell on WooCommerce and keep their books in HesabShop, often alongside a physical shop with the same stock. The plugin's admin screens are in Persian and right-to-left, and dates on the order box are Jalali.<\/p>\n\n<p>What HesabShop itself gives the shop once orders arrive (see <a href=\"https:\/\/hesabshop.com\">hesabshop.com<\/a>):<\/p>\n\n<ul>\n<li>Each colour\/size variation is its own item with its own stock, and stock can be held in several warehouses.<\/li>\n<li>Cost of goods by FIFO or weighted average, so profit per item is visible.<\/li>\n<li>Amounts are kept in Rial and shown in Rial or Toman.<\/li>\n<li>A live demo without signing up: <a href=\"https:\/\/hesabshop.com\/demo\">hesabshop.com\/demo<\/a><\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WooCommerce 7.0 or later.<\/li>\n<li>A HesabShop account on a plan that includes an online-store connection. See <a href=\"https:\/\/hesabshop.com\/pricing\">pricing<\/a>.<\/li>\n<li>A WooCommerce REST API key, which you create in WooCommerce and enter in HesabShop (HesabShop uses it to read full orders and to write stock).<\/li>\n<\/ul>\n\n<h4>\u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0628\u0631\u0627\u06cc \u0641\u0631\u0648\u0634\u06af\u0627\u0647 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633\u06cc \u0634\u0645\u0627<\/h4>\n\n<p>\u0627\u06af\u0631 \u0633\u0641\u0627\u0631\u0634\u200c\u0647\u0627\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627 \u06cc\u06a9\u06cc\u200c\u06cc\u06a9\u06cc \u062f\u0631 \u062d\u0633\u0627\u0628\u062f\u0627\u0631\u06cc \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0627\u06cc\u0646 \u0627\u0641\u0632\u0648\u0646\u0647 \u06a9\u0627\u0631\u062a\u0627\u0646 \u0631\u0627 \u0633\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u0641\u0632\u0648\u0646\u0647 \u0647\u0631 \u0633\u0641\u0627\u0631\u0634 \u0631\u0627 \u0627\u0632 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0628\u0647 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0645\u06cc\u200c\u0641\u0631\u0633\u062a\u062f \u0648 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u062e\u0648\u062f\u0634 \u0641\u0627\u06a9\u062a\u0648\u0631 \u0641\u0631\u0648\u0634 \u0648 \u0633\u0646\u062f \u062d\u0633\u0627\u0628\u062f\u0627\u0631\u06cc \u0631\u0627 \u062b\u0628\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n<h4>\u0627\u0641\u0632\u0648\u0646\u0647 \u0686\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/h4>\n\n<ul>\n<li>\u0627\u06af\u0631 \u0648\u0636\u0639\u06cc\u062a \u0633\u0641\u0627\u0631\u0634\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0646\u062f \u06cc\u0627 \u067e\u0648\u0644\u06cc \u0628\u0647 \u0645\u0634\u062a\u0631\u06cc \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u06cc\u062f\u060c \u0627\u0641\u0632\u0648\u0646\u0647 \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0647\u0645 \u0628\u0647 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0645\u06cc\u200c\u0641\u0631\u0633\u062a\u062f.<\/li>\n<li>\u0627\u0641\u0632\u0648\u0646\u0647 \u0645\u0648\u062c\u0648\u062f\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0645\u0648\u062c\u0648\u062f\u06cc \u0627\u0646\u0628\u0627\u0631 \u0628\u0647\u200c\u0631\u0648\u0632 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0647\u0631 \u062a\u0631\u06a9\u06cc\u0628 \u0631\u0646\u06af \u0648 \u0633\u0627\u06cc\u0632 \u06cc\u06a9 \u062c\u0646\u0633\u060c \u0645\u0648\u062c\u0648\u062f\u06cc \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062f\u0627\u0631\u062f. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0646\u062f \u0627\u0646\u0628\u0627\u0631 \u0647\u0645 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/li>\n<li>\u0627\u0631\u0633\u0627\u0644 \u0642\u06cc\u0645\u062a \u0648 \u0648\u0636\u0639\u06cc\u062a \u0633\u0641\u0627\u0631\u0634 \u0627\u0632 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0628\u0647 \u0633\u0627\u06cc\u062a \u0628\u0647\u200c\u0637\u0648\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0627\u0633\u062a. \u0627\u06af\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u062f\u0631 \u0635\u0641\u062d\u0647\u0654 \u0647\u0631 \u0633\u0641\u0627\u0631\u0634\u060c \u06a9\u0627\u062f\u0631 \u00ab\u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e\u00bb \u0648\u0636\u0639\u06cc\u062a \u062b\u0628\u062a \u0633\u0641\u0627\u0631\u0634\u060c \u0634\u0645\u0627\u0631\u0647 \u0633\u0646\u062f\u060c \u0634\u0645\u0627\u0631\u0647 \u0641\u0627\u06a9\u062a\u0648\u0631\u060c \u062a\u0627\u0631\u06cc\u062e \u0648 \u0645\u0628\u0644\u063a \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0627\u06af\u0631 \u062b\u0628\u062a \u0633\u0641\u0627\u0631\u0634 \u062f\u0631 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0646\u0627\u0645\u0648\u0641\u0642 \u0628\u0627\u0634\u062f\u060c \u0645\u062a\u0646 \u062e\u0637\u0627 \u0648 \u062f\u06a9\u0645\u0647\u0654 \u00ab\u0627\u0631\u0633\u0627\u0644 \u062f\u0648\u0628\u0627\u0631\u0647\u00bb \u0631\u0627 \u062f\u0631 \u0647\u0645\u06cc\u0646 \u06a9\u0627\u062f\u0631 \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f.<\/li>\n<li>\u062f\u0631 \u0641\u0647\u0631\u0633\u062a \u0645\u062d\u0635\u0648\u0644\u0627\u062a\u060c \u0633\u062a\u0648\u0646 \u00ab\u0645\u0648\u062c\u0648\u062f\u06cc \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e\u00bb \u06a9\u0646\u0627\u0631 \u0633\u062a\u0648\u0646 \u0645\u0648\u062c\u0648\u062f\u06cc \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f. \u0627\u06af\u0631 \u0645\u062d\u0635\u0648\u0644\u06cc \u0631\u0627 \u0647\u0646\u0648\u0632 \u0628\u0647 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0648\u0635\u0644 \u0646\u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0645\u0648\u062c\u0648\u062f\u06cc \u0622\u0646 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u062a\u0648\u0646 \u0628\u0627 \u00ab\u2014\u00bb \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0627 \u0628\u0627 \u0645\u0648\u062c\u0648\u062f\u06cc \u0635\u0641\u0631 \u0627\u0634\u062a\u0628\u0627\u0647 \u0646\u0634\u0648\u062f.<\/li>\n<li>\u00ab\u067e\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u00bb \u062f\u0631\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u067e\u0631\u062f\u0627\u062e\u062a\u060c \u0648\u0636\u0639\u06cc\u062a\u200c\u0647\u0627\u06cc \u0633\u0641\u0627\u0631\u0634\u060c \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0648 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u0627\u0644\u06cc\u0627\u062a \u0648 \u0645\u0648\u062c\u0648\u062f\u06cc \u0631\u0627 \u0628\u0647 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0645\u06cc\u200c\u0641\u0631\u0633\u062a\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628\u060c \u062f\u0631 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u06af\u0632\u06cc\u0646\u0647\u0654 \u0645\u0648\u0631\u062f\u0646\u0638\u0631 \u0631\u0627 \u0627\u0632 \u0641\u0647\u0631\u0633\u062a \u0627\u0646\u062a\u062e\u0627\u0628 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u06a9\u062f \u0646\u062f\u0627\u0631\u06cc\u062f.<\/li>\n<li>\u0627\u0641\u0632\u0648\u0646\u0647 \u0633\u0641\u0627\u0631\u0634 \u0631\u0627 \u062f\u0631 \u067e\u0633\u200c\u0632\u0645\u06cc\u0646\u0647 \u0645\u06cc\u200c\u0641\u0631\u0633\u062a\u062f \u062a\u0627 \u0645\u0634\u062a\u0631\u06cc \u0647\u0646\u06af\u0627\u0645 \u067e\u0631\u062f\u0627\u062e\u062a \u0645\u0646\u062a\u0638\u0631 \u0646\u0645\u0627\u0646\u062f. \u0627\u06af\u0631 \u0627\u062a\u0635\u0627\u0644 \u0642\u0637\u0639 \u0634\u0648\u062f\u060c \u0633\u0641\u0627\u0631\u0634 \u062f\u0631 \u0635\u0641 \u0645\u06cc\u200c\u0645\u0627\u0646\u062f \u0648 \u0627\u0641\u0632\u0648\u0646\u0647 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0622\u0646 \u062a\u0644\u0627\u0634 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06af\u0631 \u0627\u0631\u0633\u0627\u0644 \u0628\u0639\u062f \u0627\u0632 \u067e\u0646\u062c \u0628\u0627\u0631 \u062a\u0644\u0627\u0634 \u0647\u0645\u0686\u0646\u0627\u0646 \u0646\u0627\u0645\u0648\u0641\u0642 \u0628\u0648\u062f\u060c \u062f\u06a9\u0645\u0647\u0654 \u00ab\u0627\u0631\u0633\u0627\u0644 \u0645\u062c\u062f\u062f \u06a9\u0627\u0631\u0647\u0627\u06cc \u0646\u0627\u0645\u0648\u0641\u0642\u00bb \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f. \u0627\u0631\u0633\u0627\u0644 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0627\u0639\u062b \u062b\u0628\u062a \u0641\u0627\u06a9\u062a\u0648\u0631 \u062a\u06a9\u0631\u0627\u0631\u06cc \u0646\u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n<\/ul>\n\n<h4>\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u062f\u0631 \u067e\u0646\u062c \u0642\u062f\u0645<\/h4>\n\n<ol>\n<li>\u062f\u0631 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0628\u0647 \u00ab\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u2190 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u2190 REST API\u00bb \u0628\u0631\u0648\u06cc\u062f \u0648 \u06cc\u06a9 \u06a9\u0644\u06cc\u062f \u0628\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u062e\u0648\u0627\u0646\u062f\u0646 \u0648 \u0646\u0648\u0634\u062a\u0646 \u0628\u0633\u0627\u0632\u06cc\u062f.<\/li>\n<li>\u062f\u0631 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e\u060c \u0641\u0631\u0648\u0634\u06af\u0627\u0647\u062a\u0627\u0646 \u0631\u0627 \u0628\u0627 \u0647\u0645\u0627\u0646 \u06a9\u0644\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u0622\u062f\u0631\u0633 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e\u060c \u06a9\u0644\u06cc\u062f API \u0648 \u0631\u0627\u0632 API \u0631\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647\u0654 \u0647\u0645\u0627\u0646 \u0641\u0631\u0648\u0634\u06af\u0627\u0647 \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f.<\/li>\n<li>\u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a. \u0633\u067e\u0633 \u0627\u0641\u0632\u0648\u0646\u0647\u0654 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0631\u0627 \u0646\u0635\u0628 \u0648 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0628\u0647 \u00ab\u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u2190 \u0627\u062a\u0635\u0627\u0644 \u0648 \u0648\u0636\u0639\u06cc\u062a\u00bb \u0628\u0631\u0648\u06cc\u062f \u0648 \u0622\u062f\u0631\u0633 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e\u060c \u06a9\u0644\u06cc\u062f API \u0648 \u0631\u0627\u0632 API \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0627\u0648\u0644 \u00ab\u0630\u062e\u06cc\u0631\u0647 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u00bb \u0648 \u0628\u0639\u062f \u00ab\u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644\u00bb \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f.<\/li>\n<li>\u062f\u0631 \u00ab\u067e\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u00bb \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0647\u0645\u0647\u0654 \u062f\u0631\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u067e\u0631\u062f\u0627\u062e\u062a \u0648 \u0648\u0636\u0639\u06cc\u062a\u200c\u0647\u0627\u06cc \u0633\u0641\u0627\u0631\u0634 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0628\u0627\u0634\u0646\u062f.<\/li>\n<\/ol>\n\n<h4>\u0647\u0632\u06cc\u0646\u0647\u0654 \u0627\u0641\u0632\u0648\u0646\u0647 \u0648 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e<\/h4>\n\n<p>\u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0627\u06cc\u062f \u062f\u0631 \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u062d\u0633\u0627\u0628 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n\n<p>\u0637\u0631\u062d \u0647\u0645\u06cc\u0634\u0647\u200c\u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0648 \u06cc\u06a9 \u0627\u0646\u0628\u0627\u0631 \u0627\u0633\u062a \u0648 \u0628\u0627 \u0622\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0631\u0648\u0632\u06cc \u062a\u0627 \u06f1\u06f0 \u0641\u0627\u06a9\u062a\u0648\u0631 \u062b\u0628\u062a \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646 \u0637\u0631\u062d \u0627\u0645\u06a9\u0627\u0646 \u0627\u062a\u0635\u0627\u0644 \u0641\u0631\u0648\u0634\u06af\u0627\u0647 \u0631\u0627 \u0646\u062f\u0627\u0631\u062f. \u0637\u0631\u062d\u200c\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0627\u062a\u0635\u0627\u0644 \u0641\u0631\u0648\u0634\u06af\u0627\u0647 \u062f\u0627\u0631\u0646\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06f1\u06f5 \u0631\u0648\u0632 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0648 \u0628\u062f\u0648\u0646 \u06a9\u0627\u0631\u062a \u0628\u0627\u0646\u06a9\u06cc \u0627\u0645\u062a\u062d\u0627\u0646 \u06a9\u0646\u06cc\u062f. <a href=\"https:\/\/hesabshop.com\/pricing\">\u0645\u0634\u0627\u0647\u062f\u0647\u0654 \u0637\u0631\u062d\u200c\u0647\u0627 \u0648 \u0642\u06cc\u0645\u062a\u200c\u0647\u0627<\/a><\/p>\n\n<p><a href=\"https:\/\/hesabshop.com\/demo\">\u062f\u0645\u0648\u06cc \u062d\u0633\u0627\u0628\u200c\u0634\u0627\u067e \u0631\u0627 \u0628\u062f\u0648\u0646 \u062b\u0628\u062a\u200c\u0646\u0627\u0645 \u0628\u0628\u06cc\u0646\u06cc\u062f<\/a><\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects your store to <strong>HesabShop<\/strong>, an online accounting service run by HesabShop (https:\/\/hesabshop.com). It is required: without it the plugin does nothing. Nothing is sent until you enter a HesabShop address, API key and API secret on the plugin's \"Connection &amp; status\" page. All requests go only to the HTTPS address you enter there (normally <code>https:\/\/app.hesabshop.com<\/code>).<\/p>\n\n<p>What is sent, and when:<\/p>\n\n<ul>\n<li><strong>Store events<\/strong> (<code>POST \/woo\/event\/{key}<\/code>), from the background queue, usually within five minutes: the type of event and the ID of the order, product, variation or refund involved (for status changes, the old and new status; for resend requests, the time of the request). Events are sent when a product is created or updated, stock changes, an order is created or updated or changes status, a refund is created, or you press \"send again\" on an order.<\/li>\n<li><strong>Store settings snapshot<\/strong> (same endpoint): store name, admin email address, store address and phone, site URL, currency and number format, payment gateways (ID, title, enabled, cash-on-delivery), order statuses, shipping zones and methods with cost and tax status, tax rates and tax settings, inventory settings, up to 100 published coupons (code, type, amount), and the WordPress, WooCommerce and plugin versions. Sent after activation, about a minute after you save WooCommerce settings, once an hour, and when you press \"send settings again\".<\/li>\n<li><strong>Connection check<\/strong> (<code>GET \/woo\/ping\/{key}<\/code>): your API key only. Sent when you open the \"Connection &amp; status\" page, press \"Test connection\", and once an hour.<\/li>\n<li><strong>Settings bridge status<\/strong> (<code>GET \/woo\/bridge\/{key}<\/code>): your API key only. Sent when you open the \"Settings bridge\" page (cached for five minutes).<\/li>\n<li><strong>Stock lookup<\/strong> (<code>GET \/woo\/stock\/{key}?products=\u2026<\/code>): your API key and the IDs of the products on the screen. Sent when you open the products list or edit a product (cached for two minutes).<\/li>\n<\/ul>\n\n<p>Separately, HesabShop's servers call your store's WooCommerce REST API with the key you created, to read the full order and product details, and to write stock and the accounting result shown on each order (plus prices and order status, if you enable them).<\/p>\n\n<p>HesabShop <a href=\"https:\/\/hesabshop.com\/terms\">Terms of Service<\/a> and <a href=\"https:\/\/hesabshop.com\/privacy\">Privacy Policy<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>In WooCommerce, go to <strong>Settings \u2192 Advanced \u2192 REST API<\/strong> and create a key with Read\/Write access.<\/li>\n<li>In your HesabShop panel, add your store with that key. The store page shows the HesabShop address, API key and API secret under \"WordPress plugin settings\".<\/li>\n<li>In WordPress, go to <strong>Plugins \u2192 Add New<\/strong>, search for \"HesabShop\", install and activate. WooCommerce must be active.<\/li>\n<li>Open <strong>HesabShop \u2192 Connection &amp; status<\/strong>, paste the address, API key and API secret, save, and press <strong>Test connection<\/strong>.<\/li>\n<li>Open <strong>HesabShop \u2192 Settings bridge<\/strong> and check that every active payment gateway and order status is defined in HesabShop. The page links straight to the screen in HesabShop where you define them.<\/li>\n<\/ol>\n\n<p>From then on, orders and stock sync on their own.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20it%20free%3F\"><h3>Is it free?<\/h3><\/dt>\n<dd><p>The plugin is free and open source (GPL). It needs a HesabShop account to talk to. HesabShop has a permanently free plan (up to 10 invoices a day, one user, one warehouse), but that plan does not include connecting an online store. Plans that do include it start with a 15-day free trial that needs no payment details. Current plans and prices: https:\/\/hesabshop.com\/pricing<\/p><\/dd>\n<dt id=\"will%20it%20slow%20down%20my%20site%3F\"><h3>Will it slow down my site?<\/h3><\/dt>\n<dd><p>No. When an order or product changes, the plugin only adds one row to its own queue table. Sending happens in the background every few minutes through Action Scheduler (or WP-Cron), never while a customer is checking out. The only live calls are on the plugin's own admin screens and the products list, which show data from HesabShop and cache it for a few minutes.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20my%20site%20cannot%20reach%20hesabshop%20for%20a%20while%3F\"><h3>What happens if my site cannot reach HesabShop for a while?<\/h3><\/dt>\n<dd><p>Events wait in the queue and are retried automatically with growing delays (2, 4, 8 and 16 minutes). After five failed attempts a job is set aside rather than retried forever; the \"Connection &amp; status\" page shows how many, and \"Resend failed jobs\" puts them back in the queue. An hourly job also resends the store settings. Because every event has an idempotency key, sending again never creates a duplicate invoice.<\/p><\/dd>\n<dt id=\"does%20it%20support%20hpos%20%28high-performance%20order%20storage%29%3F\"><h3>Does it support HPOS (High-Performance Order Storage)?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares HPOS compatibility, reads orders only through WooCommerce's order API, and its order box and orders-list column work in both HPOS and the older posts-based storage.<\/p><\/dd>\n<dt id=\"is%20the%20admin%20in%20persian%20%2F%20right-to-left%3F\"><h3>Is the admin in Persian \/ right-to-left?<\/h3><\/dt>\n<dd><p>Yes. The plugin's admin screens are written in Persian and laid out right-to-left. Dates and amounts on the order box are shown exactly as HesabShop formats them (Jalali calendar, Persian digits, and your chosen display currency unit).<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20change%20my%20orders%20or%20products%3F\"><h3>Does the plugin change my orders or products?<\/h3><\/dt>\n<dd><p>The plugin itself does not. It reads settings and queues event IDs. Stock, the accounting result on each order, and optionally prices and order status are written by HesabShop through the WooCommerce REST API key you created, so you can revoke that access at any time from WooCommerce.<\/p><\/dd>\n<dt id=\"what%20is%20removed%20when%20i%20delete%20the%20plugin%3F\"><h3>What is removed when I delete the plugin?<\/h3><\/dt>\n<dd><p>Its settings, log, cached data, scheduled jobs and queue table. Your orders, products and customers are not touched.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Prepared for the WordPress.org plugin directory: English readme with a full description of the external service and the data it receives.<\/li>\n<li>Declares WooCommerce as a required plugin (WordPress 6.5+ shows this on the plugins screen).<\/li>\n<li>HTTPS is now enforced on every request to HesabShop, not only on event delivery.<\/li>\n<li>All database queries on the queue table are prepared; all admin output is escaped.<\/li>\n<li>The order-status colour is added through an enqueued style instead of an inline style tag.<\/li>\n<li>Uninstall now also removes cached data and Action Scheduler jobs.<\/li>\n<li>Tested with WordPress 7.1 and WooCommerce 11.2. Requires WordPress 6.2 or later.<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Fixed a fatal error on activation for stores that have tax classes.<\/li>\n<li>A failure while reading site settings no longer blocks activation; it is retried a minute later.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>New \"Recorded in accounting\" order status, set by HesabShop when an order's invoice is final. WooCommerce sends no customer email for it.<\/li>\n<li>Accounting status box on every order: sent or not, success or failure, journal number, invoice number, date, note, error text, and a send-again button.<\/li>\n<li>\"Accounting entry\" column in the orders list.<\/li>\n<li>HesabShop stock in each product's Inventory tab and in the products list; an unlinked product shows \"\u2014\" rather than \"0\".<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>\"Settings bridge\" page: what the site has, beside what HesabShop has done with it.<\/li>\n<li>Automatic reading of payment gateways, order statuses, shipping methods and costs, tax rates and settings, inventory and currency.<\/li>\n<li>Declared compatibility with HPOS and the Cart and Checkout blocks.<\/li>\n<li>Scheduling on Action Scheduler, with WP-Cron as a fallback.<\/li>\n<li>Settings snapshot sent after a short delay, so several saves send one snapshot.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Rewritten with a durable queue, strict request signing, health checks and an hourly job.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"WooCommerce accounting and inventory sync: every order becomes an invoice, and site stock follows your warehouse. Persian, for Iranian shops.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/402830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=402830"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nourazar"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=402830"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=402830"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=402830"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=402830"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=402830"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=402830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}