WP Manifestindependent plugin directory
manifest / ecommerce / integrated-commerce-toolkit

Integrated Commerce Toolkit

A modular WordPress/WooCommerce integration engine designed for high-performance data synchronization with external REST APIs.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/javiquint1/integrated-commerce-toolkit/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A high-performance WooCommerce integration engine designed to bridge the gap between external REST APIs and local commerce data. Built with a focus on security, scalability, and the WordPress "Senior" coding standards.

🏗 Architecture & Design

This plugin follows Object-Oriented Programming (OOP) principles to ensure a clean "Separation of Concerns." Logic is modularized into dedicated classes:

  • ICT_API: Handles external communications using wp_remote_get/post.
  • ICT_DB: Manages custom database interactions via $wpdb.
  • ICT_Security: Centralizes Nonce verification and data hardening.

🔒 Security Hardening (InfoSec Focus)

  • SQLi Prevention: 100% usage of $wpdb->prepare() for all custom database queries.
  • CSRF Protection: Strict Nonce (Number used once) validation on all AJAX and Administrative actions.
  • Data Integrity: Strict input sanitization (sanitize_text_field, absint) and output escaping (esc_html, esc_attr).

⚡ Performance Optimization

  • Transients API: Implementation of the WordPress Transients API to cache expensive API responses, significantly reducing external latency.
  • Optimized Hooks: Scripts and logic are conditionally loaded only where required to minimize the memory footprint.

🛠 Tech Stack

  • PHP: 8.1+
  • APIs: WooCommerce REST, WP-Cron, Transients API.
  • Environment: LocalWP, WP-CLI, VS Code.

📦 Installation & Setup

  1. Clone this repository into your /wp-content/plugins/ directory.
  2. Activate the plugin via WP-CLI:
    
    wp plugin activate integrated-commerce-toolkit