<?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 Accept Customer looking for paymentProfileId from addPayment POST in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62608#M36889</link>
    <description>&lt;P&gt;I am trying to get Accept Customer Hosted form working to improve my PCI complance and am struggling with adding payment profiles. I can add them, but I am trying to get the paymentProfileId back so I can later charge by using the customerProfileId and the paymentProfileId. I found a post on here from 2014 where a guy said he spoke with and "expert" and resolved his issue (said he was over thinking it), but failed to mention his revelation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the API I can getCustomerPaymentProfile if I now the profileId, get a profileListof expiring profiles, and validate a paymentProfile if I know the&amp;nbsp;ID. I would have assumed that the iframe listener would return it, but all I seem to get is action=successfulSave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the paymentProfileId I just&amp;nbsp;created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 23:31:29 GMT</pubDate>
    <dc:creator>td234</dc:creator>
    <dc:date>2018-04-11T23:31:29Z</dc:date>
    <item>
      <title>Accept Customer looking for paymentProfileId from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62608#M36889</link>
      <description>&lt;P&gt;I am trying to get Accept Customer Hosted form working to improve my PCI complance and am struggling with adding payment profiles. I can add them, but I am trying to get the paymentProfileId back so I can later charge by using the customerProfileId and the paymentProfileId. I found a post on here from 2014 where a guy said he spoke with and "expert" and resolved his issue (said he was over thinking it), but failed to mention his revelation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the API I can getCustomerPaymentProfile if I now the profileId, get a profileListof expiring profiles, and validate a paymentProfile if I know the&amp;nbsp;ID. I would have assumed that the iframe listener would return it, but all I seem to get is action=successfulSave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the paymentProfileId I just&amp;nbsp;created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 23:31:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62608#M36889</guid>
      <dc:creator>td234</dc:creator>
      <dc:date>2018-04-11T23:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Customer looking for paymentProfileId from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62682#M36946</link>
      <description>&lt;P&gt;I solved this and thought I shuold post a reply in case anyone finds this post having the&amp;nbsp;same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I certainly think the paymentProfileId should be returned with the result, my solution was to do a request for the known customerProfileId. The response for GetCustomer includes all the payment profiles. This means more hits to the API to Authnet, but it also insures I am using the most accurate data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This actually is very handy when switching from the sandbox to production. What I do to verify the client's record is try to add teh client record. If this fails (because the client with that CustomerID and email already exists) the result has the exiting clientID in the response (in the string, but I use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;filter_var(&lt;/SPAN&gt;&lt;SPAN&gt;$arrCustomerProfile&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'message'&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FILTER_SANITIZE_NUMBER_INT&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;So, even when I switch from testing to liveMode my resords fix themseleves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thom&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 12:37:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62682#M36946</guid>
      <dc:creator>td234</dc:creator>
      <dc:date>2018-04-18T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Customer looking for paymentProfileId from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62722#M36984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/24100"&gt;@td234&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are looking to add more elements to the response in future releases .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use our Webhooks to received notifications for customer events&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://developer.authorize.net/api/reference/features/webhooks.html" target="_blank"&gt;http://developer.authorize.net/api/reference/features/webhooks.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="Payment_Profiles_Events" class="feature-item-subtitle subtitle2"&gt;PAYMENT PROFILES EVENTS&lt;/H4&gt;
&lt;TABLE class="table table-condensed"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH&gt;Event&lt;/TH&gt;
&lt;TH&gt;Description&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;net.authorize.customer.paymentProfile.created&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;Notifies you that a payment profile has been created.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;net.authorize.customer.paymentProfile.updated&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;Notifies you that a payment profile has been updated.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;net.authorize.customer.paymentProfile.deleted&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;Notifies you that a payment profile has been deleted.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 19 Apr 2018 06:48:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62722#M36984</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-04-19T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Customer looking for paymentProfileId from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62727#M36989</link>
      <description>&lt;P&gt;THanks. Yes, I am already usnig webhooks.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 14:52:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Customer-looking-for-paymentProfileId-from-addPayment/m-p/62727#M36989</guid>
      <dc:creator>td234</dc:creator>
      <dc:date>2018-04-19T14:52:30Z</dc:date>
    </item>
  </channel>
</rss>

