mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Authorization
This commit is contained in:
parent
fb712b546c
commit
6502ca0bf4
@ -15,12 +15,31 @@ namespace App\PaymentDrivers\Stripe;
|
|||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use App\PaymentDrivers\Common\MethodInterface;
|
use App\PaymentDrivers\Common\MethodInterface;
|
||||||
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
||||||
|
use Illuminate\Http\RedirectResponse;
|
||||||
|
|
||||||
class BrowserPay implements MethodInterface
|
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) { }
|
public function paymentView(array $data) { }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user