Quantity control in paypal.

Discussion in 'PayPal' started by emily, Jul 23, 2007.

  1. #1
    Hello,

    do you know a way to control the quantity of sold items with paypal "buy it now" button? I'd like my button to lead to payment page until 5 items are sold and then deactivates it. Is there a way to do that?

    Thank you for help!

    Emily
     
    emily, Jul 23, 2007 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    You could switch to the paypal IPN method. If you have your item in a simple database, Paypal will call back your IPN page which you would have update your database. On the site itself you would show the buy now button up until the quantity in the database was down to 0.
     
    jestep, Jul 23, 2007 IP
  3. emily

    emily Well-Known Member

    Messages:
    1,252
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Hi,

    thanks for your answer. This is a simple solution suitable for majority of websites, but it won't work if second user would click "Buy now" button, before the first one finishes the checkout.

    Cheers,
    Emily
     
    emily, Jul 24, 2007 IP