<?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 communication error - did transaction go through? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/communication-error-did-transaction-go-through/m-p/62228#M36590</link>
    <description>&lt;P&gt;If submitting a&amp;nbsp;createTransactionRequest, and there is a communication error, the POS application will not know if the transaction was processed or not. What is the best way to either&amp;nbsp;ensure that the transaction did not go through, or determine if it did so that the transaction can be recorded in the POS system?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other gateways that I've worked with, there was a facility to reverse a transaction by the merchant generated reference number. That way, you could ensure that the transaction did not go through.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is authorize.net's recommendation for handling this scenario?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this scenario, we wouldn't have an authorize.net generated transaction ID, only the merchant generated reference number. It doesn't look like you can look up or void a transaction based on only the reference number. The only thing I could come up with was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. use&amp;nbsp;getTransactionListForCustomerRequest to generate a list of transactions for that&amp;nbsp;customerProfileId/customerPaymentProfileId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. for transactions where the amount matches, and the time is close, use&amp;nbsp;getTransactionDetailsRequest to determine&amp;nbsp;if the transrefId matches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;if we find a match, then&amp;nbsp;we know the transaction ID from #1, so void the transaction, or record it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solution depends on the merchant having enabled the&amp;nbsp;Transaction Details API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 14:57:34 GMT</pubDate>
    <dc:creator>newuser2018</dc:creator>
    <dc:date>2018-03-21T14:57:34Z</dc:date>
    <item>
      <title>communication error - did transaction go through?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/communication-error-did-transaction-go-through/m-p/62228#M36590</link>
      <description>&lt;P&gt;If submitting a&amp;nbsp;createTransactionRequest, and there is a communication error, the POS application will not know if the transaction was processed or not. What is the best way to either&amp;nbsp;ensure that the transaction did not go through, or determine if it did so that the transaction can be recorded in the POS system?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other gateways that I've worked with, there was a facility to reverse a transaction by the merchant generated reference number. That way, you could ensure that the transaction did not go through.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is authorize.net's recommendation for handling this scenario?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this scenario, we wouldn't have an authorize.net generated transaction ID, only the merchant generated reference number. It doesn't look like you can look up or void a transaction based on only the reference number. The only thing I could come up with was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. use&amp;nbsp;getTransactionListForCustomerRequest to generate a list of transactions for that&amp;nbsp;customerProfileId/customerPaymentProfileId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. for transactions where the amount matches, and the time is close, use&amp;nbsp;getTransactionDetailsRequest to determine&amp;nbsp;if the transrefId matches&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;if we find a match, then&amp;nbsp;we know the transaction ID from #1, so void the transaction, or record it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solution depends on the merchant having enabled the&amp;nbsp;Transaction Details API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 14:57:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/communication-error-did-transaction-go-through/m-p/62228#M36590</guid>
      <dc:creator>newuser2018</dc:creator>
      <dc:date>2018-03-21T14:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: communication error - did transaction go through?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/communication-error-did-transaction-go-through/m-p/62231#M36592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/23701"&gt;@newuser2018&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use Webhooks for getting realtime notifications for payment events .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The notifications generated can be used to call getTransactionDetails to validate the&amp;nbsp;&lt;SPAN&gt;merchant&amp;nbsp; referenceID&amp;nbsp; for which the&amp;nbsp; communicationError was&amp;nbsp;received&amp;nbsp;&amp;nbsp;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/webhooks.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/webhooks.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are enhancing the Payment notifications to add in the merchant&amp;nbsp; referenceID .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps !!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 03:14:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/communication-error-did-transaction-go-through/m-p/62231#M36592</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-03-22T03:14:35Z</dc:date>
    </item>
  </channel>
</rss>

