From f720175e2d148b20b829928bd5651bf4ee3eae7a Mon Sep 17 00:00:00 2001 From: MrRezai Date: Wed, 6 Aug 2025 01:12:27 +0330 Subject: [PATCH] update version 1.0.2 --- README.md | 12 ++++++------ admin/class-hesabix-admin.php | 3 ++- hesabix.php | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c7b39ae..0f58c0e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Modern, localized, and secure WooCommerce integration with Hesabix Cloud Account == 🧩 Overview == -**Hesabix for WooCommerce** connects your online store with [Hesabix](https://hesabix.com), the powerful cloud-based accounting system built for Persian businesses. +**Hesabix for WooCommerce** connects your online store with [Hesabix](https://hesabix.ir), the powerful cloud-based accounting system built for Persian businesses. From real-time product, order, and customer sync to full Persian date support, this plugin is everything a modern Iranian online store needs to automate its bookkeeping. @@ -43,7 +43,7 @@ From real-time product, order, and customer sync to full Persian date support, t - Extendable data mappers for products and customers - Debug logs and status monitoring -### 🌐 Localization & UI +### 🌐 Localization & UI - Fully RTL and Persian language ready - Modern, tabbed admin interface - Responsive and mobile-friendly @@ -53,7 +53,7 @@ From real-time product, order, and customer sync to full Persian date support, t 1. Upload the plugin to `/wp-content/plugins/hesabix-woocommerce/` 2. Activate via **Plugins > Hesabix for WooCommerce** 3. Go to **WooCommerce > Hesabix Settings** -4. Enter your API Key (get it from your [Hesabix account](https://app.hesabix.com)) +4. Enter your API Key (get it from your [Hesabix account](https://app.hesabix.ir)) 5. Test connection and start syncing! == ❓ Frequently Asked Questions == @@ -83,9 +83,9 @@ Yes — we follow WordPress best practices including nonce verification, secure == 🌐 Resources == -- [Official Website](https://hesabix.com) -- [User Guide](https://hesabix.com/school) -- [Support](https://hesabix.com/support) +- [Official Website](https://hesabix.ir) +- [User Guide](https://hesabix.ir/school) +- [Support](https://hesabix.ir/support) == 👨‍💻 Credits == diff --git a/admin/class-hesabix-admin.php b/admin/class-hesabix-admin.php index a170ab5..4f29ae3 100644 --- a/admin/class-hesabix-admin.php +++ b/admin/class-hesabix-admin.php @@ -1778,7 +1778,8 @@ class Hesabix_Admin } try { - $plugin_stats = wp_remote_get('https://hesabix.dragonizzer.ir/api/wordpress/plugin/stats'); + $plugin_stats = wp_remote_get('https://app.hesabix.ir/api/wordpress/plugin/stats'); + error_log(print_r($plugin_stats['body'], true)); if ($plugin_stats && !is_wp_error($plugin_stats) && $plugin_stats['response']['code'] == 200) { diff --git a/hesabix.php b/hesabix.php index 500844a..f36c352 100644 --- a/hesabix.php +++ b/hesabix.php @@ -9,7 +9,7 @@ * Plugin Name: Hesabix: WooCommerce * Plugin URI: https://hesabix.ir/ * Description: Connect Hesabix Online Accounting to WooCommerce. - * Version: 1.0.0 + * Version: 1.0.2 * Author: Mohammad Rezai * Author URI: https://pirouz.xyz * License: GPL-3.0+ @@ -24,7 +24,7 @@ if (!defined('WPINC')) { } define('HESABIX_PLUGIN_URL', plugin_dir_url(__FILE__)); -define('HESABIX_VERSION', '1.0.0'); +define('HESABIX_VERSION', '1.0.2'); function activate_hesabix() {