mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 04:54:30 -04:00
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
|
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) {
|
if ($gateway_type_id == GatewayType::CREDIT_CARD && strlen($this->powerboard->company_gateway->getConfigField('gatewayId') ?? '') > 1) {
|
||||||
return $this->powerboard->company_gateway->getConfigField('gatewayId');
|
return $this->powerboard->company_gateway->getConfigField('gatewayId');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user