如何正确地将第二个密码键盘添加到 ChipDNA 服务器配置文件中?

How do you properly add a 2nd pinpad to the ChipDNA Server Configuration File?

我已经完全设置了 ChipDNA 服务器并且 运行,它能够与我位于同一网络的不同计算机上的虚拟 PinPad 通信。这是正在运行的示例配置文件:

<?xml version="1.0" encoding="utf-8"?><ChipDnaServer version="1.0.0">
<MachineName>localhost</MachineName>
<ApplicationIdentifier>CBXTEST</ApplicationIdentifier>
<Socket>192.168.1.164:1869</Socket>
<Terminals>
    <Terminal>
        <TerminalId>99961609</TerminalId>
        <TransactionKey>0gmKTUTZdwQDT5AV</TransactionKey>
        <PaymentDevices>
            <PaymentDevice>        
                <Model>Creditcall-Virtual-Attended</Model>
                <Id>29252553</Id>
                <Protocol>TCPIP</Protocol>
                <Port>1870</Port>
                <Address>192.168.1.250</Address>
                <Baudrate>9600</Baudrate>
                <Parity>none</Parity>
                <Stopbits>1</Stopbits>
                <Databits>8</Databits>
                <StandbyMessage>Welcome to CBX Jose!</StandbyMessage>
            </PaymentDevice>
        </PaymentDevices>
    </Terminal>
</Terminals>
<Tms>
    <Servers>
        <Server>
            <Url>https://testtms.cardeasexml.com</Url>
            <Timeout>45000</Timeout>
        </Server>
    </Servers>
</Tms>

现在,我尝试通过添加另一个 .但是我收到错误代码 "DuplicatePaymentDevice":

<?xml version="1.0" encoding="utf-8"?><ChipDnaServer version="1.0.0">
<MachineName>localhost</MachineName>
<ApplicationIdentifier>CBXTEST</ApplicationIdentifier>
<Socket>192.168.1.164:1869</Socket>
<Terminals>
    <Terminal>
        <TerminalId>99961609</TerminalId>
        <TransactionKey>0gmKTUTZdwQDT5AV</TransactionKey>
        <PaymentDevices>
            <PaymentDevice>        
                <Model>Creditcall-Virtual-Attended</Model>
                <Id>29252553</Id>
                <Protocol>TCPIP</Protocol>
                <Port>1870</Port>
                <Address>192.168.1.250</Address>
                <Baudrate>9600</Baudrate>
                <Parity>none</Parity>
                <Stopbits>1</Stopbits>
                <Databits>8</Databits>
                <StandbyMessage>Welcome to CBX Jose!</StandbyMessage>
            </PaymentDevice>
            <PaymentDevice>        
                <Model>Creditcall-Virtual-Attended</Model>
                <Id>29252555</Id>
                <Protocol>TCPIP</Protocol>
                <Port>1870</Port>
                <Address>192.168.1.267</Address>
                <Baudrate>9600</Baudrate>
                <Parity>none</Parity>
                <Stopbits>1</Stopbits>
                <Databits>8</Databits>
                <StandbyMessage>Welcome to CBX Jose!</StandbyMessage>
            </PaymentDevice>
        </PaymentDevices>
    </Terminal>
</Terminals>
<Tms>
    <Servers>
        <Server>
            <Url>https://testtms.cardeasexml.com</Url>
            <Timeout>45000</Timeout>
        </Server>
    </Servers>
</Tms>

我翻了很多CreditCall的文档,都没有'multiple devices'的例子,只说'ChipDNA Server is capable of controlling multiple devices'。如您所见,ID 与之前的 ID 以及 IP 地址都不同,但我仍然收到错误。有什么建议吗?

看来包含 ChipDNA 服务器的 CreditCall SDK 目前在 Whosebug 上并不流行。但是,我已经与 CreditCall 支持部门进行了交谈,并得到了我的答复,以防将来其他人需要此信息:

ChipDNA 服务器上的每个独立 PinPad 都需要它们自己的终端 ID 来执行单独的交易。在我问这个问题时,我们只分配了一个终端 ID,因此我的 .config 文件将无法工作。 CreditCall 然后为我们设置了两个额外的终端,我们只需将每个终端添加到配置中即可:

<?xml version="1.0" encoding="utf-8"?><ChipDnaServer version="1.0.0">
<MachineName>localhost</MachineName>
<ApplicationIdentifier>CBXTEST</ApplicationIdentifier>
<Socket>192.168.1.164:1869</Socket>
<Terminals>
    <Terminal>
        <TerminalId>****1649</TerminalId>
        <TransactionKey>paTKZJ5kTtEArt3X</TransactionKey>
        <PaymentDevices>
            <PaymentDevice>        
                <Model>Creditcall-Virtual-Attended</Model>
                <Id>29252553</Id>
                <Protocol>TCPIP</Protocol>
                <Port>1870</Port>
                <Address>192.168.1.167</Address>
                <!--<Baudrate>9600</Baudrate>
                <Parity>none</Parity>
                <Stopbits>1</Stopbits>
                <Databits>8</Databits>-->
                <StandbyMessage>Welcome to CBX Alfonso!</StandbyMessage>
                <DeviceActive>true</DeviceActive>
            </PaymentDevice>
        </PaymentDevices>
    </Terminal>
    <Terminal>
        <TerminalId>****1648</TerminalId>
        <TransactionKey>muZAAAAARvtn33DXk</TransactionKey>
        <PaymentDevices>
            <PaymentDevice>        
                <Model>Creditcall-Virtual-Attended</Model>
                <Id>29252555</Id>
                <Protocol>TCPIP</Protocol>
                <Port>1870</Port>
                <Address>192.168.1.164</Address>
                <!--<Baudrate>9600</Baudrate>
                <Parity>none</Parity>
                <Stopbits>1</Stopbits>
                <Databits>8</Databits>-->
                <StandbyMessage>Welcome to CBX ServIOT!</StandbyMessage>
                <DeviceActive>true</DeviceActive>
            </PaymentDevice>
        </PaymentDevices>
    </Terminal>
    <Terminal>
        <TerminalId>****1609</TerminalId>
        <TransactionKey>0gmAAAAAdwQDT5AV</TransactionKey>
        <PaymentDevices>
            <PaymentDevice>        
                <Model>Creditcall-Virtual-Attended</Model>
                <Id>29252554</Id>
                <Protocol>TCPIP</Protocol>
                <Port>1870</Port>
                <Address>192.168.1.250</Address>
                <!--<Baudrate>9600</Baudrate>
                <Parity>none</Parity>
                <Stopbits>1</Stopbits>
                <Databits>8</Databits>-->
                <StandbyMessage>Welcome to CBX Jose!</StandbyMessage>
                <DeviceActive>true</DeviceActive>
            </PaymentDevice>
        </PaymentDevices>
    </Terminal>
</Terminals>
<Tms>
    <Servers>
        <Server>
            <Url>https://testtms.cardeasexml.com</Url>
            <Timeout>45000</Timeout>
        </Server>
    </Servers>
</Tms>

此配置具有所有 3 个密码键盘,位于同一网络内的不同计算机上,用于与 ChipDNA 服务器通信。