Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 842 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 842 Bytes

epay-alfabank for Laravel Framework

Equiring system from Alfa Bank

Install

  composer require dosarkz/epay-alfabank

Service provider

   Dosarkz\EPayAlfaBank\AlfaBankServiceProvider::class,

Facade

 'AlfaBank' => Dosarkz\EPayAlfaBank\Facades\AlfaBank::class,

Basic Pay

use Dosarkz\EPayAlfaBank\Facades\AlfaBank;
use Dosarkz\EPayAlfaBank\Requests\DoRegisterRequest;

 $params = [
    'userName' => '*',
                    'password' =>  '*',
                    'orderNumber' => '*',
                    'amount'    => '*',
                    'currency' => 398,
                    'returnUrl' => '*',
                    'description'   => '*',
                    'language'  => '*',
                    'pageView'  => '*',
 ]
 
 $pay = AlfaBank::registerDo(new DoRegisterRequest($params));