<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CIM x_duplicate_window failure July 28? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46243#M23390</link>
    <description>&lt;P&gt;First, I can confirm that the default for the duplicate window is 120 seconds. Second, I would point out that a change in invoice number is enough to prevent the duplicate filter from kicking in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you receive a duplicate transaction result, it would mean that there was an identical transaction just before it. Did you record any other declined transaction details before you saw these errors?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2014 18:04:40 GMT</pubDate>
    <dc:creator>Trevor</dc:creator>
    <dc:date>2014-08-13T18:04:40Z</dc:date>
    <item>
      <title>CIM x_duplicate_window failure July 28?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46137#M23342</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We host an E-commerce and website building codebase for a few hundred clients. We've had an Authorize.net CIM implementation for several years now that generally works seamlessly. But on July 28, over a 6-hour window, one of our largest clients had 8 duplicate transactions process. The other days seem normal, with spot-checking/not hearing from their customers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of the transactions were less than 60 seconds apart. We build a unique invoiceNumber for each transaction in the format of (customerProfileId) "-" (last 10 digits of unix timestamp) so that's where I'm counting off the seconds elapsed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first question is, since we don't specify a number with x_duplicate_window in extraOptions, we'd thought there was a default of two minutes with that. That seems to be confirmed &lt;A target="_blank" href="https://community.developer.cybersource.com/t5/Integration-and-Testing/Duplicate-Transaction-has-been-submitted-Transaction-has-been/m-p/1974#M1744"&gt;in this thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that's the case, I would really love to know if there was some kind of outage or failure to check for duplicate transactions on that day. Then I could just report back to the customer that that is the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as user error, such as the individual shoppers double-clicking or refreshing a form submit, that was my first guess when I'd heard that one person did it... somehow getting through our protections, but eight in that short span when there weren't any at other times seems to indicate otherwise. I don't see anything weird with our server load history either which may not&amp;nbsp;be the only indication of site slowness/user impatience but something else I thought of.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple other points of interest:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;1. During this range of duplicate transactions there were also many that processed normally. Which is a good and bad thing for tracking.&lt;/LI&gt;&lt;LI&gt;2. Each of the duplicates actually generated a separate customerProfileId each time. Perhaps that is normative.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Currently, our transaction xml build is the following:&lt;/P&gt;&lt;PRE&gt;$bill_xml = "&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;
		      &amp;lt;createCustomerProfileTransactionRequest
		      xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\"&amp;gt;
		         ".
				 MerchantAuthenticationBlock().
		         "&amp;lt;transaction&amp;gt;
		         	&amp;lt;profileTransAuthCapture&amp;gt;
		               &amp;lt;amount&amp;gt;" . $amount . "&amp;lt;/amount&amp;gt;
		               &amp;lt;customerProfileId&amp;gt;" . $this-&amp;gt;customerProfileId . "&amp;lt;/customerProfileId&amp;gt;
		               &amp;lt;customerPaymentProfileId&amp;gt;" . $this-&amp;gt;customerPaymentProfileId  . "&amp;lt;/customerPaymentProfileId&amp;gt;
		               &amp;lt;order&amp;gt;
		         			&amp;lt;invoiceNumber&amp;gt;" . $authnet_invoice_number . "&amp;lt;/invoiceNumber&amp;gt;
		         	   &amp;lt;/order&amp;gt;
		            &amp;lt;/profileTransAuthCapture&amp;gt;
				  &amp;lt;/transaction&amp;gt;
		       &amp;lt;/createCustomerProfileTransactionRequest&amp;gt;";&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking about throwing in:&lt;/P&gt;&lt;PRE&gt;&amp;lt;extraOptions&amp;gt;&amp;lt;![CDATA[x_duplicate_window=300]]&amp;gt;&amp;lt;/extraOptions&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting that at five minutes just to be safe, but if it was failing at a presumed default of two minutes, maybe that's like padlocking a gate with a hole in the fence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any suggestions. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:30:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46137#M23342</guid>
      <dc:creator>mcuccaro</dc:creator>
      <dc:date>2014-08-11T14:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: CIM x_duplicate_window failure July 28?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46229#M23383</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/16753"&gt;@mcuccaro&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;It doesn't look like anyone has responded yet, but someone still may have feedback on what you're looking for. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2014 15:08:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46229#M23383</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2014-08-13T15:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: CIM x_duplicate_window failure July 28?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46243#M23390</link>
      <description>&lt;P&gt;First, I can confirm that the default for the duplicate window is 120 seconds. Second, I would point out that a change in invoice number is enough to prevent the duplicate filter from kicking in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you receive a duplicate transaction result, it would mean that there was an identical transaction just before it. Did you record any other declined transaction details before you saw these errors?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2014 18:04:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46243#M23390</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2014-08-13T18:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: CIM x_duplicate_window failure July 28?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46293#M23415</link>
      <description>&lt;P&gt;Thanks for the tip, Richard.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2014 13:04:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46293#M23415</guid>
      <dc:creator>mcuccaro</dc:creator>
      <dc:date>2014-08-15T13:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: CIM x_duplicate_window failure July 28?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46297#M23417</link>
      <description>&lt;P&gt;Hi Trevor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, so duplicate transaction detection is based on invoice number? I had hoped it was based on payment method plus dollar amount. Since that is the case, there was no failure in x_duplicate_window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each of these transactions there were four entries in the Auth.net log: two of them are the Voided $0 transactions for grabbing a&amp;nbsp;token and two are the transactions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;6368194315 116649330-1406565877 Settled Successfully 7/28/2014 9:44 V USD 27.00 7/28/2014 18:04
6368194263 none Voided 7/28/2014 9:44 V USD 0.00 7/28/2014 18:04
6368190133 116649139-1406565813 Settled Successfully 7/28/2014 9:43 V USD 27.00 7/28/2014 18:04
6368190059 none Voided 7/28/2014 9:43 V USD 0.00 7/28/2014 18:04&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can glean, then, is that somehow the customers were double-submitting their forms. Why they were doing this en masse in a six-hour window on July 28 may be do to traffic. This client has a large customer base and many of them were rushing to buy at once on a limited offer. As I said, we've had this programming in place for a few years and have never had an issue with double-submits. But it sounds like the problem was coming from our end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2014 13:18:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-x-duplicate-window-failure-July-28/m-p/46297#M23417</guid>
      <dc:creator>mcuccaro</dc:creator>
      <dc:date>2014-08-15T13:18:37Z</dc:date>
    </item>
  </channel>
</rss>

