<?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: Correct format for passing Customer IP in CIM in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39151#M21359</link>
    <description>&lt;P&gt;Thank you. That worked.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2014 02:50:25 GMT</pubDate>
    <dc:creator>iowa</dc:creator>
    <dc:date>2014-02-14T02:50:25Z</dc:date>
    <item>
      <title>Correct format for passing Customer IP in CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39145#M21356</link>
      <description>&lt;P&gt;What is the correct format for passing the Customer IP Address under a CreateCustomerProfileTransaction in CIM? I have tried to pass as below but keep getting an error &lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;nbsp;E00013&amp;nbsp;:&amp;nbsp;Extra Options is invalid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;v1:transaction&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;v1:profileTransVoid&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;v1:customerProfileId&amp;gt;999999999&amp;lt;/v1:customerProfileId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;v1:customerPaymentProfileId&amp;gt;999999999&amp;lt;/v1:customerPaymentProfileId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;v1:transId&amp;gt;99999999&amp;lt;/v1:transId&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;/v1:profileTransVoid&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;/v1:transaction&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;lt;v1:extraOptions&amp;gt;x_customer_ip/255.255.255.255&amp;lt;/v1:extraOptions&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 22:23:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39145#M21356</guid>
      <dc:creator>iowa</dc:creator>
      <dc:date>2014-02-13T22:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for passing Customer IP in CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39147#M21357</link>
      <description>&lt;P&gt;It like a url param. &lt;SPAN style="color: #000000; font-family: Bukvarnaya; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ebebeb; display: inline !important; float: none;"&gt;x_customer_ip=255.255.255.255&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 23:47:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39147#M21357</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-02-13T23:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for passing Customer IP in CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39151#M21359</link>
      <description>&lt;P&gt;Thank you. That worked.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2014 02:50:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/39151#M21359</guid>
      <dc:creator>iowa</dc:creator>
      <dc:date>2014-02-14T02:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for passing Customer IP in CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/63313#M37471</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have set the following code fro transaction but during transaction when i store "customerIP" it gives error&lt;BR /&gt;&lt;BR /&gt;$request = new AuthorizeNetCIM;&lt;BR /&gt;&lt;BR /&gt;$transaction-&amp;gt;amount = $payable_amount;&lt;BR /&gt;$transaction-&amp;gt;customerProfileId = $memberData[0]['auth_customer_profile_id'];&lt;BR /&gt;$transaction-&amp;gt;customerPaymentProfileId = $_SESSION["sess_ary"][$_REQUEST["oldcard"]];&lt;BR /&gt;$transaction-&amp;gt;customerIP="192.168.0.53";&lt;BR /&gt;$transaction-&amp;gt;order-&amp;gt;invoiceNumber = $orderId;&lt;BR /&gt;$transaction-&amp;gt;order-&amp;gt;description = PROGRAM_DESCRIPTION_FOR_PAYMENT;&lt;BR /&gt;//$transaction['customerIP']="192.168.0.53";&lt;BR /&gt;$response = $request -&amp;gt; createCustomerProfileTransaction("AuthCapture", $transaction);&lt;BR /&gt;&lt;BR /&gt;Response With Error:&lt;BR /&gt;&lt;BR /&gt;[response] =&amp;gt; ErrorE00003The element 'profileTransAuthCapture' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'customerIP' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'customerShippingAddressId, order, taxExempt, recurringBilling, cardCode, splitTenderId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;BR /&gt;[xpath_xml] =&amp;gt; SimpleXMLElement Object&lt;BR /&gt;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;[messages] =&amp;gt; SimpleXMLElement Object&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[resultCode] =&amp;gt; Error&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[message] =&amp;gt; SimpleXMLElement Object&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[code] =&amp;gt; E00003&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[text] =&amp;gt; The element 'profileTransAuthCapture' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'customerIP' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'customerShippingAddressId, order, taxExempt, recurringBilling, cardCode, splitTenderId' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;)&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;Can you please guide us why i got error when i have add "customerIP" in trasaction request?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Dev&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 11:38:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/63313#M37471</guid>
      <dc:creator>testing</dc:creator>
      <dc:date>2018-06-07T11:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Correct format for passing Customer IP in CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/63317#M37475</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have myseld resolved that BIG issue as i need to store IP address in request.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 1:&lt;BR /&gt;&lt;BR /&gt;If any one use SDK then in&lt;STRONG&gt; AuthorizeNetCIM.php&lt;/STRONG&gt; file find function _setPostString() and replace with following.&lt;/P&gt;&lt;PRE&gt;protected function _setPostString()
{
    ($this-&amp;gt;_validationMode != "none" ? $this-&amp;gt;_xml-&amp;gt;addChild('validationMode',$this-&amp;gt;_validationMode) : "");
    $this-&amp;gt;_post_string = $this-&amp;gt;_xml-&amp;gt;asXML();

    // Add extraOptions CDATA
    if ($this-&amp;gt;_extraOptions) {
       if ($this-&amp;gt;_extraOptions) {
            $this-&amp;gt;_xml-&amp;gt;addChild("extraOptions");
            $this-&amp;gt;_post_string = str_replace("&amp;lt;extraOptions/&amp;gt;",'&amp;lt;extraOptions&amp;gt;&amp;lt;![CDATA[' . $this-&amp;gt;_extraOptions . ']]&amp;gt;&amp;lt;/extraOptions&amp;gt;', $this-&amp;gt;_xml-&amp;gt;asXML());
            $this-&amp;gt;_extraOptions = false;
        }

    }
    // Blank out our validation mode, so that we don't include it in calls that
    // don't use it.
    $this-&amp;gt;_validationMode = "none";
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Step 2:&lt;BR /&gt;&lt;BR /&gt;- You must have to pass the one parameter "x_customer_ip="192.168.0.53"'" in function named createCustomerProfileTransaction(). This function is used at the time of final transaction.&lt;BR /&gt;&lt;BR /&gt;eg.&lt;/P&gt;&lt;PRE&gt;$response = $request -&amp;gt; createCustomerProfileTransaction("AuthCapture", $transaction,'x_customer_ip="192.168.0.53"');&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;Dev&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:32:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Correct-format-for-passing-Customer-IP-in-CIM/m-p/63317#M37475</guid>
      <dc:creator>testing</dc:creator>
      <dc:date>2018-06-07T12:32:54Z</dc:date>
    </item>
  </channel>
</rss>

