Paypal 'Buy Now' button not letting me dynamically set the price

China☆狼群 提交于 2020-02-04 05:37:28

问题


I'm working with a "Buy Now" button from Paypal, and am stumped as to why it's not working (I've done it before).

I created a "Buy Now" button on Paypal, and unchecked "Save this button on Paypal" - so it's not hosted there.

I've got the <form> and the <input type="hidden" name="encrypted" value="...">. I also have an <input type="hidden" name="amount" value="25.00"> directly after that encrypted input, just to see if it will let me set the price.

And no luck - it always brings me to the page where users can type in their own price.

Any ideas?


回答1:


An encrypted button and input name=amount won't work together. You'll need to OR encrypted (incl. the amount) OR 'plain text'.
If you're using the online button creation tool, simply click "Remove code protection" to view the plain code, rather than the encrypted version.



来源:https://stackoverflow.com/questions/7172033/paypal-buy-now-button-not-letting-me-dynamically-set-the-price

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!