1
0
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:
David Bomba 2020-11-26 21:00:55 +11:00
parent 150bb9c396
commit ed1539db50
2 changed files with 5 additions and 3 deletions

View File

@ -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) {

View File

@ -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)