hi************@ aol.com (HikksNotAtHome ) wrote in
news:20******** *************** ****@mb-m27.aol.com:
<script type="text/javascript">
document.formNa me.AMT.value = RF2N('Total');
</script>
Thanks for your reply, for some reason it doesn't work for me.
The code is now:
<p><!-- The Way2Pay Button HTML begint hier -->
<form action="https://merchant.way2pa y.nl/merchant/payments-w2p.asp"
method=post id=form1
name=form1>
<input type="hidden" name="MERID" value="xxxxxxx" >
<input type="hidden" name="MNAME" value="xxxxx">
<input type="hidden" name="ITEMNAME" value="Bestelli ng">
<input type="hidden" name="TID" value="orderID" >
<SCRIPT LANGUAGE='JavaS cript'>document .form1.AMT.valu e=RF2N('Total') ;
</script>
<input type="hidden" name="SURL" value="http://www.nu.nl">
<input type="hidden" name="FURL" value="http://www.nu.nl">
<input type="image" border="0" name="IMAGEFIEL D"
src="https://www.way2pay.nl/pix/voorstel1/betaalnu_klein2 _nieuw.gif"
alt="Betaal met
Way2Pay">
</form>
<!-- The Way2Pay Button HTML eindigt hier --> </p>
The output at the paysite
(
https://merchant.way2pay.nl/merchant/payments-w2p.asp) is 0,0 for the
amount.
When i replace the line LANGUAGE='JavaS cript'>
document.form1. AMT.value=RF2N( 'Total');
</script>
with the line <input type="hidden" name="AMT" value="999,99">
the output at the paysite for amount is correctly set at 999,99
The line <SCRIPT LANGUAGE='JavaS cript'>RF2N('To tal');</script>
print the correct amount on screen.
what is it what i'm doing wring here?
Thanks,
Otto