<?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 getPaymentProfileId() vs getCustomerPaymentProfileIds() in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32843#M17387</link>
    <description>&lt;P&gt;What is the difference between getPaymentProfileId() and getCustomerPaymentProfileIds()? When should I use which?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I teste using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$rsp = $req-&amp;gt;createCustomerPaymentProfile($customer_id, $payment, 'testMode');&lt;/P&gt;&lt;P&gt;$payment_id = $rsp-&amp;gt;getPaymentProfileId();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but sometimes $payment_id is "" (i.e. empty string). &amp;nbsp;I also tested on production server with 'liveMode', and the result is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I use getCustomerPaymentProfileIds() even if I only add one payment profile? &amp;nbsp;The name suggest that the function would return an array of paymentIds, but when I tried it only returned one scalar value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I can't find any document on either function, can someone please explain when to use which?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2013 22:15:54 GMT</pubDate>
    <dc:creator>jobs2careers</dc:creator>
    <dc:date>2013-01-31T22:15:54Z</dc:date>
    <item>
      <title>getPaymentProfileId() vs getCustomerPaymentProfileIds()</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32843#M17387</link>
      <description>&lt;P&gt;What is the difference between getPaymentProfileId() and getCustomerPaymentProfileIds()? When should I use which?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I teste using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$rsp = $req-&amp;gt;createCustomerPaymentProfile($customer_id, $payment, 'testMode');&lt;/P&gt;&lt;P&gt;$payment_id = $rsp-&amp;gt;getPaymentProfileId();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but sometimes $payment_id is "" (i.e. empty string). &amp;nbsp;I also tested on production server with 'liveMode', and the result is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I use getCustomerPaymentProfileIds() even if I only add one payment profile? &amp;nbsp;The name suggest that the function would return an array of paymentIds, but when I tried it only returned one scalar value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I can't find any document on either function, can someone please explain when to use which?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 22:15:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32843#M17387</guid>
      <dc:creator>jobs2careers</dc:creator>
      <dc:date>2013-01-31T22:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: getPaymentProfileId() vs getCustomerPaymentProfileIds()</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32846#M17390</link>
      <description>&lt;P&gt;I think is depend on how many payment profile id that customer profile id have.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 22:19:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32846#M17390</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-01-31T22:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: getPaymentProfileId() vs getCustomerPaymentProfileIds()</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32848#M17392</link>
      <description>&lt;P&gt;That's what I thought to, but unfortunately that's not the case.&lt;/P&gt;&lt;P&gt;I only created one customer payment profile, so I thought I should use getPaymentProfileId(), but it's returning empty string.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 22:25:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32848#M17392</guid>
      <dc:creator>jobs2careers</dc:creator>
      <dc:date>2013-01-31T22:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: getPaymentProfileId() vs getCustomerPaymentProfileIds()</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32851#M17395</link>
      <description>&lt;P&gt;Look to me for createCustomerPaymentProfile, use getPaymentProfileId because there is only one allow for each call.&lt;/P&gt;&lt;P&gt;And getCustomerPaymentProfileIds for createCustomerProfile because you can do multiple payment profiles.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2013 00:50:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/getPaymentProfileId-vs-getCustomerPaymentProfileIds/m-p/32851#M17395</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-02-01T00:50:36Z</dc:date>
    </item>
  </channel>
</rss>

