By Head Random 2026-08-13 10:49 PM

Guide to Install and Use Digital Marketplace & Software Licensing Engine (FlexiStore Sync) for Perfex CRM

335.71 ms

Learn how to install, configure, and manage your digital product marketplace and RSA 2048-bit licensing engine using the Digital Product Marketplace & Software Licensing Engine (FlexiStore Sync for Perfex CRM - flexistore) module.

Quick Installation Guide

  1. Download the module ZIP file (flexistore.zip).
  2. Log in to Perfex CRM Admin dashboard and navigate to Setup > Modules.
  3. Upload flexistore.zip and click Activate.
  4. Navigate to the new FlexiStore Sync menu in Admin sidebar to configure store options and generate RSA key pairs.

System Architecture & Data Pipeline

graph TD
    A[Public Storefront / API Activation Ping] --> B[FlexiStore Sync Core Engine flexistore]
    B --> C[RSA 2048-Bit Asymmetric Signature Verification]
    C --> D{Transaction / Activation Processing}
    D -->|New Order| E[Process Payment SePay VietQR / PayPal REST v2]
    D -->|License Activation| F[Record Domain IP & Device Telemetry in tblflexistore_device_tracking]
    E --> G[Auto-Create Perfex Invoice & Record Payment Transaction]
    F --> H[Return Signed License Verification Response]

RSA 2048-Bit Licensing & Device Telemetry Engine

graph TD
    A[Client Site Sends License Verification Request] --> B[Verify Request HMAC Signature]
    B --> C[Lookup License Key in tblflexistore_licenses]
    C --> D{Validation Checks}
    D -->|Valid Active Domain| E[Sign Response Payload with RSA 2048-Bit Private Key]
    D -->|Exceeded Domain Limit| F[Return License Activation Limit Reached Error]
    E --> G[Log Client IP Geolocation in IP2Location BIN Database]
    G --> H[Send Encrypted Verification Payload to Client]

Automated Payment Gateway Reconciliation Pipeline

graph TD
    A[Customer Initiates Order Checkout] --> B{Payment Gateway Selection}
    B -->|SePay VietQR| C[Generate Dynamic QR Code with Order ID & Amount]
    B -->|PayPal REST v2| D[Create PayPal Order & Redirect to PayPal]
    C --> E[SePay Webhook Listener Matches Transaction Code]
    D --> F[PayPal Webhook Captures Approved Payment Event]
    E --> G[Update FlexiStore Order Status to Paid]
    F --> G
    G --> H[Automatically Create Perfex Invoice & Issue License Key]