Paypal buy now and inventory control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm building a website with WebPlus 5 which will have a large number of individual items on it. The site is populated from a database, which creates individual records. I want to add an Add to cart button for each item to allow users to use the shopping cart, and use the inventory control feature to make sure that each item can only be purchased once. WebPlus will allow me to create each record with an Add to cart Button, but I don't want to have to manually enter the quantity and price for each item for inventory control. Is there a way in which this can be done automatically by indicating that there is only one of each item?
Hope you are able to help, as I am concerned about multiple customers trying to buy an item.
Thanks in advance
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Webplus the price is attached to each item in the database, and this populates each form. The Paypal button picks up this price, and sends it through to the shopping cart and ultimately checkout. However, once the item has been sold, there is no easy way of preventing it from being sold again. The item needs to reflect the fact that it has been sold, and this does not seem a straighforward thing to do without a major programming effort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what do you mean , it populates the form ? can you give me the code ? the paypal input field tha "changes" the price... i want used hidden input ammount but it does not work...
now for your problem , if i were you , i would use php SESSIONS in order to hide and show the buy button ... or if you can no more future buys by the user , you can add the user id who buys it at your database with the product id , and then every time you load the page , you will check if the user id checkout once with this product
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the suggestion - I'll give it a go. As far as the Webplus database goes, the code is in the Serif WebPlus programme. You create a database file (CSV) and upload this using an ecommerce tool. This creates a repeating from with each record being one database entry. Each also has a BuyNow or Add to Cart button appended, which picks up the information from the database record to pass to the cart or paypal.My problem is then how to pass the fact that a user has clicked the button back to the right record on the webpage, and update it.
I suggest you have a look at www.firesnet.co.uk/webplus.html and look at the section about creating the e-commerce database.
Hope this is helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
probably you didnt understand what i want to know... now i use this code
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="paynow" id="paynow"> <input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="QRYFTK9PHPVYC">
<input type="hidden" name="quantity" value="1">
</form>
to display the buy know button.
i tried to add
<input type="hidden" name="amount" value="15.00">
in order to add the buy now price but it does not work , so i want to know how i can change the price
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, but I'm not able to help you on this one. I'm not a javascript programmer, and am struggling with the basics of it myself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok i figured it out , did you know how this is working ???
or do you know a method how to verify that he paid you ? it isn't enough to go to success.php

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Buy Now Button - Shipping Discount on Similar Items in Merchant services (Archive)
- Inventory Management in Merchant services (Archive)
- Inventory Control in Merchant services (Archive)
- Custom button graphic in Merchant services (Archive)
- Inventory Sold Out URL error 405 in Reporting and tracking (Archive)