<?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: get unmask expiration date for accept.js refund process in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/72018#M44416</link>
    <description>&lt;P&gt;Late reply, but refunds do accept a masked expiration date since hosted payments you will never know what the value is.&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2020 17:58:03 GMT</pubDate>
    <dc:creator>kschaller1979</dc:creator>
    <dc:date>2020-05-21T17:58:03Z</dc:date>
    <item>
      <title>get unmask expiration date for accept.js refund process</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/68552#M41733</link>
      <description>&lt;P&gt;Hi, Can we unmask the detail like following?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; function getTransactionDetails($transactionId)
    {
        $merchantAuthentication = new AnetAPI\MerchantAuthenticationType();
        $merchantAuthentication-&amp;gt;setName();
        $merchantAuthentication-&amp;gt;setTransactionKey();
        
        // Set the transaction's refId
        $refId = 'ref' . time();
        $request = new AnetAPI\GetTransactionDetailsRequest();
        $request-&amp;gt;setMerchantAuthentication($merchantAuthentication);
        $request-&amp;gt;setTransId($transactionId);
        &lt;U&gt;&lt;STRONG&gt;$request-&amp;gt;setUnmaskExpirationDate(true); //Can we do like this&lt;/STRONG&gt;&lt;/U&gt;

        $controller = new AnetController\GetTransactionDetailsController($request);
        $response = $controller-&amp;gt;executeWithApiResponse(AUTHORIZENET_ENVIRONMENT);
         echo "&amp;lt;pre&amp;gt;";print_r($response);
  
  
        return $response;
    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$details=$authObj-&amp;gt;getTransactionDetails(12345678);&lt;BR /&gt;&lt;STRONG&gt;$creditCardExpdate = $details-&amp;gt;getTransaction()-&amp;gt;getPayment()-&amp;gt;getcreditCard()-&amp;gt;getexpirationDate();

echo $creditCardExpdate; // Can i unmask CC expiration date&lt;/STRONG&gt;

exit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for assist.&lt;/P&gt;&lt;P&gt;Kalpesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 12:02:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/68552#M41733</guid>
      <dc:creator>testing</dc:creator>
      <dc:date>2019-07-25T12:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: get unmask expiration date for accept.js refund process</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/68598#M41771</link>
      <description>&lt;P&gt;GetTransactionDetails does not support this parameter.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 22:33:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/68598#M41771</guid>
      <dc:creator>mmcguire</dc:creator>
      <dc:date>2019-07-30T22:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: get unmask expiration date for accept.js refund process</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/71400#M43950</link>
      <description>&lt;P&gt;This is a problem, for example in the case of trying to send a refund. The Refund api requires an unmasked expiration date.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2020 12:47:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/71400#M43950</guid>
      <dc:creator>Christophe</dc:creator>
      <dc:date>2020-04-04T12:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: get unmask expiration date for accept.js refund process</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/72018#M44416</link>
      <description>&lt;P&gt;Late reply, but refunds do accept a masked expiration date since hosted payments you will never know what the value is.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 17:58:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/get-unmask-expiration-date-for-accept-js-refund-process/m-p/72018#M44416</guid>
      <dc:creator>kschaller1979</dc:creator>
      <dc:date>2020-05-21T17:58:03Z</dc:date>
    </item>
  </channel>
</rss>

