- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hosted Form and API responsiveness
Hello,
We have been successfully using Authorize.Net as our payment gateway for a few years now and are in the process of migrating to the Hosted Form (http://developer.authorize.net/api/reference/features/customer_profiles.html) to meet PCI compliance.
We are using https://sandbox.authorize.net/ for development and testing.
Here's our workflow:
- We create the Customer Profile through the CIM API
- We render a page with the Add Payment Profile button
- User clicks the Add Payment Profile button, fills in his credit card details and successfully submits
- We attach to the AuthorizeNetPopup.options.onPopupClosed event and post to the GetCustomerProfile endpoint to retrieve a paymentProfileId
If we are not mistaken, we have to hit the GetCustomerProfile endpoint to get a paymentProfileId, it's not returned in any way automatically once the user submits the form?
The issue is that, once the user submits the form and we get the response back from GetCustomerProfile, the response doesn't contain the data of the newly created Payment Profile.
It seems to 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 to GetCustomerProfile, we get the compelte data (the response then containts paymentProfileID).
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?
Thank you in advance.
โ09-22-2016 10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @vlasar
Apologies for the delayed response. We've escalated your issue to our product team but don't yet have a final response from them.
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.
Thanks,
Richard
โ10-07-2016 01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-10-2016 12:47 PM

