Download the PHP package beyntech/safecharge-php without Composer
On this page you can find all versions of the php package beyntech/safecharge-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download beyntech/safecharge-php
More information about beyntech/safecharge-php
Files in beyntech/safecharge-php
Package safecharge-php
Short Description A PHP client library for accessing SafeCharge API
License MIT
Homepage https://github.com/SafeChargeInternational/safecharge-php
Informations about the package safecharge-php
SafeCharge REST API SDK for PHP
SafeCharge’s REST API SDK for PHP provides developer tools for accessing Safecharge's REST API. SafeCharge’s REST API is a simple, easy to use, secure and stateless API, which enables online merchants and service providers to process consumer payments through SafeCharge’s payment gateway. The API supports merchants of all levels of PCI certification, from their online and mobile merchant applications, and is compatible with a large variety of payment options, i.e. payment cards, alternative payment methods, etc. For SafeCharge REST API documentation, please see: https://www.safecharge.com/docs/api/
Requirements
PHP 5.4 or later.
Installation
Installation via Composer
Manual
If you do not wish to use Composer, you can download the latest release. Then include the init.php
file.
Dependencies
The PHP SDK require the following extension in order to work properly:
Configuration
Client
If your hash algorithm is md5 you should add parameter 'hashAlgorithm' with value 'md5' in the above array.
Or
If your hash algorithm is md5 add the following code right after the one above:
Logger
Logger can be configured with a PSR-3 compatible logger .
Example with Monolog
Example
Safecharge's PHP SDK appends merchantId, merchantSiteId, timestamp and checksum in the request.
All versions of safecharge-php with dependencies
ext-curl Version *
ext-json Version *