diff --git a/src/Gateways/PorticoConnector.ts b/src/Gateways/PorticoConnector.ts index 4f2f4d6d..0d230578 100644 --- a/src/Gateways/PorticoConnector.ts +++ b/src/Gateways/PorticoConnector.ts @@ -1150,7 +1150,7 @@ export class PorticoConnector extends XmlGateway implements IPaymentGateway { if (acceptedCodes.indexOf(gatewayRspCode) === -1) { throw new GatewayError( - `Unexpected Gateway Response: ${gatewayRspCode} - ${gatewayRspText}`, + 'Unexpected Gateway Response', gatewayRspCode, gatewayRspText ); }