<?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: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53578#M28686</link>
    <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19254"&gt;@mkienenb﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OK, I got some further clarification and what I said before wasn't completely correct. &amp;nbsp;You are still required to pass the last 4 of the card number but you can use &lt;A href="http://developer.authorize.net/api/reference/index.html#transaction-reporting-get-transaction-details" target="_self"&gt;getTransactionDetails&lt;/A&gt; and it will return the exact &amp;lt;payment&amp;gt; object you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We still need to update our documentation to make this more clear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2016 18:25:01 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2016-01-22T18:25:01Z</dc:date>
    <item>
      <title>refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53573#M28682</link>
      <description>&lt;P&gt;I am converting my in-house form/value pair AIM application to using the Java SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One problem I've just run into is that the refundTransaction in the new XML Gateway apparently requires providing an expiration date while the AIM gateway only required the transaction id with an optional last four digits for a Credit (Refund).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the expiration date needed in the new XML gateway?&amp;nbsp;&amp;nbsp; This is problematic because the expiration date is no longer available in many situations, only the last four digits of the card and the original transaction id.&amp;nbsp;&amp;nbsp; We do not want to store an expiration date for a card that the customer has specified should be deleted.&amp;nbsp;&amp;nbsp; Why require us to pass something that is obviously not necessary?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any plans to change this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;form/value gateway docs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;At least the last four digits of the credit card number (x_card_num) used for the&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;original, successfully settled transaction are submitted. An expiration date is not&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;required.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDK docs for refundTransaction (verified by practice as well):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cardNumber&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Required.&lt;/STRONG&gt;&lt;BR /&gt;The customer’s credit card number.&lt;/TD&gt;&lt;TD&gt;&lt;DIV&gt;4 digits without spaces&lt;BR /&gt;&lt;BR /&gt;Only the last four digits are required for credit card transactions.&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;expirationDate&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Required.&lt;/STRONG&gt;&lt;BR /&gt;The customer’s credit card expiration date.&lt;BR /&gt;Optional for Card Present.&lt;BR /&gt;&lt;BR /&gt;This is sensitive cardholder information and must be stored securely and in accordance with the Payment Card Industry (PCI) Data Security Standard.&lt;BR /&gt;&lt;BR /&gt;For more information about PCI, please refer to the Standards, Compliance and Security developer training video at &lt;A href="http://developer.authorize.net/training." target="_blank"&gt;http://developer.authorize.net/training.&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV&gt;One of the following:&lt;BR /&gt;&lt;BR /&gt;MMYY,&lt;BR /&gt;MM/YY,&lt;BR /&gt;MM-YY, MMYYYY,&lt;BR /&gt;MM/YYYY,&lt;BR /&gt;MM-YYYY&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:18:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53573#M28682</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-01-22T16:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53574#M28683</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19254"&gt;@mkienenb﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you pass a masked card number you must also include an expiration date. &amp;nbsp;Or you can use just the transactionID which doesn't require any other data&amp;amp;colon;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="table table-condensed"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="oneBullet"&gt;refTransId&lt;/TD&gt;
&lt;TD&gt;&lt;STRONG&gt;Required.&lt;/STRONG&gt; &lt;BR /&gt;Transaction ID of the original settled transaction. &lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;String.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've created a ticket with our documentation team to make this more clear in the API Reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:28:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53574#M28683</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-01-22T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53575#M28684</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp; That works even better.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:34:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53575#M28684</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-01-22T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53576#M28685</link>
      <description>&lt;P&gt;Unfortunately, if you do not specify the credit card information, you still get back an error stating "&lt;/P&gt;&lt;PRE&gt;Credit card number is required."&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Here's the results of trying an refundTransaction without specifying a payment section (via the SDK):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;HttpUtility: Posting request to Url: 'https://apitest.authorize.net/xml/v1/request.api'
HttpUtility: Request: '
&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
    &amp;lt;merchantAuthentication&amp;gt;
        &amp;lt;name&amp;gt;[removed]&amp;lt;/name&amp;gt;
        &amp;lt;transactionKey&amp;gt;[removed]&amp;lt;/transactionKey&amp;gt;
    &amp;lt;/merchantAuthentication&amp;gt;
    &amp;lt;transactionRequest&amp;gt;
        &amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;
        &amp;lt;amount&amp;gt;2.08&amp;lt;/amount&amp;gt;
        &amp;lt;refTransId&amp;gt;2249321640&amp;lt;/refTransId&amp;gt;
        &amp;lt;userFields&amp;gt;
            [removed]
        &amp;lt;/userFields&amp;gt;
    &amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;

