|
|
ASP e
sistemi di pagamento |
|
Veniamo adesso al file invio.asp
<!--#include file="otp.asp"-->
<html>
<head>
<title>Invio Parametri</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head><body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<%
Dim PAY1_OTP
Dim tot
' qui dichiaro le variabili che userņ nello script
tot = request.form("totale")
' richiamo il valore totale della transazione
PAY1_OTP = PrelevaOTP()
' attivo la funzione PrelevaOTP()
%>
</div>
<form action="https://ecomm.sella.it/gestpay/pagam.asp">
<input type="hidden" name="a" value=<%=CodEs%>>
<input type="hidden" name="b" value="PAY1_UICCODE=242*P1*PAY1_AMOUNT=
<%=tot%>*P1*PAY1_SHOPTRANSACTIONID=<%=transaction_id %>*P1*PAY1_OTP=
<%=PAY1_OTP%>">
<table width="100%" border="1" cellspacing="2" cellpadding="2" bordercolor="#CCCCCC">
<tr>
<td>
<div align="center"> <b><font face="Arial, Helvetica, sans-serif" size="2">
<input type="text" name="prova" value=<%=tot%>><input type="submit" name="Submit" value="Conferma importo">
</font></b></div>
<div align="center"> <b><font face="Arial, Helvetica, sans-serif" size="2">
</font></b></div>
</td>
</tr>
</table>
</form>
</body>
</html>
[ 1 ] [
2 ] [ 3 ] [
4 ] |
A cura di Sergio Gandrus
|
|
|