Thanks.. I feel like i am making something super easy into something exteremly difficult. I am now confused as to how integration works. I have pretty nice general skills in C++ and html, but for some reason i am hitting a stump. My code is below..
Just a refresher, once i get this "submit payment" button working, i should be taken away from my website and to a general form from authorize.net where customers can fill in information except the amount?
<HTML lang='en'>
<title> UNHS online bill pay</title>
<%
loginID= "my id"
transactionKey= "my transaction key"
amount= "0000.00"
description = "Sample Transaction"
label= "Submit Payment"
testMode= "false"
url= "http://secure.authorize.net/gateway/transact.dll"
Response.Write If Request.Form ("amount") <> ""Then amount = Request.Form ("amount")
End If
If Request.Form ("description") <> ""Then description = Request.Form ("description")
End If
If Request.QueryString ("amount") <> ""Then amount = Request.QueryString ("amount")
End If
If Request.QueryString ("description") <> ""Then description = Request.QueryString ("description")
End If
Dim invoice
invoice = Year (Date) & Month (Date)& Day (Date) & Hour (Now) & Minute (Now) & Second (Now)
Dim Sequence
Randomize
Sequence = Int(1000*Rnd)
Dim timeStamp = GetSecondsSince1970()+(25200)
Dim fingerprint
fingerprint = HMAC-Md5("transactionKey, loginID "^" & sequence & "^" & timeStamp & "^" &amount & "^")
Response.Write ("Amount: "&amount&" <br/>")
Response.Write ("Description: "&description&" <br/>")
<!--#INCLUDE FILE="simlib.asp"-->
<FORM method = post action = "https://secure.authorize.net/gateway/transact.dll">
<%ret=InsertFP(APIloginid, sequence, amount, txnkey)%>
<INPUT type=hidden name="x_login" value= "000000000">
<INPUT type = hidden name= "x_version" value= "3.1">
<INPUT type= hidden name="x_amount" value= "0000.00">
<INPUT type=hidden name = "x_method" value="CC">
<INPUT type=hidden name="x_type" value = "CAPTURE_ONLY">
<INPUT type= hidden name= "x_fp_sequence" value= "sequence">
<INPUT type= hidden name= "x_fp_timeStamp" value="timeStamp">
<INPUT type= hidden name= "x_fp_hash" value= "fingerprint">
<INPUT type= hidden name= "x_show_form" value= "PAYMENT_FORM">
<INPUT type= submit value="Please click here for secure payment.">
</%>
</Form>
</HTML>