<?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: Hosted Form and API responsiveness in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/56164#M30972</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20653"&gt;@vlasar&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you still experiencing this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2016 20:47:33 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2016-11-10T20:47:33Z</dc:date>
    <item>
      <title>Hosted Form and API responsiveness</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/55814#M30646</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been successfully using Authorize.Net as our payment gateway for a few years now and are in the&amp;nbsp;process of&amp;nbsp;migrating to the&amp;nbsp;&lt;STRONG&gt;Hosted Form&lt;/STRONG&gt; (&lt;A href="http://developer.authorize.net/api/reference/features/customer_profiles.html" target="_blank"&gt;http://developer.authorize.net/api/reference/features/customer_profiles.html&lt;/A&gt;) to meet PCI compliance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;&lt;A href="https://sandbox.authorize.net/" target="_blank"&gt;https://sandbox.authorize.net/&lt;/A&gt; for development and testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's our workflow:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We create the &lt;STRONG&gt;Customer Profile&lt;/STRONG&gt; through the &lt;STRONG&gt;CIM API&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;We render a page with the &lt;SPAN&gt;&lt;STRONG&gt;Add Payment Profile&lt;/STRONG&gt;&amp;nbsp;button&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;User clicks the &lt;SPAN&gt;&lt;STRONG&gt;Add Payment Profile&lt;/STRONG&gt;&amp;nbsp;button, fills in his credit card details and successfully submits&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;We attach to the &lt;STRONG&gt;AuthorizeNetPopup.options.onPopupClosed&lt;/STRONG&gt;&amp;nbsp;event and post&amp;nbsp;to the GetCustomerProfile endpoint to retrieve a &lt;STRONG&gt;paymentProfileId&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;If we are not mistaken, we have to hit the &lt;STRONG&gt;GetCustomerProfile&lt;/STRONG&gt;&amp;nbsp;endpoint to get a&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;paymentProfileId&lt;/STRONG&gt;, it's not returned in any way automatically once the user submits the form?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;The issue is that, once the user submits the form and we get the response back from &lt;SPAN&gt;&lt;STRONG&gt;GetCustomerProfile&lt;/STRONG&gt;, the response doesn't contain the data of the newly created &lt;STRONG&gt;Payment Profile&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;It seems to&amp;nbsp;take a few seconds for the submitted data to propagete and if we add a timeout/sleep of a few seconds, after the user submits the form and before we post&amp;nbsp;to &lt;SPAN&gt;&lt;STRONG&gt;GetCustomerProfile&lt;/STRONG&gt;, we get the compelte data (the response then&amp;nbsp;containts &lt;STRONG&gt;paymentProfileID&lt;/STRONG&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Are we doing everything as expected? If so, how long can we expect the "data propagation" to take, that is, how long should our "timeout" be? Is there an alternate and better approach to just "waiting" a few seconds?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 17:50:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/55814#M30646</guid>
      <dc:creator>vlasar</dc:creator>
      <dc:date>2016-09-22T17:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Form and API responsiveness</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/55919#M30743</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20653"&gt;@vlasar﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the delayed response. &amp;nbsp;We've escalated your issue to our product team but don't yet have a final response from them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend subscribing to this topic so that you'll be alerted via email. To subscribe, click Topic Options at the top of this thread and then select Subscribe.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 20:58:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/55919#M30743</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-10-07T20:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Form and API responsiveness</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/56164#M30972</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20653"&gt;@vlasar&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you still experiencing this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 20:47:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Hosted-Form-and-API-responsiveness/m-p/56164#M30972</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-11-10T20:47:33Z</dc:date>
    </item>
  </channel>
</rss>

