1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Authorization

This commit is contained in:
Benjamin Beganović 2021-10-31 14:52:15 +01:00
parent fb712b546c
commit 6502ca0bf4

View File

@ -15,12 +15,31 @@ namespace App\PaymentDrivers\Stripe;
use Illuminate\Http\Request;
use App\PaymentDrivers\Common\MethodInterface;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use Illuminate\Http\RedirectResponse;
class BrowserPay implements MethodInterface
{
public function authorizeView(array $data) { }
/**
* Authorization page for browser pay.
*
* @param array $data
* @return RedirectResponse
*/
public function authorizeView(array $data): RedirectResponse
{
return redirect()->route('client.payment_methods.index');
}
public function authorizeResponse(Request $request) { }
/**
* Handle the authorization for browser pay.
*
* @param Request $request
* @return RedirectResponse
*/
public function authorizeResponse(Request $request): RedirectResponse
{
return redirect()->route('client.payment_methods.index');
}
public function paymentView(array $data) { }