<?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: Looking for well formed XML for AIM refund and capture_only in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18544#M10282</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/5322"&gt;@TJPride&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Easy solution I would think would be to use one of the SDK API's (let's say PHP), only modify the code that actually sends the XML to Authorize.net and have it print it out for you. That way you can generate the XML for any protocol you want and see what it looks like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd go dig through the API and find the right spot to do this, but I have some work to get to.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;

It seems the SDK does not use the XML API for AIM. Since the others use it I would think they would have that one updated to use it as well. Maybe they have that in store for a future release?</description>
    <pubDate>Thu, 03 Nov 2011 20:06:24 GMT</pubDate>
    <dc:creator>stymiee</dc:creator>
    <dc:date>2011-11-03T20:06:24Z</dc:date>
    <item>
      <title>Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18522#M10271</link>
      <description>I'm trying to test out some new code I've written and I cannot seem to form the correct XML needed to issue a CREDIT or CAPTURE_ONLY via the AIM XML API. Is it possible for someone to post an example of well formed XML for a refund and/or capture_only using the AIM XML API?</description>
      <pubDate>Thu, 03 Nov 2011 18:57:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18522#M10271</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2011-11-03T18:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18528#M10274</link>
      <description>&lt;P&gt;Easy solution I would think would be to use one of the SDK API's (let's say PHP), only modify the code that actually sends the XML to Authorize.net and have it print it out for you. That way you can generate the XML for any protocol you want and see what it looks like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd go dig through the API and find the right spot to do this, but I have some work to get to.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 19:34:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18528#M10274</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-11-03T19:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18532#M10276</link>
      <description>&lt;P&gt;CaptureOnly, only tested on sandbox.&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;createTransactionRequest xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;merchantAuthentication&amp;gt;
		&amp;lt;name&amp;gt;LoginID&amp;lt;/name&amp;gt;
		&amp;lt;transactionKey&amp;gt;TranKey&amp;lt;/transactionKey&amp;gt;
	&amp;lt;/merchantAuthentication&amp;gt;
	&amp;lt;refId&amp;gt;myReferenceID&amp;lt;/refId&amp;gt;
	&amp;lt;transactionRequest&amp;gt;
		&amp;lt;transactionType&amp;gt;captureOnlyTransaction&amp;lt;/transactionType&amp;gt;
		&amp;lt;amount&amp;gt;5&amp;lt;/amount&amp;gt;
		&amp;lt;payment&amp;gt;
			&amp;lt;creditCard&amp;gt;
				&amp;lt;cardNumber&amp;gt;4111111111111111&amp;lt;/cardNumber&amp;gt;
				&amp;lt;expirationDate&amp;gt;1113&amp;lt;/expirationDate&amp;gt;
				&amp;lt;cardCode&amp;gt;999&amp;lt;/cardCode&amp;gt;
			&amp;lt;/creditCard&amp;gt;
		&amp;lt;/payment&amp;gt;
		&amp;lt;authCode&amp;gt;6char&amp;lt;/authCode&amp;gt;
		&amp;lt;transactionSettings&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;allowPartialAuth&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;duplicateWindow&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;0&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;emailCustomer&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;recurringBilling&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;testRequest&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
		&amp;lt;/transactionSettings&amp;gt;
	&amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 19:40:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18532#M10276</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-03T19:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18534#M10277</link>
      <description>&lt;P&gt;Refund&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;createTransactionRequest xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;merchantAuthentication&amp;gt;
		&amp;lt;name&amp;gt;loginID&amp;lt;/name&amp;gt;
		&amp;lt;transactionKey&amp;gt;TranKey&amp;lt;/transactionKey&amp;gt;
	&amp;lt;/merchantAuthentication&amp;gt;
	&amp;lt;refId&amp;gt;myReferenceID&amp;lt;/refId&amp;gt;
	&amp;lt;transactionRequest&amp;gt;
		&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;
		&amp;lt;amount&amp;gt;5&amp;lt;/amount&amp;gt;
		&amp;lt;payment&amp;gt;
			&amp;lt;creditCard&amp;gt;
				&amp;lt;cardNumber&amp;gt;XXXX1111&amp;lt;/cardNumber&amp;gt;
				&amp;lt;expirationDate&amp;gt;1113&amp;lt;/expirationDate&amp;gt;
			&amp;lt;/creditCard&amp;gt;
		&amp;lt;/payment&amp;gt;
		&amp;lt;refTransId&amp;gt;10digits&amp;lt;/refTransId&amp;gt;
		&amp;lt;transactionSettings&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;allowPartialAuth&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;duplicateWindow&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;0&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;emailCustomer&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;recurringBilling&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
			&amp;lt;setting&amp;gt;
				&amp;lt;settingName&amp;gt;testRequest&amp;lt;/settingName&amp;gt;
				&amp;lt;settingValue&amp;gt;false&amp;lt;/settingValue&amp;gt;
			&amp;lt;/setting&amp;gt;
		&amp;lt;/transactionSettings&amp;gt;
	&amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 19:46:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18534#M10277</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-03T19:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18542#M10281</link>
      <description>Thank you for posting those two samples. They showed me exactly what I needed to know.</description>
      <pubDate>Thu, 03 Nov 2011 20:05:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18542#M10281</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2011-11-03T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18544#M10282</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/5322"&gt;@TJPride&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Easy solution I would think would be to use one of the SDK API's (let's say PHP), only modify the code that actually sends the XML to Authorize.net and have it print it out for you. That way you can generate the XML for any protocol you want and see what it looks like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd go dig through the API and find the right spot to do this, but I have some work to get to.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;

It seems the SDK does not use the XML API for AIM. Since the others use it I would think they would have that one updated to use it as well. Maybe they have that in store for a future release?</description>
      <pubDate>Thu, 03 Nov 2011 20:06:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18544#M10282</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2011-11-03T20:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for well formed XML for AIM refund and capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18546#M10283</link>
      <description>&lt;P&gt;Oh, hmm. I guess I got thrown off by this in the shared file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if (preg_match('/xml/',$post_url)) {
            curl_setopt($curl_request, CURLOPT_HTTPHEADER, Array("Content-Type: text/xml"));
        }&lt;/PRE&gt;&lt;P&gt;Seemed to indicate that XML was being sent at least some of the time. And the documentation seems largely centered around XML protocols. But you're right, the AIM library seems to be constructing a POST string. So much for that idea.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 20:19:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Looking-for-well-formed-XML-for-AIM-refund-and-capture-only/m-p/18546#M10283</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-11-03T20:19:03Z</dc:date>
    </item>
  </channel>
</rss>

