Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2011
    Location
    127.0.0.1
    Posts
    67
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Question PayPal: How to get amount what people enter, when donating to me?

    Hi. I want to get the amount that people donate to me and I want to put it to database. Anybody knows how to do it? Thx for help.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    You can certainly do this for payments using the Paypal IPN service which will send a message to a listener when a payment is completed. You could write the listener in PHP and use that to update a database dependent on the message received - which includes details of the transaction.

    What I'm not certain of is whether the IPN service supports donations as opposed to payments.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •