我正在使用创建付款资料进行收费交易。但不确定为什么我会得到"客户资料创建失败。"错误。
这是我的要求。
<createTransactionRequest xmlns='AnetApi/xml/v1/schema/AnetApiSchema.xsd'>
<merchantAuthentication>
<name>***</name>
<transactionKey>***</transactionKey>
</merchantAuthentication>
<transactionRequest>
<transactionType>authCaptureTransaction</transactionType>
<amount>16.0</amount>
<payment>
<creditCard>
<cardNumber>5424000000000015</cardNumber>
<expirationDate>1217</expirationDate>
<cardCode>123</cardCode>
</creditCard>
</payment>
<profile>
<createProfile>true</createProfile>
</profile>
<customer>
<id>1509041488071M1S4JO7</id>
</customer>
<billTo>
<firstName>first name</firstName>
<lastName>last name</lastName>
<address>test address</address>
<city>test city</city>
<state>TX</state>
<zip>12345</zip>
<country>USA</country>
</billTo>
</transactionRequest>
</createTransactionRequest>
这是我收到的回复。
<?xml version="1.0" encoding="utf-8"?><createTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<messages>
<resultCode>Ok</resultCode>
<message>
<code>I00001</code>
<text>Successful.</text>
</message>
</messages>
<transactionResponse>
<responseCode>4</responseCode>
<authCode />
<avsResultCode>P</avsResultCode>
<cvvResultCode />
<cavvResultCode />
<transId>60032849402</transId>
<refTransID />
<transHash>50548437B6AA41F3C509C37269336E3E</transHash>
<testRequest>0</testRequest>
<accountNumber>XXXX0015</accountNumber>
<accountType>MasterCard</accountType>
<messages>
<message>
<code>252</code>
<description>Your order has been received. Thank you for your business!</description>
</message>
</messages>
<transHashSha2 />
</transactionResponse>
<profileResponse>
<messages>
<resultCode>Error</resultCode>
<message>
<code>E00101</code>
<text>Customer profile creation failed.</text>
</message>
</messages>
</profileResponse>
</createTransactionResponse>
但不确定我为什么会这样做&#34;客户资料创建失败。&#34;错误。
交易正在成功创建。
答案 0 :(得分:2)
响应原因代码252表示由于您在Merchant Interface中设置的设置,该交易已被保留以供审核。检查商家界面中的欺诈筛选设置,以查看其设置要保留的内容。发送不同的测试数据以绕过您设置的筛选过滤器,或更改过滤器设置。