Passing values to PayPal
Hello,
Does anyone have an example of passing database values to PayPal? How do I pass values into the input form required... I know very little about programming, so any code-behind etc would be extremely useful as I've been struggling to build my own for days.
<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif width="50" height="50" id="addToCart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="sample@sample.com">
<input type="hidden" name="item_name" value="Item 1">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="IC_Sample">
</form>
Thanks, lee
|