<?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: Code Sample for updating Customer Profile needs improvement in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Code-Sample-for-updating-Customer-Profile-needs-improvement/m-p/73739#M45717</link>
    <description>&lt;P&gt;Thank you so much for the information keep suggesting us such informative post i will recommend this post to others&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="https://www.mygiftcardsite.pro" target="_self"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;My Gift Card Site&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 04:34:35 GMT</pubDate>
    <dc:creator>Thomas209</dc:creator>
    <dc:date>2020-10-27T04:34:35Z</dc:date>
    <item>
      <title>Code Sample for updating Customer Profile needs improvement</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Code-Sample-for-updating-Customer-Profile-needs-improvement/m-p/73737#M45715</link>
      <description>&lt;P&gt;The discussion text says:&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update Customer Payment Profile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Use this function to update a payment profile for an existing customer profile.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If some fields in this request are not submitted or are submitted with a blank value, the values in the original profile are removed. As a best practice to prevent this from happening, call&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-get-customer-payment-profile" target="_blank" rel="noopener"&gt;getCustomerPaymentProfileRequest&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to receive all current information including masked payment information. Change the field or fields that you wish to update, and then reuse all the fields you received, with updates, in a call to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.authorize.net/api/reference/#customer-profiles-update-customer-payment-profile" target="_blank" rel="noopener"&gt;updateCustomerPaymentProfileRequest&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;-------------&lt;/P&gt;&lt;P&gt;But the example doesn't show anything like reading and re-using the existing data. It just has hard coded values.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/UpdateCustomerPaymentProfile.cs" target="_blank" rel="noopener"&gt;https://github.com/AuthorizeNet/sample-code-csharp/blob/master/CustomerProfiles/UpdateCustomerPaymentProfile.cs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further, it assumes credit card info. If that account happened to have any other kind of payment data, you'd mysteriously lose data every time you updated an address.&lt;/P&gt;&lt;P&gt;It would be very helpul if this code could be updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular, I can't see how to handle&amp;nbsp;tokenMaskedType or&amp;nbsp;payPalType.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 18:08:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Code-Sample-for-updating-Customer-Profile-needs-improvement/m-p/73737#M45715</guid>
      <dc:creator>Tmanetwork1</dc:creator>
      <dc:date>2020-10-26T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Code Sample for updating Customer Profile needs improvement</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Code-Sample-for-updating-Customer-Profile-needs-improvement/m-p/73739#M45717</link>
      <description>&lt;P&gt;Thank you so much for the information keep suggesting us such informative post i will recommend this post to others&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="https://www.mygiftcardsite.pro" target="_self"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;My Gift Card Site&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 04:34:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Code-Sample-for-updating-Customer-Profile-needs-improvement/m-p/73739#M45717</guid>
      <dc:creator>Thomas209</dc:creator>
      <dc:date>2020-10-27T04:34:35Z</dc:date>
    </item>
  </channel>
</rss>

