Image
Image

Keygin Erp Sync

Description

Keygin Erp Sync is a WordPress plugin that integrates Contifico with WooCommerce, allowing store owners to automatically synchronize products, inventory levels, and stock output movements.

The plugin is designed for use with the Contifico API available in Ecuador.

Key capabilities include:

  • Synchronizing products from Contifico to WooCommerce
  • Automatically updating stock levels based on Contifico inventory
  • Updating product name, description, and SKU
  • Creating products in WooCommerce when they do not exist
  • Registering inventory output movements in Contifico when a WooCommerce order is completed
  • Supporting real warehouses configured in Contifico
  • Detailed logging for troubleshooting

This plugin is intended for stores that need WooCommerce to always reflect the real inventory available in Contifico, reducing manual work and preventing stock inconsistencies.

Features

  • Product synchronization

    • Name
    • Description
    • SKU
    • Stock
    • Automatic creation of missing products
  • Inventory synchronization

    • Contifico inventory has priority
    • WooCommerce stock is adjusted automatically
  • Automatic stock outputs

    • Inventory output is registered in Contifico when an order is completed in WooCommerce
  • Warehouse support

    • Retrieves warehouses from the Contifico API
    • Allows selecting the warehouse used for stock and outputs
  • Scheduled synchronization

    • Runs every 12 hours, or 24 hours
    • Uses a custom cron system
  • Logging system

    • Event logs visible in the admin panel
    • Detailed logs stored as files
    • Logs are removed automatically on uninstall
  • Admin interface

    • Connection status display
    • Synchronization frequency display
    • Logs
    • Clear logs button

External services

This plugin connects to the Contifico API to synchronize products, inventory levels,
warehouses, and register inventory output movements when WooCommerce orders are completed.

API Endpoint:
https://api.contifico.com/sistema/api/v1/

This endpoint is used to retrieve and send data as required for product and inventory
synchronization. No data is sent until the site administrator configures valid API
credentials within the plugin settings.

Data sent:
– API Key and API Token (authentication)
– Product identifiers and inventory data
– Order-related data required to register stock outputs

When data is sent:
– During scheduled automatic synchronization
– When a WooCommerce order is marked completed

Service provider:
Contifico (by Siigo)

Terms of service:
https://www.siigo.com/ec/terminos-y-condiciones/

Privacy policy:
https://www.siigo.com/ec/politicas-de-uso/

Screenshots

  • Image
    API settings and synchronization options
  • Image
    Connection status screen
  • Image
    Logs viewer
  • Image
    Active scheduled tasks display

Installation

  1. Download the plugin as a .zip file.
  2. Go to WordPress Dashboard Plugins Add New.
  3. Click “Upload Plugin” and select the downloaded file.
  4. Install and activate the plugin.
  5. Open the Keygin Erp Sync menu in the admin panel.
  6. Enter your Contifico API Key and API Token.
  7. Click Test Connection.
  8. Select the warehouse to be used.
  9. Save the settings.

FAQ

Does this plugin work with Contifico Ecuador?

Yes. The plugin was built specifically for the Contifico Ecuador API.

Are product prices synchronized?

Yes. The plugin uses Contifico price types.
pvp1 is used as the regular price and pvp2 as the sale price.

Does the Contifico API support pagination?

No. The API returns all products in a single response.

What happens if a product does not exist in WooCommerce?

The plugin creates it automatically with name, description, SKU, and stock.

What happens if the API connection fails?

The error is logged and automatic synchronization is disabled to avoid unexpected behavior.

Does the plugin generate logs?

Yes. Logs are available in the admin interface and stored as files.

Can logs be deleted?

Yes. Logs can be deleted manually and are also removed when the plugin is uninstalled.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Keygin Erp Sync” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Keygin Erp Sync” into your language.

Interested in development?

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

Changelog

1.0.5

  • Security: Added proper capability checks (current_user_can) across admin actions and UI components.
  • Security: Improved nonce verification and input sanitization for admin forms.
  • Admin: Hardened logs management screen without changing functionality.
  • Admin: Improved safety when clearing logs and rendering notices.
  • Admin: Added safeguards when loading admin assets.
  • Code: Internal refactor to comply with WordPress Plugin Review guidelines.
  • Code: No functional or behavioral changes introduced.

1.0.4

(Current Development Version)
– Security & Compliance: Refactored codebase to fully comply with WordPress.org Plugin Directory Guidelines.
– Admin UI: Replaced native JavaScript alert() usage with standard WordPress admin notices.
– JavaScript: Rewrote admin JavaScript for improved structure, validation, and WordPress coding standards compliance.
– Internationalization: Fixed and completed all translation strings. Added /languages directory and ensured all user-facing strings (PHP and JavaScript) are fully translatable. JavaScript strings are localized using wp_localize_script().
– Asset Loading: Removed inline and tags from PHP views. All scripts and styles are now correctly enqueued.
– AJAX: Improved security, nonce validation, and error handling for the keygin_test_connection AJAX action.
– General: Code cleanup, improved inline documentation, and adherence to WordPress PHP and JavaScript coding standards.

1.0.3

  • Fixed plugin internal slug to match the official WordPress.org slug: keygin-erp-sync
  • No functional changes

1.0.2

  • Removed unused Domain Path header to comply with Plugin Check recommendations
  • No functional changes

1.0.1

  • Initial public release
  • WooCommerce integration with Contifico
  • Product and stock synchronization
  • Uses only original or GPL-compatible code
  • API connection is established only after explicit administrator configuration