RoyHobbs99223
Posts: 37
|
| Posted: 02/11/2008, 1:02 PM |
|
Anyone have experience with integrating the Authorize.net SIM method of credit card processing in a CodeCharge page?
Here is the Authorize.net example. Can you offer any assistance with integrating this into a CodeCharge Page? Or know anyone who can do it for me?
Thanks!
############
<!--#INCLUDE FILE="simlib.asp"-->
<!--#INCLUDE FILE="simdata.asp" -->
<html>
<head>
<title>Order Form</title>
</head>
<body>
<h3>Final Order</h3>
Description: CC AUTH ONLY<br>
Total Amount : 19.99<br>
<br>
<FORM action="https://test.authorize.net/gateway/transact.dll">
<!-- Uncomment the line ABOVE for test accounts OR the line BELOW for LIVE accounts-->
<!--<FORM action="https://secure.authorize.net/gateway/transact.dll">-->
<%
Dim sequence
Dim amount
Dim ret
amount = 19.99
If Mid(amount, 1,1) = "$" Then
amount = Mid(amount,2)
End If
' Seed random number for more security and more randomness
Randomize
sequence = Int(1000 * Rnd)
'*** for testing only: *********************************
'sequence = 931
' Now add the SIM related data, such as the fingerprint,
' to the HTML form.
' Response.Write ("<input type='text' name='x_description' value='" & Request("x_description") & "' style='width:300;'>" & vbCrLf)
Response.Write ("<input type='text' name='x_description' value='CC AUTH ONLY' style='width:300;'>" & vbCrLf)
Response.Write("<br>")
' Again, make sure all required values are properly declared
' in their respective places
ret = InsertFP (loginid, txnkey, amount, sequence)
Response.Write ("<input type='text' name='x_login' value='" & loginid & "' style='width:300;'>" & vbCrLf)
Response.Write("<br>")
Response.Write ("<input type='text' name='x_amount' value='" & amount & "' style='width:300;'>" & vbCrLf)
Response.Write("<br>")
%>
##########
|
 |
 |
|