<?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: returning paymentprofileid from addPayment POST in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40632#M22063</link>
    <description>&lt;P&gt;I had a good discussion with an expert Authorize.net developer (thanks:)) and have it straight now. I was trying to over apply my own set of rules and logic in an area that is more restricted by PCI than I am used to. I stil think a simple flow chart showing all of the &lt;SPAN style="text-decoration: underline;"&gt;development&lt;/SPAN&gt; steps requried would be handy.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2014 03:30:55 GMT</pubDate>
    <dc:creator>stzoid</dc:creator>
    <dc:date>2014-04-18T03:30:55Z</dc:date>
    <item>
      <title>returning paymentprofileid from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40596#M22047</link>
      <description>&lt;P&gt;I have been successful using&amp;nbsp;editPayment to edit an existing paymentprofile (see first code snippit below). But now I want to use addPayment to add a new PaymentProfile. When I use the second code snippit below, it does properly allow the user to add a new PaymentProifile BUT since nothing is returned from Authorize on this post, I cannot get back the new PaymentProfileID (am I mistaken, can I get the PaymentProfileID as a return?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So because I cannot get the PaymentProfileID, I run getCustomerProfileRequest to return ALL PaymentProfiles. I am then in the odd position where I have to make an assumption which of the returned PaymentProfileID's is indeed the new one that I just added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Better way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;editPayment&lt;BR /&gt;&amp;lt;form method="POST" action="&lt;A target="_blank" href="https://test.authorize.net/profile/editPayment&amp;quot;"&gt;https://test.authorize.net/profile/editPayment"&lt;/A&gt; id="formAuthorizeNetPage"&amp;gt;
&amp;lt;input type="hidden" name="token" value ="{token}"&amp;gt;
&amp;lt;input type="hidden" name="PaymentProfileId" value="xxxxxxx" /&amp;gt;
&amp;lt;/form&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;addPayment
&amp;lt;form method="POST" action="&lt;A target="_blank" href="https://test.authorize.net/profile/addPayment&amp;quot;"&gt;https://test.authorize.net/profile/addPayment"&lt;/A&gt; id="formAuthorizeNetPage"&amp;gt;
&amp;lt;input type="hidden" name="token" value ="{token}"&amp;gt;
&amp;lt;/form&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:09:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40596#M22047</guid>
      <dc:creator>stzoid</dc:creator>
      <dc:date>2014-04-16T16:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: returning paymentprofileid from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40628#M22061</link>
      <description>&lt;P&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>Fri, 18 Apr 2014 01:50:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40628#M22061</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2014-04-18T01:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: returning paymentprofileid from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40632#M22063</link>
      <description>&lt;P&gt;I had a good discussion with an expert Authorize.net developer (thanks:)) and have it straight now. I was trying to over apply my own set of rules and logic in an area that is more restricted by PCI than I am used to. I stil think a simple flow chart showing all of the &lt;SPAN style="text-decoration: underline;"&gt;development&lt;/SPAN&gt; steps requried would be handy.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 03:30:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/40632#M22063</guid>
      <dc:creator>stzoid</dc:creator>
      <dc:date>2014-04-18T03:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: returning paymentprofileid from addPayment POST</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/48037#M24232</link>
      <description>&lt;P&gt;stzoid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What was your resolution?&amp;nbsp;&amp;nbsp; I am having the same issue.&amp;nbsp;&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:10:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/returning-paymentprofileid-from-addPayment-POST/m-p/48037#M24232</guid>
      <dc:creator>Chris123Hutch</dc:creator>
      <dc:date>2014-10-20T15:10:44Z</dc:date>
    </item>
  </channel>
</rss>

