• I am using a dynamic version of Paypal’s Buy Now button. After a payment is done, I redirect to a confirmation page but I’d also need to change the availability of the item to 0 (false) since all items are unique (there are only one per item). How can it be done? The item will keep showing as “SOLD” due to the value indicating it is not available anymore.

    I have no idea on how I could do this…

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you are using IPN then handle this in the notificaton URL page

    You might also look into using WordPress’s xmlrpc features for the PayPal IPN.

    However, consider: What happens if two or more people add the item to their PayPal cart, before any of them checks out? Then PayPal will let all of them purchase the single item… What will you do in that case?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update a post after bein redirected from Paypal’ is closed to new replies.