Buy Now button for variable price items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I use a Buy Now button for the application that I'm developing? This is to sell copies of a single type of CD. I would like to offer people the choice to buy multiple CDs if they wish, and I would like to be able to calculate the price depending on the number of CDs they buy, what type of shipping they require, where the CDs are to be mailed to etc. Can I do this with a single Buy Now button? How? I have no problem in claculating the price in my PHP code and maybe writing it into a hidden field or something. I just need to get this information to Paypal in a format that it will understand.
Thanks - Rowan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using the PayPal item button code itself is one topic however, if you plan to use PHP (which is not uncommon), the coding becomes a bit more complicated as you cannot use the online button creator to generate the PayPal button code. The code needs to be manually created so you can populate the desired variable values from your PHP code.
As this forum is a bit less technical in nature, you may want to visit the Developer's Forum where as you can search and/or ask for help with your project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rowan: I have almost exactly the same problem as you! On my website a price has been calculated, and I want to carry that price through to the Paypal payment page. Currently I can only display a fixed order for 01p. If you find a route to an answer, I'd be most grateful if you would share it with me. I use php.
I looked at the site recommended by the other poster (sorry, poster, I didnt copy down your name) but I can't make head or tail of it, it seems to involve much more complicated subjects.
Peter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately it is a bit more complicated, that's why the Developer Forum was suggested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Snowshoe. (Something went wrong and I had to create new logon name!). I have just visited the site you linked, and for some reason it seems to be an entirely different site from what I reached before! In that one, I didnt even understand the topics. In this, I do. So I don't know what happened there. Anyway, this looks like a good site for asking a question on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Developer Forum was changed to Stackoverflow sometime back. The format is different however, still supported by some of the same people from the previous forum, coders and developers.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sold mobile phone, chargeback issued 15 mins after collecting in Selling on eBay
- Paypal payment buttons on website: Adding different shipping costs in Selling on your website
- Developer headache: Need Multiple shipping options in Selling on your website
- Separate Drop-Down Menus - One Button in Selling on your website
- How to add a "View Basket/Cart" button when using PayPal Buttons for payment? in Selling on your website