mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for payment error
This commit is contained in:
parent
092f842592
commit
fc5a462f5a
@ -833,8 +833,8 @@ class BasePaymentDriver
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$accountGatewaySettings = AccountGatewaySettings::scope()->where('account_gateway_settings.gateway_type_id',
|
$accountGatewaySettings = AccountGatewaySettings::scope(false, $this->invitation->account_id)
|
||||||
'=', $gatewayTypeId)->first();
|
->where('account_gateway_settings.gateway_type_id', '=', $gatewayTypeId)->first();
|
||||||
|
|
||||||
if ($accountGatewaySettings) {
|
if ($accountGatewaySettings) {
|
||||||
$invoice = $this->invoice();
|
$invoice = $this->invoice();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user