Fixes for gateway id

This commit is contained in:
David Bomba 2024-09-24 09:22:04 +10:00
parent 2193da9f6f
commit 0d6820851f

View File

@ -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');
}