Paynopain Paylands service
You can get your Paylands account at Paynopain
PHP 5.5.0 and later.
You can install the library via Composer. Run the following command:
composer require wearemarketing/paylands-php
To use the library, use Composer's autoload:
We use HTTPPlug as the HTTP client abstraction layer, so you must install an HTTP client implementation an its corresponding adapter. In the followingnexample, we will use a Guzzle adapter to provide dependencies.
composer require php-http/guzzle6-adapter
If you want to use another HTTP client implementation, you can check here the full list of HTTP client implementations.
To execute the test suite just follow next steps.
Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:
To enable integration tests you must set your API keys in the PHPUnit's config file (see phpunit.xml.dist)
Find some of the community-supported libraries available for Paylands PHP listed below.
- PaymentSuite (Symfony bundle)