{"id":242296,"date":"2025-07-20T16:41:36","date_gmt":"2025-07-20T16:41:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/gift-i-card\/"},"modified":"2026-01-07T17:53:20","modified_gmt":"2026-01-07T17:53:20","slug":"gift-i-card","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/gift-i-card\/","author":23334867,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.9","stable_tag":"1.2.9","tested":"6.9.4","requires":"5.2","requires_php":"7.0","requires_plugins":null,"header_name":"Gift-i-Card","header_author":"Saeid Kasiri","header_description":"A plugin to integrate WooCommerce with a gift card service","assets_banners_color":"9499b2","last_updated":"2026-01-07 17:53:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/skasiri\/gift-i-card","header_author_uri":"https:\/\/gifticard.ir","rating":0,"author_block_rating":0,"active_installs":10,"downloads":499,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.1.5":{"tag":"1.1.5","author":"gifticard","date":"2025-07-20 21:41:54"},"1.1.6":{"tag":"1.1.6","author":"gifticard","date":"2025-07-20 21:41:54"},"1.1.8":{"tag":"1.1.8","author":"gifticard","date":"2025-07-27 09:48:26"},"1.1.9":{"tag":"1.1.9","author":"gifticard","date":"2025-07-27 09:48:26"},"1.2.0":{"tag":"1.2.0","author":"gifticard","date":"2025-07-27 09:48:26"},"1.2.1":{"tag":"1.2.1","author":"gifticard","date":"2025-07-27 09:48:26"},"1.2.2":{"tag":"1.2.2","author":"gifticard","date":"2025-12-30 21:09:03"},"1.2.7":{"tag":"1.2.7","author":"gifticard","date":"2025-12-30 21:09:03"},"1.2.9":{"tag":"1.2.9","author":"gifticard","date":"2026-01-07 17:53:20"}},"upgrade_notice":{"1.2.9":"<p>This version fixes critical issues with profit margin calculation and manual sync counting. The profit margin is now correctly applied to selling prices, and manual sync statistics now accurately count simple products and product variations. These fixes ensure proper price management and reliable sync reporting. Highly recommended for all users.<\/p>","1.2.7":"<p>This version adds individual stock status synchronization control for mapped products. You can now control whether each product&#039;s stock status should be synchronized from Gift-i-Card API, giving you fine-grained control over inventory management. Stock sync can be enabled globally with per-product override capability. Highly recommended for stores that need selective stock synchronization control.<\/p>","1.2.6":"<p>This version introduces automatic price synchronization for mapped products. Products can now automatically sync their prices from Gift-i-Card API based on variant prices plus your configured profit margin. You can control price sync individually for each product with custom profit margin settings. Highly recommended for stores that want to keep prices synchronized with Gift-i-Card pricing.<\/p>","1.2.5":"<p>This version adds the ability to create WooCommerce products directly from Gift-i-Card variants, significantly improving the product setup workflow. You can now create simple or variable products with automatic mapping in just a few clicks. This feature streamlines the process of adding Gift-i-Card products to your WooCommerce store.<\/p>","1.2.4":"<p>This version updates compatibility with WordPress 6.9 and WooCommerce 10.4.3, ensuring optimal performance and security with the latest versions. Recommended for all users.<\/p>","1.2.3":"<p>This version introduces batch processing for product synchronization, significantly improving performance for stores with large product catalogs. The system now processes products in configurable batches, preventing timeouts and memory issues. Upgrade recommended for stores with 50+ products.<\/p>","1.2.2":"<p>This version fixes an important issue where orders manually created by administrators were not being processed correctly, ensuring proper order handling for all order creation methods.<\/p>","1.2.1":"<p>This version improves performance and code organization by separating admin order styles and scripts from public assets, ensuring better resource management and faster page loading.<\/p>","1.2.0":"<p>This version fixes the jQuery tooltip error and improves JavaScript functionality by adding proper jQuery UI dependencies and enhanced error handling.<\/p>","1.1.6":"<p>This version includes various bug fixes and performance improvements, enhancing overall plugin stability and reliability.<\/p>","1.1.5":"<p>This version adds comprehensive multi-language support including Arabic, Spanish, Russian, and Persian translations, improving the plugin&#039;s global accessibility.<\/p>"},"ratings":[],"assets_icons":{"icon-128\u00d7128.png":{"filename":"icon-128\u00d7128.png","revision":3331000,"resolution":"128x128","location":"assets","locale":""},"icon-256\u00d7256.png":{"filename":"icon-256\u00d7256.png","revision":3331000,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772\u00d7250.png":{"filename":"banner-772\u00d7250.png","revision":3331000,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.5","1.1.6","1.1.8","1.1.9","1.2.0","1.2.1","1.2.2","1.2.7","1.2.9"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15861,245149,286],"plugin_category":[45],"plugin_contributors":[245150],"plugin_business_model":[],"class_list":["post-242296","plugin","type-plugin","status-publish","hentry","plugin_tags-gift-card","plugin_tags-gifticard","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-saeidksr","plugin_committers-gifticard"],"banners":{"banner":"https:\/\/ps.w.org\/gift-i-card\/assets\/banner-772\u00d7250.png?rev=3331000","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gift-i-card\/assets\/icon-128\u00d7128.png?rev=3331000","icon_2x":"https:\/\/ps.w.org\/gift-i-card\/assets\/icon-256\u00d7256.png?rev=3331000","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Gift-i-Card seamlessly connects WooCommerce with the Gifticard.pro service, enabling global gift card sales and automated fulfillment.<\/p>\n\n<p><strong>Main Features and Operations:<\/strong>\n- <strong>Support for Simple and Variable WooCommerce Products:<\/strong>\n  - The plugin fully supports mapping both simple and variable WooCommerce products (including product variations) to Gift-i-Card variants.\n- <strong>Product Creation from Gift-i-Card Variants:<\/strong>\n  - Create WooCommerce simple products directly from Gift-i-Card variants with custom settings.\n  - Create WooCommerce variable products with multiple variants in one operation.\n  - Automatic mapping of created products to Gift-i-Card variants.\n  - Customizable product details (name, SKU, price, status) during creation.\n- <strong>Price Synchronization:<\/strong>\n  - Automatically synchronize product prices from Gift-i-Card API based on variant prices plus configurable profit margin.\n  - Configurable profit margin settings (percentage or fixed amount) in product settings.\n  - Individual price sync control for each mapped product\/variation with custom profit margin.\n  - Price synchronization runs automatically during product status sync (cron or page visit).\n- <strong>Connection Status &amp; Real-Time Wallet Balance:<\/strong>\n  - Admins can view the current connection status to the Gift-i-Card API and see the real-time balance of their Gift-i-Card wallet directly from the plugin dashboard.\n- <strong>Product Mapping:<\/strong>\n  - Map each WooCommerce product or variation to a specific Gift-i-Card variant using the admin panel.\n  - Mapping is managed via AJAX and stored in product meta fields, allowing you to sell exact gift card types from your WooCommerce catalog.\n  - The mapping interface supports searching WooCommerce products and linking them to Gift-i-Card variants.\n- <strong>Product Status Synchronization:<\/strong>\n  - Automatically synchronize Gift-i-Card product availability status with WooCommerce stock status.\n  - Configurable status mapping for different Gift-i-Card delivery types (Instant, Manual, Out of Stock, Deleted\/Not Available).\n  - Batch processing system for efficient handling of large product catalogs (configurable batch size).\n  - Scheduled synchronization via WordPress cron jobs (recommended: 2-3 times daily).\n  - Manual synchronization option for immediate updates.\n  - Real-time status display showing next execution time, current sync status, and batch progress.\n  - Automatic stock status updates based on Gift-i-Card inventory changes.\n  - Progress tracking with visual progress bar for batch processing status.\n- <strong>Automatic Gift Card Order Placement:<\/strong>\n  - When a customer places an order containing mapped products, the plugin automatically sends a purchase request to the Gift-i-Card API for each mapped item.\n  - The plugin handles the API response, stores the Gift-i-Card order details (including codes) in the WooCommerce order meta, and adds order notes for tracking.\n- <strong>Order Status Automation:<\/strong>\n  - The plugin monitors the status of Gift-i-Card orders (via API and webhook).\n  - If all mapped items are successfully fulfilled, the WooCommerce order status is automatically set to \u201ccompleted.\u201d\n  - If any mapped item fails, the order status can be set to \u201cfailed\u201d (configurable).\n  - Status updates are handled both by scheduled checks (cron) and real-time webhook notifications from Gift-i-Card.\n  - The plugin can automatically set WooCommerce order status to \"cancelled\" when required (auto-cancellation).\n- <strong>Display of Purchased Gift Cards:<\/strong>\n  - The purchased gift card codes and related information (serial, card code, redeem link, expiration date, etc.) are displayed to the customer:\n    - In the order confirmation email\n    - On the order details page in the user account\n    - On the \u201cThank You\u201d page after payment\n  - The display is dynamic and only shown for items mapped to Gift-i-Card variants.\n- <strong>Admin Sync and Management:<\/strong>\n  - Admins can sync categories, products, and variants from the Gift-i-Card API to WordPress for easier mapping and management.\n  - There are tools for bulk deletion of plugin data and for manual order management.<\/p>\n\n<p><strong>Compatibility:<\/strong>\n- Fully compatible with both HPOS (High-Performance Order Storage) and the legacy WooCommerce order storage system<\/p>\n\n<!--section=installation-->\n<p><strong>Setup Requirements:<\/strong>\n- To start using the plugin, you need to enter your <code>base_url<\/code>, <code>consumer_key<\/code>, and <code>consumer_secret<\/code> in the plugin settings.\n- For production, get your credentials from <a href=\"https:\/\/gifticard.pro\">gifticard.pro<\/a> (international users) or <a href=\"https:\/\/gifticard.ir\">gifticard.ir<\/a> (Persian users).\n- You can also obtain a Sandbox token for testing and development.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/gift-i-card<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Use the Gift-i-Card menu to configure the plugin.<\/li>\n<li>Map your WooCommerce products to Gift-i-Card variants as needed.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>Fixed issue with applying profit margin to selling price calculation<\/li>\n<li>Fixed manual sync counting issue in settings - now correctly counts simple products and product variations<\/li>\n<li>Improved sync statistics accuracy for total, successful, and failed counts<\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>Added stock status synchronization control for mapped products<\/li>\n<li>Products can now individually control whether stock status should be synchronized from Gift-i-Card API<\/li>\n<li>Stock sync can be enabled\/disabled per product with default global setting<\/li>\n<li>Stock synchronization control added to variants display page for each mapped product<\/li>\n<li>Enhanced product management with stock sync toggle alongside price sync controls<\/li>\n<li>Stock sync settings can be configured globally in product settings with per-product override capability<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Added price synchronization feature for mapped products<\/li>\n<li>Products can now automatically sync prices from Gift-i-Card API based on variant prices plus configurable profit margin<\/li>\n<li>Configurable profit margin settings (percentage or fixed amount) in product settings<\/li>\n<li>Individual price sync control for each mapped product\/variation<\/li>\n<li>Price sync can be enabled\/disabled per product with custom profit margin settings<\/li>\n<li>Price synchronization runs automatically during product status sync (cron or page visit)<\/li>\n<li>Enhanced product management with price sync indicators in variants display page<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Added ability to create WooCommerce products directly from Gift-i-Card variants<\/li>\n<li>Create simple products from individual variants with custom name, SKU, price, and status<\/li>\n<li>Create variable products with multiple variants in one operation<\/li>\n<li>Customizable variant details (name, price, SKU) during product creation<\/li>\n<li>Automatic mapping of created products to Gift-i-Card variants<\/li>\n<li>Improved product creation workflow with modal dialogs<\/li>\n<li>Enhanced variants display page with product creation buttons<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Updated compatibility to WordPress 6.9<\/li>\n<li>Updated compatibility to WooCommerce 10.4.3<\/li>\n<li>Improved plugin stability and reliability with latest WordPress and WooCommerce versions<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Added batch processing system for product synchronization to handle large product catalogs efficiently<\/li>\n<li>Configurable batch size setting for product sync (default: 10 products per batch)<\/li>\n<li>Progress tracking system for batch processing with visual progress bar in admin<\/li>\n<li>Improved performance for stores with many products by processing in smaller chunks<\/li>\n<li>Enhanced cron job reliability with resumable batch processing<\/li>\n<li>Added batch processing status display in cron settings panel<\/li>\n<li>Optimized API calls by grouping products in batches instead of processing all at once<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed issue with order not being processed when manually created by admin<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Separated admin order styles and scripts from public assets for better performance<\/li>\n<li>Created dedicated CSS and JS files for order admin functionality (gicapi-order-admin.css, gicapi-order-admin.js)<\/li>\n<li>Improved asset loading efficiency by loading order-specific styles only on WooCommerce order edit pages<\/li>\n<li>Enhanced code organization and maintainability<\/li>\n<li>Fixed potential conflicts between public and admin assets<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Fixed jQuery tooltip functionality error in public JavaScript<\/li>\n<li>Added proper jQuery UI dependencies for tooltip support<\/li>\n<li>Enhanced JavaScript error handling for better user experience<\/li>\n<li>Improved CSS loading with jQuery UI styles<\/li>\n<\/ul>\n\n<h4>1.1.6<\/h4>\n\n<ul>\n<li>Various bug fixes and performance improvements<\/li>\n<li>Enhanced error handling and logging<\/li>\n<li>Improved plugin stability and reliability<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Added support for new languages (Arabic, Spanish, Russian, Persian)<\/li>\n<li>Improved internationalization and localization<\/li>\n<li>Enhanced user experience with better language support<\/li>\n<\/ul>","raw_excerpt":"Seamlessly integrate WooCommerce with Gift-i-Card service to automate gift card ordering, real-time status tracking, and instant customer delivery.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/242296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=242296"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gifticard"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=242296"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=242296"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=242296"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=242296"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=242296"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=242296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}