Licensing Instructions
Limited Distribution Licensing - Windows
After installing on Windows the library may be deployed to another machine by following these steps:
- Copy the appropriate PHP Extension from the ext directory of the installation to the target machine's PHP ext directory.
- Modify the php.ini file on the deployment machine to include the extension.
- Deploy the include directory (including the InPay_keys.php file).
Limited Distribution Licensing - Linux/macOS
To obtain a Runtime License used to deploy to other machines visit the URL below.
https://www.4dpayments.com/full/DPPHA
After obtaining the Runtime License value assign this to the RuntimeLicense property to license the application for deployment. For instance:
$component->setRuntimeLicense("Value From Above");
This provides a license to the component and your application will run without a license prompt on any machine to which it is distributed.
Note that each component instance in your code must be assigned a RuntimeLicense value.
Single Server Licensing - Linux/macOS
Single server licenses require the license to be activated on the system where the components will be used. In Linux and macOS the install-license utility is used to activate a license. Download the install-license utility from http://www.4dpayments.com/lic/install-license.tar.gz and extract the archive. After extracting, run the install-license utility. For instance:
./install-license YOUR_PRODUCT_KEY -p DPPHA
The single server license will be downloaded and stored in the ".DPayments" folder of the user's home directory (i.e. "~/.DPayments").
At runtime a valid license must be present in either the current directory or the ".DPayments" folder of the user's home directory.
Trial Licensing
When installing on Windows by running the setup executable, no other actions are required.
When installing on Linux or macOS visit the URL below to generate a 30-day Trial Runtime License value.
https://www.4dpayments.com/trial/DPPHA
After obtaining the RuntimeLicense value assign this to the RuntimeLicense property to license the application for deployment. For instance:
$component->setRuntimeLicense("Value From Above");
This provides a 30-day trial license to the component and your application will run without a license prompt on any machine to which it is distributed during that time.
Note that each component instance in your code must be assigned a RuntimeLicense value.
License Transfer
If you would like to transfer your license to another system, please complete our license transfer form. This will ensure your installations are not mistaken for license violations.
For additional information about our product activation process, please refer to our
product activation FAQ.