Payfort php Library for Merchant Page 2.0
go to path/to/config.php
to set all API configuration.
$ composer require ahmedsaoud31/payfort-php dev-master
or
{
"require": {
"ahmedsaoud31/payfort-php": "dev-master"
}
}
use
<?php
require 'vendor/autoload.php';
use Payfort\Payfort;
$payfort = new Payfort;
<?php
require 'path/to/Payfort.php';
use Payfort\Payfort;
$payfort = new Payfort;
https://testfort.payfort.com/api/docs/merchant-page-two/build/index.html