← Back to SRB Integration overview
How to Install — SRB Integration
Module folder: modules/srb_integration/ Version: v1.0.0
Pakistan SRB Sindh Revenue Board POS integration for Perfex CRM (sandbox and production APIs).
Before you begin
- Backup your database (Setup → Backup or your host backup tool).
- Use a staff account with Modules / Settings access.
- PHP version and Perfex CRM version should match the module README requirements when listed.
- Keep the module folder name exactly
srb_integration.
Step-by-step installation
- Upload the
srb_integrationfolder into your CRMmodules/directory (FTP, cPanel, or Setup → Modules → Upload when available). - Log in to Admin.
- Go to Setup → Modules.
- Find SRB Integration and click Activate (or Upgrade if already installed).
- Wait for migrations/tables to finish — do not refresh mid-activation.
- Go to Setup → Staff → Roles and assign permissions for this module.
- Open SRB Integration → Settings and save defaults.
Install notes from README
Setup
- Activate module: Setup → Modules → SRB Integration
- Open Setup → Settings → Integrations → SRB Integration
- Configure auto-submit, field mapping, retry, webhooks, and REST API
- Open SRB Integration → API Settings (or click Open SRB API settings on the settings tab)
- Set mode, environment, seller SNTN, POS ID, API key (and optional custom URLs)
- Click Test connection
- Start in Simulation, then switch to Live
Uninstall
- Setup → Modules → Deactivate SRB Integration
- Click Uninstall
This removes tables (srb_settings, srb_invoices, srb_audit_log, srb_webhook_queue), all module options, and the module files.
Cron (required for retries & webhooks)
Ensure Perfex CRM cron runs on schedule. Failed live submissions retry when Retry failed SRB submissions is enabled. Webhook delivery also runs on cron.
After activation — configuration checklist
- Go to Setup → Modules and activate SRB Integration.
- If prompted, click Upgrade Database or reload admin — migrations run automatically.
- Assign permissions under Setup → Staff → Roles.
- Open Setup → Settings → Integrations → SRB Integration and configure settings.
- Perfex CRM 3.0+
- PHP 7.4+ (8.1+ recommended)
- MySQL 5.7+ / MariaDB 10.3+ (InnoDB)
- PHP extensions: mysqli, json, mbstring, curl, fileinfo
Official documentation — Installation
Installation
- Upload the
srb_integrationfolder tomodules/in your Perfex CRM installation. - Go to Setup → Modules and activate SRB Integration.
- If prompted, click Upgrade Database or reload admin — migrations run automatically.
- Assign permissions under Setup → Staff → Roles.
- Open Setup → Settings → Integrations → SRB Integration and configure settings.
No core CRM files are modified. All tables and options are created on activation.
Requirements
- Perfex CRM 3.0+
- PHP 7.4+ (8.1+ recommended)
- MySQL 5.7+ / MariaDB 10.3+ (InnoDB)
- PHP extensions: mysqli, json, mbstring, curl, fileinfo
Verify installation (checklist)
- Setup → Modules shows SRB Integration as Active.
- Admin sidebar shows the SRB Integration menu for an admin user.
- Setup → Staff → Roles lists this module's permission groups.
- Opening SRB Integration → Settings loads without PHP errors.
- Creating one sample record succeeds and appears in the list/table.
- (If used) Cron-dependent features have Perfex CRM cron enabled on the server.
After install — first actions
- Create master data required by this module.
- Create one sample record and walk it through approve/complete if applicable.
- Train staff using the Quick Start Guide.
Related: Features · Quick Start · FAQ · Version & Changelog