mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fixes for injecting gateway into views
This commit is contained in:
parent
c26904645b
commit
df0e9e0a73
@ -53,6 +53,8 @@ class ACH
|
|||||||
|
|
||||||
public function authorizeView(array $data)
|
public function authorizeView(array $data)
|
||||||
{
|
{
|
||||||
|
$data['gateway'] = $this->forte;
|
||||||
|
|
||||||
return render('gateways.forte.ach.authorize', $data);
|
return render('gateways.forte.ach.authorize', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +83,7 @@ class ACH
|
|||||||
$this->forte->payment_hash->data = array_merge((array) $this->forte->payment_hash->data, $data);
|
$this->forte->payment_hash->data = array_merge((array) $this->forte->payment_hash->data, $data);
|
||||||
$this->forte->payment_hash->save();
|
$this->forte->payment_hash->save();
|
||||||
|
|
||||||
$data['gateway'] = $this;
|
$data['gateway'] = $this->forte;
|
||||||
return render('gateways.forte.ach.pay', $data);
|
return render('gateways.forte.ach.pay', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user