Assign value to PayPal button
Posted: Sat Jul 27, 2019 1:06 am
I am trying to use the PayPal objects
I tried - Buy Now, I tried donations... Nothing works. I left the "amount" element empty
I expect that the selected item amount from the ComboBox will be inserted as the "amount" but it does not.
Below is the code generated by WWB
Need help please
<form action="https://www.paypal.com/cgi-bin/webscr" id="PayPal1_form" method="post" style="margin:0;padding:0;" target="">
<input type="hidden" name="business" value="alex4orly@gmail.com">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="item_name" value="Donation">
<input type="hidden" name="item_number" value="">
<input type="hidden" name="amount" value="">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="shipping" value="">
<input type="hidden" name="shipping2" value="">
<input type="hidden" name="handling" value="">
<input type="hidden" name="return" value="www.cla-ltd.org">
<input type="hidden" name="cancel_return" value="www.cla-ltd.org">
<input type="hidden" name="undefined_quantity" value="0">
<input type="hidden" name="receiver_email" value="alex4orly@gmail.com">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="on0" value="Make a Donation">
<select name="os0" size="1" id="Combobox1" style="position:absolute;left:30px;top:20px;width:136px;height:31px;z-index:1;">
<option selected value="">Please select</option>
<option value="20.00">$20.00</option>
<option value="50.00">$50.00</option>
<option value="100.00">$100.00</option>
</select>
<input id="PayPal1" type="image" name="submit" src="images/x-click-but01.gif" style="position:absolute;left:65px;top:71px;z-index:1;" alt="Make payments with PayPal, it's fast, free, and secure!">
</form>
I tried - Buy Now, I tried donations... Nothing works. I left the "amount" element empty
I expect that the selected item amount from the ComboBox will be inserted as the "amount" but it does not.
Below is the code generated by WWB
Need help please
<form action="https://www.paypal.com/cgi-bin/webscr" id="PayPal1_form" method="post" style="margin:0;padding:0;" target="">
<input type="hidden" name="business" value="alex4orly@gmail.com">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="item_name" value="Donation">
<input type="hidden" name="item_number" value="">
<input type="hidden" name="amount" value="">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="shipping" value="">
<input type="hidden" name="shipping2" value="">
<input type="hidden" name="handling" value="">
<input type="hidden" name="return" value="www.cla-ltd.org">
<input type="hidden" name="cancel_return" value="www.cla-ltd.org">
<input type="hidden" name="undefined_quantity" value="0">
<input type="hidden" name="receiver_email" value="alex4orly@gmail.com">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="on0" value="Make a Donation">
<select name="os0" size="1" id="Combobox1" style="position:absolute;left:30px;top:20px;width:136px;height:31px;z-index:1;">
<option selected value="">Please select</option>
<option value="20.00">$20.00</option>
<option value="50.00">$50.00</option>
<option value="100.00">$100.00</option>
</select>
<input id="PayPal1" type="image" name="submit" src="images/x-click-but01.gif" style="position:absolute;left:65px;top:71px;z-index:1;" alt="Make payments with PayPal, it's fast, free, and secure!">
</form>