mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Authorization
This commit is contained in:
parent
0e5b5393d3
commit
a7c7f58bb5
@ -13,6 +13,8 @@ use App\Models\Payment;
|
|||||||
use App\Models\PaymentType;
|
use App\Models\PaymentType;
|
||||||
use App\Models\SystemLog;
|
use App\Models\SystemLog;
|
||||||
use App\PaymentDrivers\GoCardlessPaymentDriver;
|
use App\PaymentDrivers\GoCardlessPaymentDriver;
|
||||||
|
use Illuminate\Contracts\Container\BindingResolutionException;
|
||||||
|
use Illuminate\Http\RedirectResponse;
|
||||||
|
|
||||||
class InstantBankPay implements MethodInterface
|
class InstantBankPay implements MethodInterface
|
||||||
{
|
{
|
||||||
@ -25,12 +27,28 @@ class InstantBankPay implements MethodInterface
|
|||||||
$this->go_cardless->init();
|
$this->go_cardless->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function authorizeView(array $data)
|
/**
|
||||||
|
* Authorization page for Instant Bank Pay.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @return RedirectResponse
|
||||||
|
* @throws BindingResolutionException
|
||||||
|
*/
|
||||||
|
public function authorizeView(array $data): RedirectResponse
|
||||||
{
|
{
|
||||||
|
return redirect()->back();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function authorizeResponse(Request $request)
|
/**
|
||||||
|
* Handle authorization for Instant Bank Pay.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @return RedirectResponse
|
||||||
|
* @throws BindingResolutionException
|
||||||
|
*/
|
||||||
|
public function authorizeResponse(Request $request): RedirectResponse
|
||||||
{
|
{
|
||||||
|
return redirect()->back();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function paymentView(array $data)
|
public function paymentView(array $data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user