larabook / gateway

A Laravel package for connecting to all Iranian Banks
MIT License
242 stars 190 forks source link

Class 'Illuminate\Support\Facades\Input' not found in laravel 6 #198

Closed mohammadsalehnia closed 4 years ago

mohammadsalehnia commented 4 years ago

Symfony\Component\Debug\Exception\FatalThrowableError Class 'Illuminate\Support\Facades\Input' not found

Larabookir\Gateway\Zarinpal\Zarinpal::userPayment :210 C:\X\X\vendor\larabook\gateway\src\Zarinpal\Zarinpal.php

protected function userPayment()

{

    $this->authority = Input::get('Authority');

    $status = Input::get('Status');

    if ($status == 'OK') {

        return true;

    }

    $this->transactionFailed();

    $this->newLog(-22, ZarinpalException::$errors[-22]);

    throw new ZarinpalException(-22);

}
hpakdaman commented 4 years ago

supports laravel 6 since now ! update to the new version .