<?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: CIM PHP SDK / updateCustomerPaymentProfile problem - cannot submit billTo without payment Info in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15530#M8838</link>
    <description>&lt;P&gt;Noticed a typo... but still not working...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the following line with the FAX:&lt;/P&gt;&lt;P&gt;$paymentProfile-&amp;gt;payment-&amp;gt;faxNumber = stripslashes($row["Fax"]);﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALSO... per other discussions that seemed relevant to this, I've tried sending the last 4 of the CC in the payment info.&lt;/P&gt;&lt;P&gt;I've tried padding with 4 "x"s and that yields this error:&lt;/P&gt;&lt;P&gt;AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00015 [text] =&amp;gt; The field length is invalid for Card Number. ) ) ) [response] =&amp;gt; ﻿ErrorE00015The field length is invalid for Card Number. [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00015 [text] =&amp;gt; The field length is invalid for Card Number. ) ) ) )﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I've tried padding with 12 "x"s and that yields THIS error:&lt;/P&gt;&lt;P&gt;AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00013 [text] =&amp;gt; Card Number is invalid. ) ) ) [response] =&amp;gt; ﻿ErrorE00013Card Number is invalid. [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00013 [text] =&amp;gt; Card Number is invalid. ) ) ) )﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2011 19:23:14 GMT</pubDate>
    <dc:creator>bradim</dc:creator>
    <dc:date>2011-08-01T19:23:14Z</dc:date>
    <item>
      <title>CIM PHP SDK / updateCustomerPaymentProfile problem - cannot submit billTo without payment Info</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15528#M8837</link>
      <description>&lt;P&gt;I have no problem using this function to update PAYMENT info, but it fails if I try to update BILLING ( billTo ) info without resubmittinjg payment info.&amp;nbsp;&amp;nbsp; Obviously, I don't want to keep the CC info on my server, so it's critical that I can update customer billTo info without needing to know the CC info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code Below shows my call to the Auth.net SDK function (conditionally includes Company Name, if I have one in my data).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$custExtId &amp;amp; $ccExtId are looked up earlier in my function and theypopulate Auth.net's $customerProfileId and&lt;/P&gt;&lt;P&gt;$paymentProfileId.&lt;/P&gt;&lt;P&gt;... I've already printed these values out on my page and manually verified that they're the correct Id's via the Auth.net admin console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BEGIN CODE:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$request = new AuthorizeNetCIM;&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; $paymentProfile = new AuthorizeNetPaymentProfile;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;firstName = stripslashes($row["FirstName"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;lastName = stripslashes($row["LastName"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if (stripslashes($row["Company"]))$paymentProfile-&amp;gt;billTo-&amp;gt;company = stripslashes($row["Company"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;address = $address;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;city = stripslashes($row["City"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;state = stripslashes($row["State"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;zip = stripslashes($row["Zip"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;phoneNumber = stripslashes($row["Phone"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;billTo-&amp;gt;faxNumber = stripslashes($row["Fax"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $paymentProfile-&amp;gt;payment-&amp;gt;faxNumber = stripslashes($row["Fax"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $response = $request-&amp;gt;updateCustomerPaymentProfile($custExtId,$ccExtId, $paymentProfile);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a dump of the service response:&lt;/P&gt;&lt;P&gt;AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00029 [text] =&amp;gt; Payment information is required. ) ) ) [response] =&amp;gt; ﻿ErrorE00029Payment information is required. [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00029 [text] =&amp;gt; Payment information is required. ) ) ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2011 19:09:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15528#M8837</guid>
      <dc:creator>bradim</dc:creator>
      <dc:date>2011-08-01T19:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: CIM PHP SDK / updateCustomerPaymentProfile problem - cannot submit billTo without payment Info</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15530#M8838</link>
      <description>&lt;P&gt;Noticed a typo... but still not working...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the following line with the FAX:&lt;/P&gt;&lt;P&gt;$paymentProfile-&amp;gt;payment-&amp;gt;faxNumber = stripslashes($row["Fax"]);﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALSO... per other discussions that seemed relevant to this, I've tried sending the last 4 of the CC in the payment info.&lt;/P&gt;&lt;P&gt;I've tried padding with 4 "x"s and that yields this error:&lt;/P&gt;&lt;P&gt;AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00015 [text] =&amp;gt; The field length is invalid for Card Number. ) ) ) [response] =&amp;gt; ﻿ErrorE00015The field length is invalid for Card Number. [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00015 [text] =&amp;gt; The field length is invalid for Card Number. ) ) ) )﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I've tried padding with 12 "x"s and that yields THIS error:&lt;/P&gt;&lt;P&gt;AuthorizeNetCIM_Response Object ( [xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00013 [text] =&amp;gt; Card Number is invalid. ) ) ) [response] =&amp;gt; ﻿ErrorE00013Card Number is invalid. [xpath_xml] =&amp;gt; SimpleXMLElement Object ( [messages] =&amp;gt; SimpleXMLElement Object ( [resultCode] =&amp;gt; Error [message] =&amp;gt; SimpleXMLElement Object ( [code] =&amp;gt; E00013 [text] =&amp;gt; Card Number is invalid. ) ) ) )﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2011 19:23:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15530#M8838</guid>
      <dc:creator>bradim</dc:creator>
      <dc:date>2011-08-01T19:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: CIM PHP SDK / updateCustomerPaymentProfile problem - cannot submit billTo without payment Info</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15534#M8840</link>
      <description>&lt;P&gt;Closing this ticket... turned out to be a bad CC#... very odd.&lt;/P&gt;&lt;P&gt;Other Test CC#'s are ok, but this one fails:&lt;/P&gt;&lt;P&gt;Discover﻿&amp;nbsp;6011111111111117﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sending last 4 prepended by XXXX works fine, as long as the system likes the card# to begin with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2011 20:51:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-PHP-SDK-updateCustomerPaymentProfile-problem-cannot-submit/m-p/15534#M8840</guid>
      <dc:creator>bradim</dc:creator>
      <dc:date>2011-08-01T20:51:14Z</dc:date>
    </item>
  </channel>
</rss>

