Download the PHP package ardcoras/netaxept without Composer
On this page you can find all versions of the php package ardcoras/netaxept. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ardcoras/netaxept
More information about ardcoras/netaxept
Files in ardcoras/netaxept
Package netaxept
Short Description Netaxept API integration package, fork of fdm/netaxept.
License MIT
Informations about the package netaxept
Netaxept API Library
This project provides a simple interface to NETS' Netaxept payment gateway.
Using the library
To install using composer:
Customising the Response factory.
The provided response classes only have methods for exposing the most common data. If you have a requirement to retrieve other data, then you simply create a response class that extends one of the existing, (or a completely new class that implements the appropriate interface.) and implement your methods. Then provide these fully qualified classnames to the constructor of the Factory() class.
Customising the Exception factory.
As with the Response factory, you can also provide your own factory class that will deal with raising the proper exceptions, allowing you to customise exception handling.
See the exception factory constructor for the supported exceptions.
Contributing
Some tools are provided to ease development. Clone the project and run
make docker-start
to start a PHP Docker container. Run make docker-shell
in order
to get a shell inside the container. Run composer install
to install dependencies.
Run make test
from inside the container to run tests, and make codecheck
to make
sure your code follows standards.
License
Copyright (c) Forenede Danske Motorejere (FDM). All rights reserved.
Licensed under the MIT License.