HttpCallTask: Raw Response:
'&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;createTransactionResponse
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;messages&amp;gt;
		&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;
		&amp;lt;message&amp;gt;
			&amp;lt;code&amp;gt;E00027&amp;lt;/code&amp;gt;
			&amp;lt;text&amp;gt;The transaction was unsuccessful.&amp;lt;/text&amp;gt;
		&amp;lt;/message&amp;gt;
	&amp;lt;/messages&amp;gt;
	&amp;lt;transactionResponse&amp;gt;
		&amp;lt;responseCode&amp;gt;3&amp;lt;/responseCode&amp;gt;
		&amp;lt;authCode /&amp;gt;
		&amp;lt;avsResultCode&amp;gt;P&amp;lt;/avsResultCode&amp;gt;
		&amp;lt;cvvResultCode /&amp;gt;
		&amp;lt;cavvResultCode /&amp;gt;
		&amp;lt;transId&amp;gt;0&amp;lt;/transId&amp;gt;
		&amp;lt;refTransID&amp;gt;2249321640&amp;lt;/refTransID&amp;gt;
		&amp;lt;transHash&amp;gt;7576A7CF33450F95407A046F4E80F4AE&amp;lt;/transHash&amp;gt;
		&amp;lt;testRequest&amp;gt;0&amp;lt;/testRequest&amp;gt;
		&amp;lt;accountNumber /&amp;gt;
		&amp;lt;accountType&amp;gt;Visa&amp;lt;/accountType&amp;gt;
		&amp;lt;errors&amp;gt;
			&amp;lt;error&amp;gt;
				&amp;lt;errorCode&amp;gt;33&amp;lt;/errorCode&amp;gt;
				&amp;lt;errorText&amp;gt;Credit card number is required.&amp;lt;/errorText&amp;gt;
			&amp;lt;/error&amp;gt;
		&amp;lt;/errors&amp;gt;
		&amp;lt;userFields&amp;gt;
			[removed]
		&amp;lt;/userFields&amp;gt;
	&amp;lt;/transactionResponse&amp;gt;
&amp;lt;/createTransactionResponse&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:01:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53576#M28685</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-01-22T17:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53578#M28686</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19254"&gt;@mkienenb﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OK, I got some further clarification and what I said before wasn't completely correct. &amp;nbsp;You are still required to pass the last 4 of the card number but you can use &lt;A href="http://developer.authorize.net/api/reference/index.html#transaction-reporting-get-transaction-details" target="_self"&gt;getTransactionDetails&lt;/A&gt; and it will return the exact &amp;lt;payment&amp;gt; object you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We still need to update our documentation to make this more clear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 18:25:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53578#M28686</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-01-22T18:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53579#M28687</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wow.&amp;nbsp; That is really incredibly ugly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sending a request to fetch information the gateway already has only to send it back to the gateway again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having only the original transaction required (like for void) makes far more sense.&amp;nbsp;&amp;nbsp; Do I need to post this "feature request" to the ideas forum, or can you submit it directly without me doing so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 18:59:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53579#M28687</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-01-22T18:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53581#M28689</link>
      <description>&lt;P&gt;If you post in the ideas forum, it allows other developers with similar thoughts to vote and increase it's potential. &amp;nbsp;But I can pass on the suggestion as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 19:47:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53581#M28689</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-01-22T19:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: refundTransaction requires expiration date in XML but never did in legacy AIM Credit (Refund)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53587#M28693</link>
      <description>&lt;P&gt;I've went ahead and posted it in the ideas forum here: &lt;A title="refundTransaction should not require anything other than original transaction ID" href="https://community.developer.cybersource.com/t5/Ideas/refundTransaction-should-not-require-anything-other-than/idi-p/53586" target="_blank"&gt;https://community.developer.authorize.net/t5/Ideas/refundTransaction-should-not-require-anything-other-than/idi-p/53586&amp;nbsp;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp; I'll go ahead and mark your message about using getTransactionDetail as a solution since it can work, although it's more like a bug workaround with performance issues.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 21:22:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/refundTransaction-requires-expiration-date-in-XML-but-never-did/m-p/53587#M28693</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-01-22T21:22:47Z</dc:date>
    </item>
  </channel>
</rss>

