开发者

How do I specify the amount whn using paypal "Pay now" button

开发者 https://www.devze.com 2023-02-07 01:33 出处:网络
I have my own shopping cart on my website, and when the user goes to pay, I just want them to press the \"pay now\" button and be taken to paypal an pay that amount. The amount however will vary from

I have my own shopping cart on my website, and when the user goes to pay, I just want them to press the "pay now" button and be taken to paypal an pay that amount. The amount however will vary from order to order, so I have looked into HTML variables in the paypal resource section, however adding does not 开发者_如何转开发seem to change the price, it seems to take the price that was specified when creating the button.

Any ideas?

Thanks


I've had the same problem.

I noticed that MODx had solved it: http://modxcms.com/donate/

And i've implemented some of the same in my own donation form: http://webbies.dk/SudoSlider/donate/

Just copy the html of my input form (the CSS and images are my own, just copy it if you wan't), and adjust it to your needs.

Just set the input-type to hidden, if you don't want the user to edit the amount.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号