comerciaglobalpayments / phpsdk
There is no license information available for the latest version (V01.00.02) of this package.
PHP SDK for addonpayments
V01.00.02
2025-04-11 16:07 UTC
Requires (Dev)
- phpunit/phpunit: ^10
- vimeo/psalm: ^5.17
This package is auto-updated.
Last update: 2026-04-11 18:24:52 UTC
README
Introduction
This SDK is responsible for handling different payment methods (Host2Host, Hosted and JS Library) through simple functions calls by providing a few parameter needed in the payment (amount, currency, etc...)
Environment Requirement
Version >= PHP 8.0
Autoloading the SDK
include __DIR__ . '/vendor/autoload.php';
Namespace Imports
use AddonPaymentsSDK\AddonPaymentsSDK;
use AddonPaymentsSDK\Config\Configuration;
use AddonPaymentsSDK\Config\CountryCodes;
use AddonPaymentsSDK\Config\Parameters;
use AddonPaymentsSDK\Config\Credentials;
use AddonPaymentsSDK\Config\CurrencyCodes;
Currently Supported Operations
- Hosted Redirection
- Host to Host
- Javascript Auth token
- Javascript Charge Request
- Quix Hosted
- Quix Javascript