<?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 Missing Data in Merchant Email Receipt in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-Data-in-Merchant-Email-Receipt/m-p/36023#M20074</link>
    <description>&lt;P&gt;Hi.&amp;nbsp; I am using the following C# code to post transactions and the Merchant Email Receipt doesn't display Customer Billing Information or Customer Shipping Information.&amp;nbsp; Can you explain what changes need to be made in order for this information to be displayed in the receipt?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NameValueCollection collection = new NameValueCollection();&lt;BR /&gt;collection.Add("x_login", EncryptionUtility.DecryptData(authorize.ApiLoginId));&lt;BR /&gt;collection.Add("x_tran_key", EncryptionUtility.DecryptData(authorize.TransKey));&lt;BR /&gt;collection.Add("x_delim_data", "TRUE");&lt;BR /&gt;collection.Add("x_delim_char", "|");&lt;BR /&gt;collection.Add("x_relay_response", "FALSE");&lt;BR /&gt;collection.Add("x_type", "AUTH_CAPTURE");&lt;BR /&gt;collection.Add("x_method", "CC");&lt;BR /&gt;collection.Add("x_card_num", txtCardNumber.Text.Trim());&lt;BR /&gt;collection.Add("x_exp_date", expiration);&lt;BR /&gt;collection.Add("x_amount", "1.00");&lt;BR /&gt;collection.Add("x_description", desc);&lt;BR /&gt;collection.Add("x_first_name", txtFirstName.Text.Trim());&lt;BR /&gt;collection.Add("x_last_name", txtLastName.Text.Trim());&lt;BR /&gt;collection.Add("x_address", txtAddress1.Text.Trim());&lt;BR /&gt;collection.Add("x_city", txtCity.Text.Trim());&lt;BR /&gt;collection.Add("x_state", cmbState.Text);&lt;BR /&gt;collection.Add("x_zip", txtZipCode.Text.Trim());&lt;BR /&gt;collection.Add("x_email", txtEmail.Text.Trim());&lt;BR /&gt;collection.Add("x_email_customer", "TRUE");&lt;BR /&gt;collection.Add("x_ship_to_first_name", txtFirstName.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_last_name", txtLastName.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_company", txtCompany.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_address", String.Format("{0} {1}", txtShippingAddress1.Text.Trim(), txtShippingAddress2.Text.Trim()));&lt;BR /&gt;collection.Add("x_ship_to_city", txtShippingCity.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_state", cmbShippingState.Text);&lt;BR /&gt;collection.Add("x_ship_to_zip", txtShippingZipCode.Text.Trim());&lt;BR /&gt;collection.Add("x_test_request", "FALSE");&lt;BR /&gt;var request = new AuthorizationRequest(collection);&lt;BR /&gt;var gate = new Gateway(collection.Get("x_login"), collection.Get("x_tran_key"), false);&lt;BR /&gt;var response = gate.Send(request);&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2013 14:58:42 GMT</pubDate>
    <dc:creator>nmakison</dc:creator>
    <dc:date>2013-10-01T14:58:42Z</dc:date>
    <item>
      <title>Missing Data in Merchant Email Receipt</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-Data-in-Merchant-Email-Receipt/m-p/36023#M20074</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I am using the following C# code to post transactions and the Merchant Email Receipt doesn't display Customer Billing Information or Customer Shipping Information.&amp;nbsp; Can you explain what changes need to be made in order for this information to be displayed in the receipt?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NameValueCollection collection = new NameValueCollection();&lt;BR /&gt;collection.Add("x_login", EncryptionUtility.DecryptData(authorize.ApiLoginId));&lt;BR /&gt;collection.Add("x_tran_key", EncryptionUtility.DecryptData(authorize.TransKey));&lt;BR /&gt;collection.Add("x_delim_data", "TRUE");&lt;BR /&gt;collection.Add("x_delim_char", "|");&lt;BR /&gt;collection.Add("x_relay_response", "FALSE");&lt;BR /&gt;collection.Add("x_type", "AUTH_CAPTURE");&lt;BR /&gt;collection.Add("x_method", "CC");&lt;BR /&gt;collection.Add("x_card_num", txtCardNumber.Text.Trim());&lt;BR /&gt;collection.Add("x_exp_date", expiration);&lt;BR /&gt;collection.Add("x_amount", "1.00");&lt;BR /&gt;collection.Add("x_description", desc);&lt;BR /&gt;collection.Add("x_first_name", txtFirstName.Text.Trim());&lt;BR /&gt;collection.Add("x_last_name", txtLastName.Text.Trim());&lt;BR /&gt;collection.Add("x_address", txtAddress1.Text.Trim());&lt;BR /&gt;collection.Add("x_city", txtCity.Text.Trim());&lt;BR /&gt;collection.Add("x_state", cmbState.Text);&lt;BR /&gt;collection.Add("x_zip", txtZipCode.Text.Trim());&lt;BR /&gt;collection.Add("x_email", txtEmail.Text.Trim());&lt;BR /&gt;collection.Add("x_email_customer", "TRUE");&lt;BR /&gt;collection.Add("x_ship_to_first_name", txtFirstName.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_last_name", txtLastName.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_company", txtCompany.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_address", String.Format("{0} {1}", txtShippingAddress1.Text.Trim(), txtShippingAddress2.Text.Trim()));&lt;BR /&gt;collection.Add("x_ship_to_city", txtShippingCity.Text.Trim());&lt;BR /&gt;collection.Add("x_ship_to_state", cmbShippingState.Text);&lt;BR /&gt;collection.Add("x_ship_to_zip", txtShippingZipCode.Text.Trim());&lt;BR /&gt;collection.Add("x_test_request", "FALSE");&lt;BR /&gt;var request = new AuthorizationRequest(collection);&lt;BR /&gt;var gate = new Gateway(collection.Get("x_login"), collection.Get("x_tran_key"), false);&lt;BR /&gt;var response = gate.Send(request);&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 14:58:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-Data-in-Merchant-Email-Receipt/m-p/36023#M20074</guid>
      <dc:creator>nmakison</dc:creator>
      <dc:date>2013-10-01T14:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Data in Merchant Email Receipt</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-Data-in-Merchant-Email-Receipt/m-p/36041#M20083</link>
      <description>&lt;P&gt;I found the following post which helped me correct the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Customer-Information-not-saved/m-p/9270/highlight/true#M6151"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/AIM-Customer-Information-not-saved/m-p/9270/highlight/true#M6151&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to add items in collection to the request object&amp;nbsp;after&amp;nbsp;it has been created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;foreach&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; key &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; collection.AllKeys)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;request.AddMerchantValue(key, collection[key]);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 18:00:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Missing-Data-in-Merchant-Email-Receipt/m-p/36041#M20083</guid>
      <dc:creator>nmakison</dc:creator>
      <dc:date>2013-10-02T18:00:53Z</dc:date>
    </item>
  </channel>
</rss>

