mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for authorize
This commit is contained in:
parent
150bb9c396
commit
ed1539db50
@ -64,8 +64,10 @@ class AuthorizePaymentMethod
|
||||
|
||||
}
|
||||
|
||||
public function authorizeResponseView($data)
|
||||
public function authorizeResponseView($request)
|
||||
{
|
||||
$data = $request->all();
|
||||
|
||||
$this->payment_method = $data['payment_method_id'];
|
||||
|
||||
switch ($this->payment_method) {
|
||||
|
@ -72,9 +72,9 @@ class AuthorizePaymentDriver extends BaseDriver
|
||||
return (new AuthorizePaymentMethod($this))->authorizeView();
|
||||
}
|
||||
|
||||
public function authorizeResponse(array $data)
|
||||
public function authorizeResponse($request)
|
||||
{
|
||||
return (new AuthorizePaymentMethod($this))->authorizeResponseView($data);
|
||||
return (new AuthorizePaymentMethod($this))->authorizeResponseView($request);
|
||||
}
|
||||
|
||||
public function processPaymentView($data)
|
||||
|
Loading…
Reference in New Issue
Block a user