i have a jsp for which i have to encrypt and send information to paypal site. and it should take some dynamic values such as amount.
my code in jsp is.
form action="https://www.paypal.com/cgi-bin/webscr" method="post"
input type="hidden" name="cmd" value="_xclick"
input type="hidden" name="image_url" value="http://ABCDcom/images/Board40.gif"
input type="hidden" name="business" value="
[email protected]"
input type="hidden" name="return" value="http://localhost:8080/ABCD/"
input type="hidden" name="item_name" value="Abcd web site"
input type="hidden" name="item_number" value="10098"
input type="hidden" name="amount" value='<%=pform.getTotal() %>'
input type="hidden" name="no_shipping" value="1"
input type="hidden" name="cancel_return" value="http://localhost:8080/ABCD/"
input type="hidden" name="no_note" value="1"
/form
here pform.getTotal is the dynamic amount. which should encrypt always.
please send me steps to how to encrypt
thanks in advance