<?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: Problems with createCustomerProfileFromTransactionRequest response with PHP in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52308#M27584</link>
    <description>&lt;P&gt;It took &lt;STRONG&gt;Eight&lt;/STRONG&gt; days to get a response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this normally how long it takes to get back to a customer?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2015 21:03:31 GMT</pubDate>
    <dc:creator>Jim88763563</dc:creator>
    <dc:date>2015-09-25T21:03:31Z</dc:date>
    <item>
      <title>Problems with createCustomerProfileFromTransactionRequest response with PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52223#M27509</link>
      <description>&lt;P&gt;I can't read the XML response when using createCustomerProfileFromTransactionRequest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Code . . .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $content_Create_CIM =&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;createCustomerProfileFromTransactionRequest xmlns=\"AnetApi/xml/v1/schema/".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"AnetApiSchema.xsd\"&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;merchantAuthentication&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;name&amp;gt;". $loginname . "&amp;lt;/name&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;transactionKey&amp;gt;" . $transactionkey . "&amp;lt;/transactionKey&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;/merchantAuthentication&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;transId&amp;gt;" . $transID . "&amp;lt;/transId&amp;gt;".&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&amp;lt;/createCustomerProfileFromTransactionRequest&amp;gt;";&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$response = send_request_via_curl($host,$path,$content_Create_CIM);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The CIM profile is created but I can't parse the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try . . .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$xml=simplexml_load_string($response);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get&amp;nbsp; . . .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '&amp;lt;' not found in /home/XXXXXXXX on line 99 Warning: simplexml_load_string(): HTTP/1.1 200 OK in /home/XXXXXXXX on line 99 Warning: simplexml_load_string(): ^ in /home/XXXXXXXX on line 99&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What simple function can I use to parse this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 15:15:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52223#M27509</guid>
      <dc:creator>Jim88763563</dc:creator>
      <dc:date>2015-09-17T15:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with createCustomerProfileFromTransactionRequest response with PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52306#M27582</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18938" target="_self"&gt;&lt;SPAN class=""&gt;Jim88763563&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is only a warning and a known issue with the PHP simpleXML library reads XML from a Microsoft server. The easiest way to directly address this is simply to suppress warnings when parsing the XML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$xml&amp;nbsp;=&amp;nbsp;simplexml_load_string($response,'SimpleXMLElement',&amp;nbsp;LIBXML_NOWARNING);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 20:13:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52306#M27582</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2015-09-25T20:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with createCustomerProfileFromTransactionRequest response with PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52308#M27584</link>
      <description>&lt;P&gt;It took &lt;STRONG&gt;Eight&lt;/STRONG&gt; days to get a response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this normally how long it takes to get back to a customer?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 21:03:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52308#M27584</guid>
      <dc:creator>Jim88763563</dc:creator>
      <dc:date>2015-09-25T21:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with createCustomerProfileFromTransactionRequest response with PHP</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52309#M27585</link>
      <description>&lt;P&gt;This is a public forum and that not really a authorize.net issue but "known issue with the PHP simpleXML library reads XML from a Microsoft server. "&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 23:55:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-with-createCustomerProfileFromTransactionRequest/m-p/52309#M27585</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-09-25T23:55:49Z</dc:date>
    </item>
  </channel>
</rss>

