我正在尝试从Chase Payment Tech实施EUDD,但他们的文档很少。
我发送以下内容:
<?xml version="1.0" encoding="UTF-8"?>
<Request>
<NewOrder>
<IndustryType>EC</IndustryType>
<MessageType>AC</MessageType>
<BIN>000001</BIN>
<MerchantID>XXXXXX</MerchantID>
<TerminalID>001</TerminalID>
<CardBrand>ED</CardBrand>
<EUDDCountryCode>DE</EUDDCountryCode>
<EUDDBankSortCode>12345678</EUDDBankSortCode>
<AccountNum>8888888888</AccountNum>
<CurrencyCode>978</CurrencyCode>
<CurrencyExponent>2</CurrencyExponent>
<AVSzip>XXXXXX</AVSzip>
<AVSaddress1>XXXXXXX</AVSaddress1>
<AVSaddress2>XXXXXXXXXX</AVSaddress2>
<AVScity>XXXXXXXXXXX</AVScity>
<AVSstate>XX</AVSstate>
<AVSname>XXXXXXXXXXXXX</AVSname>
<AVScountryCode>DE</AVScountryCode>
<OrderID>94107</OrderID>
<Amount>4679</Amount>
<Comments>This a test</Comments>
</NewOrder>
</Request>
这就是我要回来的:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<QuickResp>
<ProcStatus>05</ProcStatus>
<StatusMsg>Request does not adhere to the DTD. Please correct and send again.</StatusMsg>
</QuickResp>
</Response>
我正在使用Chase的测试网址和测试帐户。
请有人建议。
答案 0 :(得分:1)
确定谁需要这样做,这是适用于API的正确工作版本,这个答案来自追逐支付技术,我测试并且工作得很好
<?xml version="1.0" encoding="UTF-8"?>
<Request>
<NewOrder>
<IndustryType>EC</IndustryType>
<MessageType>AC</MessageType>
<BIN>000001</BIN>
<MerchantID>XXXXXXXXXX</MerchantID>
<TerminalID>001</TerminalID>
<CardBrand>ED</CardBrand>
<AccountNum>8888888888</AccountNum>
<CurrencyCode>978</CurrencyCode>
<CurrencyExponent>2</CurrencyExponent>
<AVSzip>XXXXXXXXXXX</AVSzip>
<AVSaddress1>XXXXX</AVSaddress1>
<AVSaddress2>XXXXXXX</AVSaddress2>
<AVScity>XXXXXXXXXX</AVScity>
<AVSstate></AVSstate>
<AVSname>XXXXXXXXXXX</AVSnme>
<AVScountryCode></AVScountryCode>
<OrderID>94107</OrderID>
<Amount>4679</Amount>
<Comments>This a test</Comments>
<EUDDCountryCode>DE</EUDDCountryCode>
<EUDDBankSortCode>12345678</EUDDBankSortCode>
</NewOrder>
</Request>