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;
|
||||
}
|
||||
|
||||
$accountGatewaySettings = AccountGatewaySettings::scope()->where('account_gateway_settings.gateway_type_id',
|
||||
'=', $gatewayTypeId)->first();
|
||||
$accountGatewaySettings = AccountGatewaySettings::scope(false, $this->invitation->account_id)
|
||||
->where('account_gateway_settings.gateway_type_id', '=', $gatewayTypeId)->first();
|
||||
|
||||
if ($accountGatewaySettings) {
|
||||
$invoice = $this->invoice();
|
||||
|
Loading…
x
Reference in New Issue
Block a user