Download the PHP package ravols/everifin-sdk-php without Composer
On this page you can find all versions of the php package ravols/everifin-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ravols/everifin-sdk-php
More information about ravols/everifin-sdk-php
Files in ravols/everifin-sdk-php
Package everifin-sdk-php
Short Description PHP sdk for Everifin payment gateway.
License MIT
Homepage https://github.com/ravols/everifin-sdk-php
Informations about the package everifin-sdk-php
PHP SDK for Everifin payment gateway
This package is a clean SDK for PHP implementation of Everifin Payment Gateway. By using this package you can create new payments, redirects to gateway and process payments in no time.
Installation
You can install the package via composer:
Usage
There are multiple modules each representing a domain of services that everifin provides. Let's say you want the most wanted things, which is to create a new order and get a redirect url which will take your customer to Everifin payment gateway, so that you customer can pay for your order.
First of all we need to setup a Config object.
This config needs to be setup only once, as it is accessible as a singleton throughout your application lifecycle.
Lets create new everifin order in order to get our payment redirect url.
Great! So now we have our link and let's simulate that we want to process this payment once your customer pays or cancels the payment.
List of statuses and more information about everifin API can be found in their documentation
Credits
License
The MIT License (MIT). Please see License File for more information.