Currently we have iframe material from our affiliate company placed on our website, we now wish to move further and integrate directly with the company via HTML POST.
Customers will visit our website, fill in our form and then the data will be sent via HTTP XML POST to our affiliate companies URL.
I have the full documentation on it and XML setup.
Once the POST data has been sent to the affiliate company it can take up to 90 seconds to receive a response, during this time a spinning progress indicator should be displayed.
Once a response comes back, it will either be;
ACCEPT which will hold a redirect URL that the system must handle and redirect the client to automatically.
PURCHASED which will also hold a redirect URL that the client should be redirected to automatically.
DECLINED which will contain a message that should be displayed to the client.
ERROR which indicates an error in the form the client has filled in, it will have a message of the exact error and this should be displayed to the client.