<?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: Problems getting ARB transaction subscriptions to save in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19516#M10747</link>
    <description>&lt;P&gt;Wow, that did it! They really ought to keep their certificates valid. Anyway, here is the response. I don't know what those junk characters are in the beginning. So not sure why the error, I don't see&amp;nbsp;E00002 on the list of error codes. What "content-type" is the API expecting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ï»¿&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse 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;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00002&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The content-type specified is not supported.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Nov 2011 19:16:01 GMT</pubDate>
    <dc:creator>bbdesign</dc:creator>
    <dc:date>2011-11-30T19:16:01Z</dc:date>
    <item>
      <title>Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19446#M10712</link>
      <description>&lt;PRE&gt;I am trying to send XML data to the ARB API to setup subscriptions, using an application I wrote in Classic ASP. I am actually doing two separate transactions. The first is a regular auth_capture to charge the credit card an initial amount of $20.00. I wait until that transaction goes through, receive success message from the API, clear out my objects, then create a new transaction for the ARB subscription. The auth_capture works fine, ARB does not. For the auth_capture I am sending x_login, x_Password and x_Tran_Key data. For the ARB I am sending name (same as x_login) and transactionKey (same as x_Tran_Key). I do not get a message back, no error message, no returned XML... the screen loads but the subscription does not appear when I check by logging into the Authorize.Net merchant website. My XML code is attached, I only removed the name, transactionKey and cardNumber data.&lt;/PRE&gt;&lt;PRE&gt;I am using a component called khttp.inet which I have used for sending/receiving XML in other applications. My ASP code looks like this:&lt;/PRE&gt;&lt;P&gt;set inet=server.CreateObject("khttp.inet")&lt;BR /&gt;set parser=server.CreateObject("Msxml2.DOMDocument.4.0")&lt;/P&gt;&lt;P&gt;inet.xml=xml&lt;BR /&gt;call inet.openurl("&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt;","GET")&lt;BR /&gt;returncontent=inet.content&lt;/P&gt;&lt;P&gt;parser.async=false&lt;BR /&gt;parser.loadxml(inet.content)&lt;/P&gt;&lt;P&gt;on error resume next&lt;BR /&gt;inet.close&lt;BR /&gt;set inet=nothing&lt;BR /&gt;parser.close&lt;BR /&gt;set parser=nothing&lt;BR /&gt;on error goto 0&lt;/P&gt;&lt;PRE&gt;I assume &lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt; is correct. The component asks for a GET or a POST. I have been using GET, not sure if that matters to the API or not.&lt;/PRE&gt;&lt;PRE&gt;I have been using AIM for many years, this is the first time a client has asked me to setup ARB. I wish I had an error message or something, but i'm not getting anything. When I write the variable returncontent, it is blank. Unless there is a problem loading XML data as text. Where I have parser.loadxml(inet.content), in another application unrelated to this project, that brings in the XML fine. I'm not sure how to properly read that, though.&lt;/PRE&gt;&lt;PRE&gt;I would appreciate any assistance. Thank you!&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;merchantAuthentication&amp;gt;
		&amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;
		&amp;lt;transactionKey&amp;gt;&amp;lt;/transactionKey&amp;gt;
	&amp;lt;/merchantAuthentication&amp;gt;
	&amp;lt;refId&amp;gt;Campaign 2012&amp;lt;/refId&amp;gt;
	&amp;lt;subscription&amp;gt;
		&amp;lt;name&amp;gt;Campaign 2012&amp;lt;/name&amp;gt;
		&amp;lt;paymentSchedule&amp;gt;
			&amp;lt;interval&amp;gt;
				&amp;lt;length&amp;gt;1&amp;lt;/length&amp;gt;
				&amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt;
			&amp;lt;/interval&amp;gt;
			&amp;lt;startDate&amp;gt;2011-11-30&amp;lt;/startDate&amp;gt;
			&amp;lt;totalOccurrences&amp;gt;12&amp;lt;/totalOccurrences&amp;gt;
		&amp;lt;/paymentSchedule&amp;gt;
		&amp;lt;amount&amp;gt;12.00&amp;lt;/amount&amp;gt;
		&amp;lt;payment&amp;gt;
			&amp;lt;creditCard&amp;gt;
				&amp;lt;cardNumber&amp;gt;&amp;lt;/cardNumber&amp;gt;
				&amp;lt;expirationDate&amp;gt;2014-04&amp;lt;/expirationDate&amp;gt;
			&amp;lt;/creditCard&amp;gt;
		&amp;lt;/payment&amp;gt;
		&amp;lt;order&amp;gt;
			&amp;lt;invoiceNumber&amp;gt;12422&amp;lt;/invoiceNumber&amp;gt;
		&amp;lt;/order&amp;gt;
		&amp;lt;customer&amp;gt;
			&amp;lt;id&amp;gt;10000&amp;lt;/id&amp;gt;
			&amp;lt;email&amp;gt;brad@bbdesign.com&amp;lt;/email&amp;gt;
			&amp;lt;phoneNumber&amp;gt;610-693-6080&amp;lt;/phoneNumber&amp;gt;
			&amp;lt;faxNumber&amp;gt;&amp;lt;/faxNumber&amp;gt;
		&amp;lt;/customer&amp;gt;
		&amp;lt;billTo&amp;gt;
			&amp;lt;firstName&amp;gt;Brad&amp;lt;/firstName&amp;gt;
			&amp;lt;lastName&amp;gt;Bansner&amp;lt;/lastName&amp;gt;
			&amp;lt;company&amp;gt;BB Design&amp;lt;/company&amp;gt;
			&amp;lt;address&amp;gt;245 Lamms Mill Road&amp;lt;/address&amp;gt;
			&amp;lt;city&amp;gt;Wernersville&amp;lt;/city&amp;gt;
			&amp;lt;state&amp;gt;PA&amp;lt;/state&amp;gt;
			&amp;lt;zip&amp;gt;19565&amp;lt;/zip&amp;gt;
			&amp;lt;country&amp;gt;UNITED STATES&amp;lt;/country&amp;gt;
		&amp;lt;/billTo&amp;gt;
	&amp;lt;/subscription&amp;gt;
