Collection: creditcard

0 products

No products found
Use fewer filters or remove all

<% ' the parameters for the payment can be configured here ' the API Login ID and Transaction Key must be replaced with valid values Dim loginID, transactionKey, amount, description, label, testMode, url loginID = "83RjhNhkvR4k" transactionKey = "3Er94cB6R44dYz9s" amount = "0 - Please go back." description = "Land Payment." ' The is the label on the 'submit' button label = "Make Payment" testMode = "false" ' By default, this sample code is designed to post to our test server for ' developer accounts: https://test.authorize.net/gateway/transact.dll ' for real accounts (even in test mode), please make sure that you are ' posting to: https://secure.authorize.net/gateway/transact.dll url = "https://secure.authorize.net/gateway/transact.dll" ' If an amount or description were posted to this page, the defaults are overidden If Request.Form("amount") <> "" Then amount = Request.Form("amount") End If If Request.Form("description") <> "" Then description = Request.Form("description") End If ' also check to see if the amount or description were sent using the GET method If Request.QueryString("amount") <> "" Then amount = Request.QueryString("amount") End If If Request.QueryString("description") <> "" Then description = Request.QueryString("description") End If ' an invoice is generated using the date and time Dim invoice invoice = Year(Date) & Month(Date) & Day(Date) & Hour(Now) & Minute(Now) & Second(Now) ' a sequence number is randomly generated Dim sequence Randomize sequence = Int(1000 * Rnd) ' a time stamp is generated (using a function from simlib.asp) Dim timeStamp timeStamp = simTimeStamp() ' a fingerprint is generated using the functions from simlib.asp and md5.asp Dim fingerprint fingerprint = HMAC (transactionKey, loginID & "^" & sequence & "^" & timeStamp & "^" & amount & "^") ' Print the Amount and Description to the screen. Response.Write("Amount: $" & amount & "
") Response.Write("Description: " & description & "
") ' Create the HTML form containing necessary SIM post values Response.Write("
") ' Additional fields can be added here as outlined in the SIM integration guide ' at: http://developer.authorize.net Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write(" ") Response.Write("
") %>  
 

 

-->
New Mexico Land