这里的任何帮助都将不胜感激。
从3天前开始,我们的网站开始随机授权两次使用完全相同的细节的authorize.net CIM交易。由于这是突如其来的,我们端没有任何更改,我尝试设置duplicateWindow或x_duplicate_window来停止第二个事务,因为我不知道它来自哪里(它似乎没有关于何时发生的模式)。
下面是一个正在发送的似乎不起作用的xml示例。同样,任何帮助都将不胜感激。
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>ACCOUNT_ID</name>
<transactionKey>TRANS_KEY</transactionKey>
</merchantAuthentication>
<refId></refId>
<transaction>
<profileTransAuthOnly>
<amount>5.97</amount>
<customerProfileId>CUST_PROFILE</customerProfileId>
<customerPaymentProfileId>PAY_PROFILE</customerPaymentProfileId>
<order>
<invoiceNumber>4032486</invoiceNumber>
<description></description>
<purchaseOrderNumber></purchaseOrderNumber>
</order>
</profileTransAuthOnly>
</transaction>
<extraOptions><![CDATA[x_duplicate_window=10]]></extraOptions>
</createCustomerProfileTransactionRequest>发布于 2016-01-21 01:37:09
只是想在这里确认一下你并没有疯。我们看到,在我们的生产authorize.net帐户中,从1月12日和1月19日创建的两个批次中随机生成了重复的交易,在登录到该帐户后的一秒钟内。我昨天花了整个下午的时间试图弄清楚(下游代理重播POST等)。事实证明,完全相同的XML (切换标识符)将触发对test API端点的重复事务错误,但在生产中不会生成任何错误。似乎没有办法在生产中得到重复的事务错误。
在与他们的家人通了一段时间的电话后,我收集了大量关于这方面的信息,并将其发送给开发人员。我将另一个测试推送到生产环境,只是为了好玩,然后拿回了重复的事务错误。
https://stackoverflow.com/questions/34756698
复制相似问题