2017 © Pedro Peláez
 

library payfort

laravel payfort integration

image

ahyadessam/payfort

laravel payfort integration

  • Wednesday, November 29, 2017
  • by ahyadessam
  • Repository
  • 0 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel PayFort

    • This package is not a official package from PayFort just my develop *
  • it's a laravel package for PayFort Integration

1- Installation

  1. Require the package using composer:, (*1)

    composer require ahyadessam/payfort
    
  2. Add the service provider to the providers in config/app.php:, (*2)

    Payfort\PayfortServiceProvider::class,
    
    
  3. Add alias provider to the aliases in config/app.php:, (*3)

    'PayFort' => Payfort\PayFortFacade::class,
    
    
  4. Publish the public assets:, (*4)

    php artisan vendor:publish
    
  5. Configure your PayFort account data in config/payfort.php:, (*5)

2- Content Methods

  • RedirectionPay : Go to payment page.
  • SADAD : Got to SADAD page.
  • statusMsg : Return what status number mean.

Parameters is needed

You can lookup PayFort Documentations on this URL PayFort Documentations, (*6)

Example for payment page

use PayFort;

$requestParams = array(
  'merchant_reference' => '11',
  'amount' => '1000',
  'currency' => 'SAR',
  'customer_email' => 'test@payfort.com',
  'order_description' => 'iPhone 6-S',
  'return_url'    => url('test_r')
);
PayFort::RedirectionPay($requestParams);

3- Return URL Configuration

You must add return URL route to app/Http/Middleware/VerifyCsrfToken.php to allow to it receive POST without token, (*7)

4- Contact

for any question you can contact with me on twitter @AhyadEssam, thanks, (*8)

The Versions

29/11 2017

dev-master

9999999-dev https://github.com/ahyadessam/payfort

laravel payfort integration

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api packagist integration payfort

28/11 2017

1.0.2

1.0.2.0 https://github.com/ahyadessam/payfort

laravel payfort integration

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api packagist integration payfort

27/11 2017

1.0.1

1.0.1.0 https://github.com/ahyadessam/payfort

laravel payfort integration

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api packagist integration payfort

27/11 2017

1.0.0

1.0.0.0 https://github.com/ahyadessam/payfort

laravel payfort integration

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api packagist integration payfort