Fix for payment error
This commit is contained in:
parent
092f842592
commit
fc5a462f5a
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue