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:
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.
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.