mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 14:44:46 -04: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'];
|
$this->payment_method = $data['payment_method_id'];
|
||||||
|
|
||||||
switch ($this->payment_method) {
|
switch ($this->payment_method) {
|
||||||
|
@ -72,9 +72,9 @@ class AuthorizePaymentDriver extends BaseDriver
|
|||||||
return (new AuthorizePaymentMethod($this))->authorizeView();
|
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)
|
public function processPaymentView($data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user