Download the PHP package everypay/everypay-php without Composer
On this page you can find all versions of the php package everypay/everypay-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package everypay-php
EveryPay PHP library
ATTENTION
You must be using this plugin together with our iFrame.
You cannot gather card data unless you are PCI DSS SAQ D Certification
Check our docs for more information
Installation
Include autoload.php
file in your application.
Installation with Composer
You can install this library using Composer
Information about how to install composer you can find here
Command line
In root directory of your project run through a console:
Composer.json
Include require line in your file
and run from console in the root directory of your project:
After this you must require autoload file from composer.
Getting Started
Documentation
Please see https://docs.everypay.gr/api-reference for up to date documentation.
Testing
First fill in your API keys in file fixtures.ini (please provide your sandbox-account API key).
Then, in root folder run one of the following available commands.
-
command-1 makes real API requests and applies to a 3D Secure account type.
-
command-2 makes real API requests and applies to an eCommerce account type.
- command-3 just performs local tests that do not make any real calls anywhere.
You may provide a specific test file at the end of each command (eg tests/PaymentTests.php) or else all tests will be performed (default).
Note 1: if you try to run one of the "live" API commands (1 or 2) that does not respond to your exact account type (3D-Secure or eCommerce) then that tests may fail or be skipped.
Note 2: if you do not have phpunit installed in your system, you may use composer to install it (provided you have already installed composer itself).
Note 3: as regards the "live" API requests (commands 1 and 2) make sure that in every test file, inside public function setUp, you safely provide the following command (already provided by default) in order for the calls to be redirected to your appropriate sandbox account rather than the real account.
Attention: not providing this command along with filling a real API key rather than the sandbox API key, will make your remote test calls (see commands 1 and 2 above) to be directed to your real account and therefore may result in real charges!
All versions of everypay-php with dependencies
ext-curl Version *
ext-json Version *