Click to See Complete Forum and Search --> : Script to check order status


Foundas
05-11-2005, 08:03 AM
Hi all,

it would be great if you can help me with the following issue :

i have registered with Multicards for online credit card processing and opened a merchant account with them.

Multicards use a batch-job system for order notifications and they require from me, to have a script on my server/host. The script's job is to to send a standard HTTP 200 response code whenever Multicards system posts their variables to this script.

these variables are found here:
http://www.multicards.com/support/technical/script_interfaces/order_status.htm



Can you please help me to develop this script?

thanks in advance


best regards,

Foundas

wmif
05-11-2005, 08:22 PM
sounds like you would handle this just like a form post. try that and see if it works.

phpnovice
05-12-2005, 09:11 AM
You probably weren't asking this part, but you would receive the post from MultiCards with the following specifications. But, the response is also shown below:

If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
... Request.Form("order_num")
... Request.Form("status")
... Request.Form("reason")
... Request.Form("origin")
... Request.Form("pageid")
... Request.Form("notifyid")
... Request.Form("created")
...etc...
Response.Status = "200 Ok"
Response.End
Else
Response.Status = "400 Bad Request"
Response.End
End If