Overview
DompetX provides SDKs for custom integrations and platform plugins for merchants who want a faster setup. Use package managers for SDKs, because they make versioning, updates, and dependency management safer. Use ZIP downloads for platform plugins that are installed manually, such as WooCommerce and WHMCS.Recommended Installation
| Integration | Best Distribution | Install |
|---|---|---|
| PHP SDK | Packagist / Composer | composer require dompetx/php-sdk |
| Laravel SDK | Packagist / Composer | composer require dompetx/laravel-sdk |
| Node SDK | npm | npm install @dompetx/sdk |
| WooCommerce Plugin | ZIP download | Download WooCommerce Plugin |
| WHMCS Gateway | ZIP download | Download WHMCS Gateway |
WooCommerce
Download and install from WordPress Admin:- Plugins → Add New → Upload Plugin.
- Upload
dompetx-woocommerce.zip. - Activate DompetX for WooCommerce.
- Open WooCommerce → Settings → Payments → DompetX.
- Enter your DompetX API key and API base URL.
WHMCS
Download the WHMCS gateway ZIP, then upload themodules folder into your WHMCS installation.
Callback URL:
- Open WHMCS Admin.
- Go to System Settings → Payment Gateways.
- Activate DompetX.
- Enter your DompetX API key and API base URL.
Laravel
Node.js
The Node.js SDK is available on npm: @dompetx/sdk.PHP
Versioning Recommendation
- Publish SDKs through package managers.
- Keep plugin ZIP filenames stable for latest downloads.
- Keep release notes in the integration repository changelog.
- Test plugin ZIPs against staging before replacing public downloads.