Fixes for gateway id
This commit is contained in:
parent
2193da9f6f
commit
0d6820851f
|
|
@ -87,7 +87,7 @@ class Settings
|
|||
|
||||
public function getGatewayId(int $gateway_type_id): string
|
||||
{
|
||||
|
||||
//allows us to override the gateway id for credit card if configured.
|
||||
if ($gateway_type_id == GatewayType::CREDIT_CARD && strlen($this->powerboard->company_gateway->getConfigField('gatewayId') ?? '') > 1) {
|
||||
return $this->powerboard->company_gateway->getConfigField('gatewayId');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue