<?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: How to Block Duplicate Transactions on CyberSource REST API in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83859#M315</link>
    <description>&lt;P&gt;Use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;clientReferenceInformation&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transactionId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field. You can see this in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.cybersource.com/api-reference-assets/index.html#payments_payments_process-a-payment" target="_blank" rel="nofollow noopener noreferrer"&gt;the playground&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://shagle.download" target="_blank" rel="noopener"&gt;shagle&lt;/A&gt;&lt;A href="https://voojio.com/chatroom/omegle" target="_blank" rel="noopener"&gt;voojio&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;with a request body like:&lt;/P&gt;&lt;PRE&gt;{
  "clientReferenceInformation": {
    "code": "TC50171_3",
    "transactionId": "465465411adfasdfsdf"
  },
  "processingInformation": {
    "reconciliationId": "1234"
  },
  "paymentInformation": {
    "card": {
      "number": "4111111111111111",
      "expirationMonth": "12",
      "expirationYear": "2031"
    }
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount": "102.21",
      "currency": "USD"
    },
    "billTo": {
      "firstName": "John",
      "lastName": "Doe",
      "address1": "1 Market St",
      "locality": "san francisco",
      "administrativeArea": "CA",
      "postalCode": "94105",
      "country": "US",
      "email": "test@cybs.com",
      "phoneNumber": "4158880000"
    }
  }
}&lt;/PRE&gt;&lt;P&gt;If you include the same&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transactionId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;twice, the backend will tell you to get&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;INVALID_DATA. I would actually expect it to return&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;DUPLICATE_REQUEST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as a reason, (it's in their list of possible responses) but this is better than a poke in the eye with a sharp stick.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 10:08:43 GMT</pubDate>
    <dc:creator>HumeleJotesane</dc:creator>
    <dc:date>2022-08-22T10:08:43Z</dc:date>
    <item>
      <title>How to Block Duplicate Transactions on CyberSource REST API</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83839#M306</link>
      <description>&lt;P&gt;The CyberSource payments system seems to have a method of preventing duplicate transactions, as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.cybersource.com/s/article/How-do-I-block-duplicate-orders" target="_blank" rel="nofollow noopener noreferrer"&gt;covered here&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This functionality looks at the Merchant Reference Number (MRN) of successful orders submitted within the last 15 minutes of a previous order, and blocks any duplicate transactions submitted with the same MRN.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Hosted_Checkout/html/Topics/Reason_Codes.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Reason Code 104: The access_key and transaction_uuid fields for this authorization request match the access_key and transaction_uuid fields of another authorization request that you sent within the past 15 minutes.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Although it's obvious you need to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transaction_uuid&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for earlier APIs such as KVP, it's not clear which field to use for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.cybersource.com/api-reference-assets/index.html#payments_payments_process-a-payment" target="_blank" rel="nofollow noopener noreferrer"&gt;REST API&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 06:18:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83839#M306</guid>
      <dc:creator>HarmerWiltriz</dc:creator>
      <dc:date>2022-08-19T06:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Block Duplicate Transactions on CyberSource REST API</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83859#M315</link>
      <description>&lt;P&gt;Use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;clientReferenceInformation&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transactionId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field. You can see this in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.cybersource.com/api-reference-assets/index.html#payments_payments_process-a-payment" target="_blank" rel="nofollow noopener noreferrer"&gt;the playground&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://shagle.download" target="_blank" rel="noopener"&gt;shagle&lt;/A&gt;&lt;A href="https://voojio.com/chatroom/omegle" target="_blank" rel="noopener"&gt;voojio&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;with a request body like:&lt;/P&gt;&lt;PRE&gt;{
  "clientReferenceInformation": {
    "code": "TC50171_3",
    "transactionId": "465465411adfasdfsdf"
  },
  "processingInformation": {
    "reconciliationId": "1234"
  },
  "paymentInformation": {
    "card": {
      "number": "4111111111111111",
      "expirationMonth": "12",
      "expirationYear": "2031"
    }
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount": "102.21",
      "currency": "USD"
    },
    "billTo": {
      "firstName": "John",
      "lastName": "Doe",
      "address1": "1 Market St",
      "locality": "san francisco",
      "administrativeArea": "CA",
      "postalCode": "94105",
      "country": "US",
      "email": "test@cybs.com",
      "phoneNumber": "4158880000"
    }
  }
}&lt;/PRE&gt;&lt;P&gt;If you include the same&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;transactionId&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;twice, the backend will tell you to get&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;INVALID_DATA. I would actually expect it to return&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;DUPLICATE_REQUEST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as a reason, (it's in their list of possible responses) but this is better than a poke in the eye with a sharp stick.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:08:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83859#M315</guid>
      <dc:creator>HumeleJotesane</dc:creator>
      <dc:date>2022-08-22T10:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Block Duplicate Transactions on CyberSource REST API</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83877#M320</link>
      <description>&lt;P&gt;This functionality looks at the Merchant Reference Number (MRN) of successful orders submitted within the last 15 minutes of a previous order, and blocks any duplicate transactions submitted with the same MRN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.myaccountaccess.website/" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;my account access&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 19:00:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/How-to-Block-Duplicate-Transactions-on-CyberSource-REST-API/m-p/83877#M320</guid>
      <dc:creator>Rolfsonbury</dc:creator>
      <dc:date>2022-08-23T19:00:05Z</dc:date>
    </item>
  </channel>
</rss>

