<?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: Integrate Automated Recurring Billing with Advanced Integration. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33824#M18324</link>
    <description>&lt;P&gt;anyone please reply&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2013 18:56:41 GMT</pubDate>
    <dc:creator>shanalikhan0</dc:creator>
    <dc:date>2013-04-04T18:56:41Z</dc:date>
    <item>
      <title>Integrate Automated Recurring Billing with Advanced Integration.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33823#M18323</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im begineer , anyone please tell me how i can integrate&amp;nbsp;Automated Recurring Billing with Advanced integegration.&lt;/P&gt;&lt;P&gt;As i have following code :&lt;/P&gt;&lt;P&gt;Do tell me what should i have to add in it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try&lt;BR /&gt;{&lt;BR /&gt;// for real accounts (even in test mode), please make sure that you are&lt;BR /&gt;// posting to: &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;BR /&gt;String url = "&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;BR /&gt;Dictionary&amp;lt;string, string&amp;gt; values = new Dictionary&amp;lt;string, string&amp;gt;();&lt;BR /&gt;values.Add("x_login", "zzzz");&lt;BR /&gt;values.Add("x_tran_key", "zzzzz");&lt;BR /&gt;values.Add("x_delim_data", "TRUE");&lt;BR /&gt;values.Add("x_delim_char", "|");&lt;BR /&gt;values.Add("x_relay_response", "FALSE");&lt;/P&gt;&lt;P&gt;values.Add("x_type", "AUTH_CAPTURE");&lt;BR /&gt;values.Add("x_method", "CC");&lt;BR /&gt;values.Add("x_card_num", "4111111111111111");&lt;BR /&gt;values.Add("x_exp_date", "0115");&lt;/P&gt;&lt;P&gt;values.Add("x_amount", "19.99");&lt;BR /&gt;values.Add("x_description", "Sample Transaction");&lt;/P&gt;&lt;P&gt;values.Add("x_first_name", cus.FirstName);&lt;BR /&gt;values.Add("x_last_name", cus.LastName);&lt;BR /&gt;values.Add("x_address", ship.StreetAddress);&lt;BR /&gt;values.Add("x_state", ship.State);&lt;BR /&gt;values.Add("x_zip", ship.PostalCode);&lt;BR /&gt;string dataTosend = "";&lt;BR /&gt;&lt;BR /&gt;foreach (var item in values)&lt;BR /&gt;{&lt;BR /&gt;dataTosend += item.Key + "=" + HttpUtility.UrlEncode(item.Value) + "&amp;amp;";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;dataTosend = dataTosend.TrimEnd('&amp;amp;');&lt;/P&gt;&lt;P&gt;HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);&lt;BR /&gt;request.Method = "POST";&lt;BR /&gt;request.ContentType = "application/x-www-form-urlencoded";&lt;BR /&gt;request.ContentLength = dataTosend.Length;&lt;/P&gt;&lt;P&gt;strm = request.GetRequestStream();&lt;BR /&gt;swr = new StreamWriter(strm);&lt;/P&gt;&lt;P&gt;swr.WriteLine(dataTosend);&lt;/P&gt;&lt;P&gt;response =(HttpWebResponse) request.GetResponse();&lt;BR /&gt;strm = response.GetResponseStream();&lt;BR /&gt;srdr = new StreamReader(strm);&lt;BR /&gt;string dataReceived = "";&lt;BR /&gt;dataReceived = srdr.ReadToEnd();&lt;BR /&gt;Array arr = dataReceived.Split('|');&lt;BR /&gt;swr.Close(); response.Close();&lt;BR /&gt;return (string) arr.GetValue(3);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 17:27:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33823#M18323</guid>
      <dc:creator>shanalikhan0</dc:creator>
      <dc:date>2013-04-04T17:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate Automated Recurring Billing with Advanced Integration.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33824#M18324</link>
      <description>&lt;P&gt;anyone please reply&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 18:56:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33824#M18324</guid>
      <dc:creator>shanalikhan0</dc:creator>
      <dc:date>2013-04-04T18:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate Automated Recurring Billing with Advanced Integration.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33825#M18325</link>
      <description>&lt;P&gt;look and see at the sample code&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://developer.authorize.net/downloads/samplecode/"&gt;http://developer.authorize.net/downloads/samplecode/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 19:19:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Integrate-Automated-Recurring-Billing-with-Advanced-Integration/m-p/33825#M18325</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-04-04T19:19:55Z</dc:date>
    </item>
  </channel>
</rss>

