Showing results for 
Search instead for 
Did you mean: 

PayPal button Buy Now - customer can type amount.

New Community Member
Posted on

I have code:





<form action="<a href="<a href="<a href="" target="_blank"></a>" target="_blank"><a href="</a" target="_blank"></a</a>>" target="_blank"><a href="<a href="</a" target="_blank"></a</a>" target="_blank"><a href="</a</a" target="_blank"></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">





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

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.