<?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 Getting Error While Creating the Customer Payment Profile in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54864#M29821</link>
    <description>&lt;P&gt;[code] =&amp;gt; E00003&lt;BR /&gt;[text] =&amp;gt; Name cannot begin with the '&amp;gt;' character, hexadecimal value 0x3E. Line 2, position 269.&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Passing the following array in it :-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$creditCard = new AnetAPI\CreditCardType();&lt;BR /&gt;$creditCard-&amp;gt;setCardNumber("456456");&lt;BR /&gt;$creditCard-&amp;gt;setExpirationDate("5566");&lt;BR /&gt;$creditCard-&amp;gt;setCardCode("456");&lt;BR /&gt;$paymentCreditCard = new AnetAPI\PaymentType();&lt;BR /&gt;$paymentCreditCard-&amp;gt;setCreditCard($creditCard);&lt;BR /&gt;//echo "&amp;lt;pre&amp;gt;";print_r($paymentCreditCard);exit;&lt;BR /&gt;// Create the Bill To info for new payment type&lt;BR /&gt;$phoneNumber = "123456";&lt;/P&gt;&lt;P&gt;$billto = new AnetAPI\CustomerAddressType();&lt;BR /&gt;$billto-&amp;gt;setFirstName("Mrs Mary".$phoneNumber);&lt;BR /&gt;$billto-&amp;gt;setLastName("Doe");&lt;BR /&gt;$billto-&amp;gt;setCompany("My company");&lt;BR /&gt;$billto-&amp;gt;setAddress("123 Main St.");&lt;BR /&gt;$billto-&amp;gt;setCity("Bellevue");&lt;BR /&gt;$billto-&amp;gt;setState("WA");&lt;BR /&gt;$billto-&amp;gt;setZip("98004");&lt;BR /&gt;$billto-&amp;gt;setPhoneNumber($phoneNumber);&lt;BR /&gt;$billto-&amp;gt;setfaxNumber("999-999-9999");&lt;BR /&gt;$billto-&amp;gt;setCountry("USA");&lt;BR /&gt;// Create a new Customer Payment Profile&lt;BR /&gt;$paymentprofile = new AnetAPI\CustomerPaymentProfileType();&lt;BR /&gt;$paymentprofile-&amp;gt;setCustomerType('individual');&lt;BR /&gt;$paymentprofile-&amp;gt;setBillTo($billto);&lt;BR /&gt;$paymentprofile-&amp;gt;setPayment($paymentCreditCard);&lt;BR /&gt;$payment_response = $customer_profile-&amp;gt;createCustomerPaymentProfile('40883515',$paymentprofile);&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2016 06:30:18 GMT</pubDate>
    <dc:creator>manal</dc:creator>
    <dc:date>2016-06-09T06:30:18Z</dc:date>
    <item>
      <title>Getting Error While Creating the Customer Payment Profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54864#M29821</link>
      <description>&lt;P&gt;[code] =&amp;gt; E00003&lt;BR /&gt;[text] =&amp;gt; Name cannot begin with the '&amp;gt;' character, hexadecimal value 0x3E. Line 2, position 269.&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Passing the following array in it :-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$creditCard = new AnetAPI\CreditCardType();&lt;BR /&gt;$creditCard-&amp;gt;setCardNumber("456456");&lt;BR /&gt;$creditCard-&amp;gt;setExpirationDate("5566");&lt;BR /&gt;$creditCard-&amp;gt;setCardCode("456");&lt;BR /&gt;$paymentCreditCard = new AnetAPI\PaymentType();&lt;BR /&gt;$paymentCreditCard-&amp;gt;setCreditCard($creditCard);&lt;BR /&gt;//echo "&amp;lt;pre&amp;gt;";print_r($paymentCreditCard);exit;&lt;BR /&gt;// Create the Bill To info for new payment type&lt;BR /&gt;$phoneNumber = "123456";&lt;/P&gt;&lt;P&gt;$billto = new AnetAPI\CustomerAddressType();&lt;BR /&gt;$billto-&amp;gt;setFirstName("Mrs Mary".$phoneNumber);&lt;BR /&gt;$billto-&amp;gt;setLastName("Doe");&lt;BR /&gt;$billto-&amp;gt;setCompany("My company");&lt;BR /&gt;$billto-&amp;gt;setAddress("123 Main St.");&lt;BR /&gt;$billto-&amp;gt;setCity("Bellevue");&lt;BR /&gt;$billto-&amp;gt;setState("WA");&lt;BR /&gt;$billto-&amp;gt;setZip("98004");&lt;BR /&gt;$billto-&amp;gt;setPhoneNumber($phoneNumber);&lt;BR /&gt;$billto-&amp;gt;setfaxNumber("999-999-9999");&lt;BR /&gt;$billto-&amp;gt;setCountry("USA");&lt;BR /&gt;// Create a new Customer Payment Profile&lt;BR /&gt;$paymentprofile = new AnetAPI\CustomerPaymentProfileType();&lt;BR /&gt;$paymentprofile-&amp;gt;setCustomerType('individual');&lt;BR /&gt;$paymentprofile-&amp;gt;setBillTo($billto);&lt;BR /&gt;$paymentprofile-&amp;gt;setPayment($paymentCreditCard);&lt;BR /&gt;$payment_response = $customer_profile-&amp;gt;createCustomerPaymentProfile('40883515',$paymentprofile);&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:30:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54864#M29821</guid>
      <dc:creator>manal</dc:creator>
      <dc:date>2016-06-09T06:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While Creating the Customer Payment Profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54900#M29857</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20183"&gt;@manal﻿&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;It doesn't look like anyone has responded yet, but someone still may have feedback on what you're looking for. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:46:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54900#M29857</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-06-13T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While Creating the Customer Payment Profile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54934#M29886</link>
      <description>&lt;P&gt;Not positive, but that looks like an xml error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question,&lt;/P&gt;&lt;P&gt;Are you using &amp;lt;? or &amp;lt;?php at the top of your file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- D&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:10:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-Error-While-Creating-the-Customer-Payment-Profile/m-p/54934#M29886</guid>
      <dc:creator>fifty-git</dc:creator>
      <dc:date>2016-06-15T15:10:33Z</dc:date>
    </item>
  </channel>
</rss>

