<?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 Handle Refunds from portal in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/72233#M44595</link>
    <description>&lt;P&gt;This is something im facing right now and seems like there are no previoues posts related to this.&lt;BR /&gt;&lt;BR /&gt;I have integrated Authorize.Dot net into my&amp;nbsp; application and have used Auth&amp;amp;Capture, Refunds service.&amp;nbsp;&lt;BR /&gt;when a user a create a Refund request from portal i need to store that in my database, when i configured webhooks i can successfully get the event but i really cant see how i can get the related captured transaction Id from the refund request,&lt;BR /&gt;&lt;BR /&gt;appreciate if someone can help&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2020 04:58:21 GMT</pubDate>
    <dc:creator>ishara119</dc:creator>
    <dc:date>2020-06-18T04:58:21Z</dc:date>
    <item>
      <title>Handle Refunds from portal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/72233#M44595</link>
      <description>&lt;P&gt;This is something im facing right now and seems like there are no previoues posts related to this.&lt;BR /&gt;&lt;BR /&gt;I have integrated Authorize.Dot net into my&amp;nbsp; application and have used Auth&amp;amp;Capture, Refunds service.&amp;nbsp;&lt;BR /&gt;when a user a create a Refund request from portal i need to store that in my database, when i configured webhooks i can successfully get the event but i really cant see how i can get the related captured transaction Id from the refund request,&lt;BR /&gt;&lt;BR /&gt;appreciate if someone can help&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 04:58:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/72233#M44595</guid>
      <dc:creator>ishara119</dc:creator>
      <dc:date>2020-06-18T04:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Refunds from portal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/72238#M44600</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A refund webhook returns a payload like the following :&lt;/P&gt;&lt;PRE&gt;{
  "_links": {
    "self": {
      "href": "/rest/v1/notifications/4775***97-b*********XXXX-54122195b746"
    }
  },
  "notificationId": "477XXXXXXX5b746",
  "deliveryStatus": "Delivered",
  "eventType": "net.authorize.payment.refund.created",
  "eventDate": "2020-06-18T10:09:46.03",
  "webhookId": "0d42602d-*******-6e2756",
  "payload": {
    "responseCode": 1,
    "avsResponse": "P",
    "authAmount": 2.00,
    "invoiceNumber": "123",
  &lt;STRONG&gt;  "entityName": "transaction",
    "id": "40050XXXXXX852"&lt;/STRONG&gt;
  },
  "notificationDate": "2020-06-18T10:09:53.897"
}&lt;/PRE&gt;&lt;P&gt;The two fields in webhook notifications identify the type of payload and the identification number associated with the webhook event.&lt;/P&gt;&lt;P&gt;entityName - one of several payload types:&lt;/P&gt;&lt;UL class="itemizedList"&gt;&lt;LI&gt;&lt;P&gt;transaction&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;customerProfile&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;customerPaymentProfile&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;subscription&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;id - one of the four primary IDs returned by the API request that created the resource:&lt;/P&gt;&lt;UL class="itemizedList"&gt;&lt;LI&gt;&lt;P&gt;transId&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;customerProfileId&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;customerPaymentProfileId&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;subscriptionId&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The type of ID shown in the id attribute corresponds to the type shown in the entityName field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then using the transaction ID you can get the details, including the&amp;nbsp;refTransId, with a getTransactionDetailsRequest:&lt;/P&gt;&lt;PRE&gt;{
    "getTransactionDetailsRequest": {
        "merchantAuthentication": {
            "name": "LOGIN_d",
            "transactionKey": "TRANSACTION_KEY"
        },
        "transId": "&lt;STRONG&gt;40050XXXXXX852&lt;/STRONG&gt;"
    }
}&lt;/PRE&gt;&lt;P&gt;Which returns:&lt;/P&gt;&lt;PRE&gt;{
    "transaction": {
        "transId": "&lt;STRONG&gt;40050XXXXXX852&lt;/STRONG&gt;",
        "refTransId": "4005****75",
        "submitTimeUTC": "2020-06-18T10:09:45.457Z",
        "submitTimeLocal": "2020-06-18T03:09:45.457",
        "transactionType": "refundTransaction",
        "transactionStatus": "refundPendingSettlement",
        "responseCode": 1,
        "responseReasonCode": 1,
        "responseReasonDescription": "Approval",
        "AVSResponse": "P",
        "order": {
            "invoiceNumber": "123",
            "description": "Out of stock",
            "discountAmount": 0,
            "taxIsAfterDiscount": false
        },
        "authAmount": 2,
        "settleAmount": 2,
        "taxExempt": false,
        "payment": {
            "creditCard": {
                "cardNumber": "XXXX0027",
                "expirationDate": "XXXX",
                "cardType": "Visa"
            }
        },
        "recurringBilling": false,
        "product": "Card Not Present",
        "marketType": "eCommerce"
    },
    "messages": {
        "resultCode": "Ok",
        "message": [
            {
                "code": "I00001",
                "text": "Successful."
            }
        ]
    }
}

             &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 10:49:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/72238#M44600</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2020-06-18T10:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Handle Refunds from portal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/75514#M47088</link>
      <description>&lt;P&gt;When we are getting any type of blunders then it's far being displayed on the authorize.Internet display screen itself &lt;A href="https://herborganic.co.uk/" target="_self"&gt;shop&lt;/A&gt;. Hence we aren't capable of get this transaction response information for declined/replica transaction in our gadget.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 04:18:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Handle-Refunds-from-portal/m-p/75514#M47088</guid>
      <dc:creator>farel363a</dc:creator>
      <dc:date>2021-03-30T04:18:17Z</dc:date>
    </item>
  </channel>
</rss>

