Gift-i-Card

Description

Gift-i-Card seamlessly connects WooCommerce with the Gifticard.pro service, enabling global gift card sales and automated fulfillment.

Main Features and Operations:
Support for Simple and Variable WooCommerce Products:
– The plugin fully supports mapping both simple and variable WooCommerce products (including product variations) to Gift-i-Card variants.
Connection Status & Real-Time Wallet Balance:
– 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.
Product Mapping:
– Map each WooCommerce product or variation to a specific Gift-i-Card variant using the admin panel.
– Mapping is managed via AJAX and stored in product meta fields, allowing you to sell exact gift card types from your WooCommerce catalog.
– The mapping interface supports searching WooCommerce products and linking them to Gift-i-Card variants.
Product Status Synchronization:
– Automatically synchronize Gift-i-Card product availability status with WooCommerce stock status.
– Configurable status mapping for different Gift-i-Card delivery types (Instant, Manual, Out of Stock, Deleted/Not Available).
– Scheduled synchronization via WordPress cron jobs (recommended: 2-3 times daily).
– Manual synchronization option for immediate updates.
– Real-time status display showing next execution time and current sync status.
– Automatic stock status updates based on Gift-i-Card inventory changes.
Automatic Gift Card Order Placement:
– 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.
– 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.
Order Status Automation:
– The plugin monitors the status of Gift-i-Card orders (via API and webhook).
– If all mapped items are successfully fulfilled, the WooCommerce order status is automatically set to “completed.”
– If any mapped item fails, the order status can be set to “failed” (configurable).
– Status updates are handled both by scheduled checks (cron) and real-time webhook notifications from Gift-i-Card.
– The plugin can automatically set WooCommerce order status to “cancelled” when required (auto-cancellation).
Display of Purchased Gift Cards:
– The purchased gift card codes and related information (serial, card code, redeem link, expiration date, etc.) are displayed to the customer:
– In the order confirmation email
– On the order details page in the user account
– On the “Thank You” page after payment
– The display is dynamic and only shown for items mapped to Gift-i-Card variants.
Admin Sync and Management:
– Admins can sync categories, products, and variants from the Gift-i-Card API to WordPress for easier mapping and management.
– There are tools for bulk deletion of plugin data and for manual order management.

Compatibility:
– Fully compatible with both HPOS (High-Performance Order Storage) and the legacy WooCommerce order storage system

Installation

Setup Requirements:
– To start using the plugin, you need to enter your base_url, consumer_key, and consumer_secret in the plugin settings.
– For production, get your credentials from gifticard.pro (international users) or gifticard.ir (Persian users).
– You can also obtain a Sandbox token for testing and development.

  1. Upload the plugin files to the /wp-content/plugins/gift-i-card directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Gift-i-Card menu to configure the plugin.
  4. Map your WooCommerce products to Gift-i-Card variants as needed.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Gift-i-Card” is open source software. The following people have contributed to this plugin.

Contributors

“Gift-i-Card” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Gift-i-Card” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.2

  • Fixed issue with order not being processed when manually created by admin

1.2.1

  • Separated admin order styles and scripts from public assets for better performance
  • Created dedicated CSS and JS files for order admin functionality (gicapi-order-admin.css, gicapi-order-admin.js)
  • Improved asset loading efficiency by loading order-specific styles only on WooCommerce order edit pages
  • Enhanced code organization and maintainability
  • Fixed potential conflicts between public and admin assets

1.2.0

  • Fixed jQuery tooltip functionality error in public JavaScript
  • Added proper jQuery UI dependencies for tooltip support
  • Enhanced JavaScript error handling for better user experience
  • Improved CSS loading with jQuery UI styles

1.1.6

  • Various bug fixes and performance improvements
  • Enhanced error handling and logging
  • Improved plugin stability and reliability

1.1.5

  • Added support for new languages (Arabic, Spanish, Russian, Persian)
  • Improved internationalization and localization
  • Enhanced user experience with better language support