| |
meenoi
Posts: 1
Score: 0
Joined: 1/29/2008
Status: offline
|
Hi Sir If I use below: Code: ( asp ) theMainURL = "https://4tknox.au.com/cgi-bin/the merchant.au.com/ecom/external2.pl" theParams = "LOGIN=xxx/xxxx&COMMAND=purchase&A MOUNT=" & CreditAmount& "&CCNUM=" & CreditCard & "&CCEXP=" & CreditExpiry & "&COMMENT=" & CreditComment Dim xmlhttp Set xmlhttp = Server.CreateObject("MSXML2.XMLHTTP") xmlhttp.Open "POST", theMainURL, false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded " xmlhttp.send theParams Response.write xmlhttp.responseText The question is how can I get return values and insert in SQL, if gateway result is "failed", "declined" or "Approved" Thank you.
|
|