HTTP Post with Redirect - Ping-Post

In Progress

I have a lead form that i would like to use on different landing page on different domains. I will need the content of the form upon submit to database the information and then HTTP Post the lead to different vendors 1 at a time until a vendor "accepts" or "rejects" the lead.

Once the lead has been submitted the should be brought to a animated waiting page while they wait for the responses from our vendors.

If the lead is accepted by a vendor they will send a json response back with the "price" "url" and "status".

If the lead is accepted the json response will include a redirect URL that the lead should be redirect to complete the transaction.

Here are example of a responses from a vendor after accepting the lead:

{"replyToOff":false,"data":{"result":{"price":"3.50","url":"https://www.example.com"},

"status":"success"},"errorCode":"NO_ERROR"}

If the lead is "rejected" i would like it to http post to next vendor.

At this time its only 3 vendors. If all vendors reject the lead it will be redirected to another page where i will have some other offers for them.

Here are example of a responses from a vendor after rejecting the lead:

{"replyToOff":false,"data":{"status":"reject"},"errorCode":"NO_ERROR"}

This all needs to be done in real-time and as smooth as possible to avoid losing the lead. I would like this information databased in MySQL so i can query as needed.

Let me know if you can help

Nick

Skills: Codeigniter, HTML, Javascript, PHP, WordPress

See more: http redirect post, http post redirect, post redirect, redirect post, redirect post http https, http post can redirect, http redirect json, ping redirect, ping them, submit 50 responses, ping, http post, http redirect page, landing page form database, post json, response send json, http redirect, http submit, json response, http form post submit, json post, submit http, json form, http redirect https, submit form landing page

Project ID: #4705405

Awarded to:

andrespa

Hired by the Employer

$250 USD in 5 days
(38 Reviews)
5.7