Installation Guide
Installation Guide
Last updated: Jan 06, 2026
Installation Guide
This guide will walk you through installing and activating the Sunsky OpenAPI Plugin on your Perfex CRM installation.
Requirements
Before installing, ensure your system meets these requirements:
- Perfex CRM version 3.0 or higher
- PHP 7.4 or higher (8.x recommended)
- MySQL 5.7+ or MariaDB 10.3+
- cURL PHP extension enabled
- Valid Envato purchase code
Step 1: Download the Plugin
Step 2: Upload the Module
Method A: Admin Panel Upload (Recommended)
Method B: FTP Upload
sunsky_dropshipping folder to /modules/Step 3: Activate the Module
The module will automatically:
- Run database migrations
- Create necessary tables
- Set up initial configuration
Step 4: Enter License Key
:::important A valid license key is required to use module features. :::
Finding Your Purchase Code
Step 5: Configure API Credentials
Getting Sunsky API Credentials
Enter Credentials
- App Key: Enter your Sunsky application key - App Secret: Enter your Sunsky secret key
Step 6: Initial Sync
Step 7: Setup Cron Job
For automatic synchronization, set up a cron job:
0 /6 wget -q -O /dev/null "https://yoursite.com/sunsky_dropshipping/cron/sync?key=YOUR_CRON_KEY"
Replace YOUR_CRON_KEY with the key shown in Settings.
Troubleshooting
Module not appearing after upload
- Check file permissions (755 for folders, 644 for files)
- Ensure the folder name is exactly
sunsky_dropshipping
License activation fails
- Verify your purchase code is correct
- Check your server can reach the license server
- Ensure your domain matches the activation
API connection fails
- Double-check your API credentials
- Ensure your Sunsky account is active
- Check if your IP is whitelisted on Sunsky