带有SOAP消息的第一个Data Global Gateway API错误:<!-[CDATA []]->

时间:2019-01-30 17:30:06

标签: soap payment-gateway firstdata

我正在尝试在电子商务网站上实现First data Global Gateway支付API,并且在向API服务器发送任何请求时出现以下错误:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
\t<faultcode>SOAP-ENV:Server</faultcode>
\t<faultstring xml:lang="en">
<![CDATA[

]]>
</SOAP-ENV:Fault>

这是发送到服务器的Soap消息的示例:

 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <ipgapi:IPGApiOrderRequest xmlns:v1="http://ipg-online.com/ipgapi/schemas/v1" xmlns:ipgapi="http://ipg-online.com/ipgapi/schemas/ipgapi">
            <v1:Transaction>
                <v1:CreditCardTxType>
                    <v1:Type>sale</v1:Type>
                </v1:CreditCardTxType>
                <v1:CreditCardData>
                    <v1:CardNumber>00000000000000000</v1:CardNumber>
                    <v1:ExpMonth>11</v1:ExpMonth>
                    <v1:ExpYear>19</v1:ExpYear>
                    <v1:CardCodeValue>XXX</v1:CardCodeValue>
                </v1:CreditCardData>
                <v1:Payment>
                    <v1:ChargeTotal>1</v1:ChargeTotal>
                    <v1:Currency>840</v1:Currency>
                </v1:Payment>
            </v1:Transaction>
        </ipgapi:IPGApiOrderRequest>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

0 个答案:

没有答案