<?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: Accept Hosted Form: How Can I Get Payment Profiles with getHostedPaymentPageRequest Call (C#)? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70442#M43256</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved this issue on my own. Yes, the note is true, but it's more complex than it indicates and should be made more clear and specific, because customer profile access is an important feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;getHostedPaymentPageRequest().profile member is a field of the transactionRequestType and the customerProfilePaymentType. In order to reach the profile field customerProfilePaymentType must be instantiated so customerProfileId can be accessed, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var transactionRequest = new transactionRequestType&lt;BR /&gt;{&lt;BR /&gt;transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),&lt;BR /&gt;amount = request.Amount,&lt;BR /&gt;profile = new customerProfilePaymentType { customerProfileId = "XXXXXXXXXX" }&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Jan 2020 00:16:12 GMT</pubDate>
    <dc:creator>ALPS</dc:creator>
    <dc:date>2020-01-25T00:16:12Z</dc:date>
    <item>
      <title>Accept Hosted Form: How Can I Get Payment Profiles with getHostedPaymentPageRequest Call (C#)?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70425#M43243</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Accept Hosted documentation, there is a note below the Presenting Payment Options header in the following section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/accept_hosted.html" target="_blank" rel="noopener"&gt;https://developer.authorize.net/api/reference/features/accept_hosted.html#Requesting_the_Form_Token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The note reads:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&lt;SPAN&gt;&amp;nbsp;If you use the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.authorize.net/api/reference/features/customer_profiles.html" target="_blank" rel="noopener"&gt;Customer Profiles&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;feature to store customer payment information, you can send a customer profile ID in the&amp;nbsp;&lt;/SPAN&gt;customerProfileId&lt;SPAN&gt;&amp;nbsp;element of the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.authorize.net/api/reference/#accept-suite-get-an-accept-payment-page" target="_blank" rel="noopener"&gt;getHostedPaymentPageRequest&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;call. When the browser displays the form, the four most recent payment profiles for that customer profile are displayed as shown in the image below. The customer can choose among these payment methods or enter new payment information, and save the new payment information in a payment profile that can be used in later transactions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this true? If so, can you please provide an example of how to send the customer profile ID in the getHostedPaymentPageRequest call? I cannot access the customerProfileId member: getHostedPaymentPageRequest().profile.customerProfileId. I keep getting a null reference error because profile is null, even if I try to assign a customer profile ID directly in the request.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 21:10:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70425#M43243</guid>
      <dc:creator>ALPS</dc:creator>
      <dc:date>2020-01-22T21:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form: How Can I Get Payment Profiles with getHostedPaymentPageRequest Call (C#)?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70442#M43256</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved this issue on my own. Yes, the note is true, but it's more complex than it indicates and should be made more clear and specific, because customer profile access is an important feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;getHostedPaymentPageRequest().profile member is a field of the transactionRequestType and the customerProfilePaymentType. In order to reach the profile field customerProfilePaymentType must be instantiated so customerProfileId can be accessed, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var transactionRequest = new transactionRequestType&lt;BR /&gt;{&lt;BR /&gt;transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),&lt;BR /&gt;amount = request.Amount,&lt;BR /&gt;profile = new customerProfilePaymentType { customerProfileId = "XXXXXXXXXX" }&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 00:16:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70442#M43256</guid>
      <dc:creator>ALPS</dc:creator>
      <dc:date>2020-01-25T00:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form: How Can I Get Payment Profiles with getHostedPaymentPageRequest Call (C#)?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70648#M43412</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18161"&gt;@ALPS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved this issue on my own. Yes, the note is true, but it's more complex than it indicates and should be made more clear and specific, because customer profile access is an important feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;getHostedPaymentPageRequest().profile member is a field of the transactionRequestType and the customerProfilePaymentType. In order to reach the profile field customerProfilePaymentType must be instantiated so customerProfileId can be accessed, like this: &lt;A href="https://pakistani.guru" target="_self"&gt;&lt;FONT color="#000000"&gt;pakistan&lt;/FONT&gt;&lt;/A&gt; &lt;FONT color="#000000"&gt;&lt;A href="https://rentacar.guru" target="_self"&gt;rentacar&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var transactionRequest = new transactionRequestType&lt;BR /&gt;{&lt;BR /&gt;transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),&lt;BR /&gt;amount = request.Amount,&lt;BR /&gt;profile = new customerProfilePaymentType { customerProfileId = "XXXXXXXXXX" }&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for posting your solution so that others can also get benefit from it.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 19:05:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/70648#M43412</guid>
      <dc:creator>zalimshahggg</dc:creator>
      <dc:date>2020-02-16T19:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted Form: How Can I Get Payment Profiles with getHostedPaymentPageRequest Call (C#)?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/72903#M45076</link>
      <description>&lt;P&gt;I was looking for solution for almost 2 weeks now. This solution worked for me. Thank you so much for sharing this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 02:16:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-Form-How-Can-I-Get-Payment-Profiles-with/m-p/72903#M45076</guid>
      <dc:creator>M3QDev2020</dc:creator>
      <dc:date>2020-08-18T02:16:05Z</dc:date>
    </item>
  </channel>
</rss>