&amp;lt;/ARBCreateSubscriptionRequest&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Nov 2011 18:45:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19446#M10712</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-29T18:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19454#M10716</link>
      <description>&lt;P&gt;"&lt;A target="_blank" href="https://api.authorize.net/xml/v1/request.api" rel="nofollow"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt;" should have return error if the input is blank.&lt;/P&gt;&lt;P&gt;Have you try just response.write out the inet.content? When the screen load, did it get any script error?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2011 21:04:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19454#M10716</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-29T21:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19490#M10734</link>
      <description>&lt;P&gt;I'm getting absolutely no response back. There was no script error on the page, it executed just the way I would expect, but no ARB happens. I'm doing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set inet=server.CreateObject("khttp.inet")&lt;BR /&gt;set parser=server.CreateObject("Msxml2.DOMDocument.4.0")&lt;/P&gt;&lt;P&gt;inet.xml=xml&lt;BR /&gt;call inet.openurl("&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt;","POST")&lt;BR /&gt;returncontent=inet.content&lt;/P&gt;&lt;P&gt;parser.async=false&lt;BR /&gt;parser.loadxml(returncontent)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...then response.write(returncontent) and there is nothing. I am also doing a response.write(xml) to make sure it is populated, and it is. I have tried both GET and POST, no affect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this same component on another website (same server) to pull in currency exchange rates, here is the (very similar) code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set inet=server.CreateObject("khttp.inet")&lt;BR /&gt;set parser=server.CreateObject("Msxml2.DOMDocument.4.0")&lt;/P&gt;&lt;P&gt;inet.xml=xml&lt;BR /&gt;call inet.openurl("&lt;A href="http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml" target="_blank"&gt;http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml&lt;/A&gt;","GET")&lt;/P&gt;&lt;P&gt;parser.async=false&lt;BR /&gt;parser.loadxml(inet.content)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That script runs once a day, and is successful. So I don't see why my ARB wouldn't be working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:35:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19490#M10734</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19496#M10737</link>
      <description>&lt;P&gt;Since it is https, maybe something is not setup correct for khttp.inet?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:52:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19496#M10737</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-30T16:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19500#M10739</link>
      <description>&lt;P&gt;But I am already doing auth_capture transactions using the same component:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;call inet.openurl("&lt;A href="https://secure.authorize.net/gateway/transact.dll" target="_blank"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;","POST")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those work fine.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:55:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19500#M10739</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T16:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19506#M10742</link>
      <description>&lt;P&gt;Can you even tell if it get to "&lt;A target="_blank" href="https://api.authorize.net/xml/v1/request.api" rel="nofollow"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt;"? is there other data from the response other than inet.content? Can't think of anything else since I don't have the same setup.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 17:31:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19506#M10742</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-30T17:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19510#M10744</link>
      <description>&lt;P&gt;The documentation for khttp is available here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.rainfall.com/coding/khttp.htm" target="_blank"&gt;http://www.rainfall.com/coding/khttp.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some other return variables, I ran another test and got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.content=&lt;BR /&gt;.contentlength=0&lt;BR /&gt;.headers=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand why I'm getting nothing. If I put the URL in my browser, I of course get an error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a setting called "ignore_ssl_errors", I would ASSUME authorize.net doesn't have that kind of a problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note there is a setting in that documentation called&amp;nbsp;&lt;STRONG&gt;XML Example&lt;/STRONG&gt;, the default is to use regular POST variables. But as I said, I have used this component many times for other XML transfers and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is rather frustrating.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:47:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19510#M10744</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T18:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19512#M10745</link>
      <description>&lt;P&gt;response.write the .header&lt;/P&gt;&lt;P&gt;and also set the ignore_ssl_errors, others had issue with ssl before.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:59:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19512#M10745</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-30T18:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19516#M10747</link>
      <description>&lt;P&gt;Wow, that did it! They really ought to keep their certificates valid. Anyway, here is the response. I don't know what those junk characters are in the beginning. So not sure why the error, I don't see&amp;nbsp;E00002 on the list of error codes. What "content-type" is the API expecting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ï»¿&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse 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;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00002&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The content-type specified is not supported.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:16:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19516#M10747</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T19:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19518#M10748</link>
      <description>&lt;P&gt;The content-type need to be "text/xml", maybe is the addHTTPHeaders?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:32:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19518#M10748</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-30T19:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19520#M10749</link>
      <description>&lt;P&gt;Maybe this? Sounds like the default is ASCII / TEXT. Not the same as text/xml? I would imagine binary would not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellpadding="2" border="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;.transfermode&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;integer 0-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sets the http transfer mode:&lt;P&gt;0 = ascii / text&lt;BR /&gt;1 = binary&lt;BR /&gt;Defaults is:&lt;BR /&gt;0 ascii mode&lt;/P&gt;&lt;P&gt;Notes: You must set&amp;nbsp;&lt;STRONG&gt;"binarysaveas"&amp;nbsp;&lt;/STRONG&gt;using a full path and file name.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:34:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19520#M10749</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T19:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19522#M10750</link>
      <description>&lt;P&gt;Look like is just&lt;/P&gt;&lt;PRE&gt;inet.addHTTPHeaders "content-type","text/xml"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:58:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19522#M10750</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-30T19:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19524#M10751</link>
      <description>&lt;P&gt;Thank you, sorry I missed that in the documentation. Now I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ï»¿&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse 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;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00003&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;Root element is missing.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My XML is attached. It looks accurate to me, do you see anything?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;merchantAuthentication&amp;gt;
		&amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;
		&amp;lt;transactionKey&amp;gt;&amp;lt;/transactionKey&amp;gt;
	&amp;lt;/merchantAuthentication&amp;gt;
	&amp;lt;refId&amp;gt;Campaign 2012&amp;lt;/refId&amp;gt;
	&amp;lt;subscription&amp;gt;
		&amp;lt;name&amp;gt;Campaign 2012&amp;lt;/name&amp;gt;
		&amp;lt;paymentSchedule&amp;gt;
			&amp;lt;interval&amp;gt;
				&amp;lt;length&amp;gt;1&amp;lt;/length&amp;gt;
				&amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt;
			&amp;lt;/interval&amp;gt;
			&amp;lt;startDate&amp;gt;2011-12-01&amp;lt;/startDate&amp;gt;
			&amp;lt;totalOccurrences&amp;gt;12&amp;lt;/totalOccurrences&amp;gt;
		&amp;lt;/paymentSchedule&amp;gt;
		&amp;lt;amount&amp;gt;12.00&amp;lt;/amount&amp;gt;
		&amp;lt;payment&amp;gt;
			&amp;lt;creditCard&amp;gt;
				&amp;lt;cardNumber&amp;gt;&amp;lt;/cardNumber&amp;gt;
				&amp;lt;expirationDate&amp;gt;2014-04&amp;lt;/expirationDate&amp;gt;
			&amp;lt;/creditCard&amp;gt;
		&amp;lt;/payment&amp;gt;
		&amp;lt;order&amp;gt;
			&amp;lt;invoiceNumber&amp;gt;12431&amp;lt;/invoiceNumber&amp;gt;
		&amp;lt;/order&amp;gt;
		&amp;lt;customer&amp;gt;
			&amp;lt;id&amp;gt;10000&amp;lt;/id&amp;gt;
			&amp;lt;email&amp;gt;brad@bbdesign.com&amp;lt;/email&amp;gt;
			&amp;lt;phoneNumber&amp;gt;610-693-6080&amp;lt;/phoneNumber&amp;gt;
			&amp;lt;faxNumber&amp;gt;&amp;lt;/faxNumber&amp;gt;
		&amp;lt;/customer&amp;gt;
		&amp;lt;billTo&amp;gt;
			&amp;lt;firstName&amp;gt;Brad&amp;lt;/firstName&amp;gt;
			&amp;lt;lastName&amp;gt;Bansner&amp;lt;/lastName&amp;gt;
			&amp;lt;company&amp;gt;BB Design&amp;lt;/company&amp;gt;
			&amp;lt;address&amp;gt;245 Lamms Mill Road&amp;lt;/address&amp;gt;
			&amp;lt;city&amp;gt;Wernersville&amp;lt;/city&amp;gt;
			&amp;lt;state&amp;gt;PA&amp;lt;/state&amp;gt;
			&amp;lt;zip&amp;gt;19565&amp;lt;/zip&amp;gt;
			&amp;lt;country&amp;gt;UNITED STATES&amp;lt;/country&amp;gt;
		&amp;lt;/billTo&amp;gt;
	&amp;lt;/subscription&amp;gt;
&amp;lt;/ARBCreateSubscriptionRequest&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Nov 2011 20:08:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19524#M10751</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T20:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19528#M10753</link>
      <description>&lt;P&gt;Looks ok to me too, but are you sure it's actually being sent? Try posting to a URL of yours instead and then log the post.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 20:58:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19528#M10753</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-11-30T20:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19530#M10754</link>
      <description>&lt;P&gt;I'm not quite sure how to do that. If I change this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;call inet2.openurl("&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt;","GET")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...to something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;call inet2.openurl("&lt;A href="http://www.mydomain.com/test.asp" target="_blank"&gt;http://www.mydomain.com/test.asp&lt;/A&gt;","GET")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I make test.asp accept the data? I normally have a variable, but I don't think there is a variable in this case? If I can get the (hopefully) incoming data, then I can store it to a DB and verify.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:19:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19530#M10754</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-11-30T21:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19532#M10755</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inet.bypassUrlEncodeOnPost = 1&lt;BR /&gt;This will disable automatic urlencoding of post variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;And&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it need the content length set, you need to change the ??? to the right length. I read that sometime there are issue with asp when sending "text/xml" without it.&lt;/P&gt;&lt;P&gt;inet.addHTTPHeaders "Content-Length","???"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:48:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19532#M10755</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-11-30T21:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19562#M10770</link>
      <description>&lt;P&gt;I tried adding&amp;nbsp;inet2.bypassUrlEncodeOnPost=1 but that had no affect. I tried adding this simple script to an ASP document that attemps to save the results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;% for each item in request.querystring&lt;BR /&gt;cn1.execute("insert into tbl_log (timestamp, log) values ('" &amp;amp; now &amp;amp; "', '" &amp;amp; replace(request.querystring(item),"'","''") &amp;amp; "')")&lt;BR /&gt;next %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not get anything in that table. But not sure how the component actually sends GET data when its an XML document. It handles regular POST and GET data differently than XML. I.e.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This feature is an extension of the standard http POST method. To use this feature, use the same syntax as the POST example, but DO NOT call inet.addpostvars(). Instead, use the inet.xml property. The XML feature will work with&amp;nbsp;&lt;A href="http://developer.ebay.com/" target="_blank"&gt;Ebay's Web Services API&lt;/A&gt;. This feature was tested using the UPS website to return shipping rates. This requires a valid password from UPS. (&amp;nbsp;&lt;A href="http://www.ups.com/" target="_blank"&gt;http://www.ups.com&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding Content-Length... you mean the length of the XML I am sending? I would just count up all the characters before sending? If so, how does it handle tabs and line breaks, do those count toward the content-length? I haven't worked with that type of thing before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 18:14:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19562#M10770</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-12-01T18:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19576#M10776</link>
      <description>&lt;P&gt;For the Content-Length, it is the XML that you are sending. Should be able to use&lt;/P&gt;&lt;PRE&gt;len(xml)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 20:58:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19576#M10776</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-12-01T20:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19580#M10778</link>
      <description>&lt;P&gt;Guys, thanks for all the help. As far as I can tell, my XML is perfect. But my KHTTP component is not communicating with the API. Can you recommend some other component I can install on a Microsoft server that has been proven to work with Authorize.Net ARB transactions? Hopefully something inexpensive or free. At this point, I just need to get this thing working for a client who is in a hurry. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 21:18:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19580#M10778</guid>
      <dc:creator>bbdesign</dc:creator>
      <dc:date>2011-12-01T21:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting ARB transaction subscriptions to save</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19582#M10779</link>
      <description>&lt;P&gt;Sample code "CIM - ASP Classic" use XML to communicating with authorize.net. util.asp have the basic code to communicating to them.&lt;/P&gt;&lt;P&gt;It probably just need to change the xml and URL to work with ARB.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 22:05:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-getting-ARB-transaction-subscriptions-to-save/m-p/19582#M10779</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-12-01T22:05:47Z</dc:date>
    </item>
  </channel>
</rss>

