<?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 Passing Customer IP for Ruby CIM Transaction in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-Customer-IP-for-Ruby-CIM-Transaction/m-p/30408#M15906</link>
    <description>&lt;P&gt;Is it possible to pass the x_customer_ip when using the Ruby gem and CIM? I was able to get it to work, but I'm not sure if my solution is proper since it requird hacking up cim/transaction.rb.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In cim/transaction.rb. I changed this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@@aim_response_options = [:delim_char, :encap_char]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;@@aim_response_options = [:delim_char, :encap_char, :customer_ip]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I was then able to pass the IP like this:&lt;/P&gt;&lt;P&gt;transaction = AuthorizeNet::CIM::Transaction.new(my_login_id, my_transaction_key, :gateway =&amp;gt; my_gateway)&lt;BR /&gt;response = transaction.create_transaction_auth_capture(3.99, customer_profile_id, customer_payment_id, nil, {:aim_options =&amp;gt; {:customer_ip =&amp;gt; customer_ip_here}})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that the correct way to pass the remote IP? If so, will cim/transaction.rb be updated in the next release of the authorize.net ruby gem?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Oct 2012 18:47:26 GMT</pubDate>
    <dc:creator>chris098</dc:creator>
    <dc:date>2012-10-04T18:47:26Z</dc:date>
    <item>
      <title>Passing Customer IP for Ruby CIM Transaction</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-Customer-IP-for-Ruby-CIM-Transaction/m-p/30408#M15906</link>
      <description>&lt;P&gt;Is it possible to pass the x_customer_ip when using the Ruby gem and CIM? I was able to get it to work, but I'm not sure if my solution is proper since it requird hacking up cim/transaction.rb.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In cim/transaction.rb. I changed this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@@aim_response_options = [:delim_char, :encap_char]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;@@aim_response_options = [:delim_char, :encap_char, :customer_ip]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I was then able to pass the IP like this:&lt;/P&gt;&lt;P&gt;transaction = AuthorizeNet::CIM::Transaction.new(my_login_id, my_transaction_key, :gateway =&amp;gt; my_gateway)&lt;BR /&gt;response = transaction.create_transaction_auth_capture(3.99, customer_profile_id, customer_payment_id, nil, {:aim_options =&amp;gt; {:customer_ip =&amp;gt; customer_ip_here}})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that the correct way to pass the remote IP? If so, will cim/transaction.rb be updated in the next release of the authorize.net ruby gem?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2012 18:47:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-Customer-IP-for-Ruby-CIM-Transaction/m-p/30408#M15906</guid>
      <dc:creator>chris098</dc:creator>
      <dc:date>2012-10-04T18:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Customer IP for Ruby CIM Transaction</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-Customer-IP-for-Ruby-CIM-Transaction/m-p/30482#M15942</link>
      <description>&lt;P&gt;Please confirm if my changes to cim/transaction.rb were appropriate, or if there is a better way to pass along the customer IP. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2012 18:23:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Passing-Customer-IP-for-Ruby-CIM-Transaction/m-p/30482#M15942</guid>
      <dc:creator>chris098</dc:creator>
      <dc:date>2012-10-08T18:23:58Z</dc:date>
    </item>
  </channel>
</rss>

