cancel
Showing results for 
Search instead for 
Did you mean: 

PayPal button Buy Now - customer can type amount.

New Community Member

PayPal button Buy Now - customer can type amount.

I have code:

 

 

 

 

<form action="<a href="<a href="<a href="https://www.paypal.com/cgi-bin/webscr" target="_blank">https://www.paypal.com/cgi-bin/webscr</a>" target="_blank"><a href="https://www.paypal.com/cgi-bin/webscr</a" target="_blank">https://www.paypal.com/cgi-bin/webscr</a</a>>" target="_blank"><a href="<a href="https://www.paypal.com/cgi-bin/webscr</a" target="_blank">https://www.paypal.com/cgi-bin/webscr</a</a>" target="_blank"><a href="https://www.paypal.com/cgi-bin/webscr</a</a" target="_blank">https://www.paypal.com/cgi-bin/webscr</a</a</a>>>" method="post" id="form_paypal">
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="hosted_button_id" value="XXX">
				<input type="hidden" name="business" value="{gateways.PAY_ADDRESS}">
				<input type="hidden" name="receiver_email" value="{gateways.PAY_ADDRESS}">
				<input type="hidden" name="amount" value="{PAY_VAL}">
				<input type="hidden" name="currency_code" value="{CURRENCY}">
				<input type="hidden" name="return" value="{SITEURL}complete">
				<input type="hidden" name="cancel_return" value="{SITEURL}fail">
				<input type="hidden" name="item_name" value="{TITLE}">
				<input type="hidden" name="undefined_quantity" value="0">
				<input type="hidden" name="no_shipping" value="1">
				<input type="hidden" name="no_note" value="1">
				<input type="hidden" name="custom" value="{CUSTOM_CODE}">
				<input type="hidden" name="notify_url" value="{SITEURL}x.php">
				<input type="hidden" name="landing_page" value="billing">
				<input class="btn btn-primary" name="submit" type="submit" value="{L_756}" border="0">
			</form>

 

 

 

 

When I click button I'm redirect to paypal site and I can type amount of item. Year ago this code was work great and customers can't edit item price. What was happened now with this button?

InkedScreenshot_2019-11-13 PayPal checkout_LI.jpg