payu-mea / payu-mea-sdk-php
PayU MEA Secure Payments PHP SDK
Installs: 12 194
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Open Issues: 1
Requires (Dev)
- phpunit/phpunit: ^10.0
- satooshi/php-coveralls: ~0.6.1
This package is not auto-updated.
Last update: 2024-10-24 15:24:13 UTC
README
Welcome to PayU PHP SDK. This repository contains PayU's PHP SDK and samples for both Enterprise and Redirect SOAP API.
Please Note
The Payment Card Industry (PCI) Council has mandated that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayU has updated its services to require TLS 1.2 for all HTTPS connections. At this time, PayU will also require HTTP/1.1 for all connections.
You can sign up for a PayU account at https://payu.co.za.
Requirements
v1.* PHP 5.4 - PHP 7.4
v2.* PHP8 and above
Composer
You can install the bindings via Composer. Run the following command:
composer require payumea/payu-sdk-php
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Dependencies
The bindings require the following extension in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Documentation
Please see the sample/doc
directory for information on how to use this library
and the samples
directory for examples on using this library. You should
be able to run all the examples by running php samples/index.php
.
SDK Documentation
Everything from SDK Wiki, to Sample Codes, to Releases. Here are few quick links to get you there faster.
Please see for up-to-date documentation.
- Samples
- [ PayU Developer Docs] (http://help.payu.co.za/display/developers/)
Development
Install dependencies:
composer install
Tests
Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:
./vendor/bin/phpunit
Or to run an individual test file:
./vendor/bin/phpunit tests/PayU/Test/Api/AmounTest.php