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
    Regular Coder
    Join Date
    Apr 2010
    Posts
    417
    Thanks
    4
    Thanked 1 Time in 1 Post

    find out if PayPal payment went through ok or not so can store 'paid' in mysql.

    I have a payment button for PayPal which securely stores the amount, but when the payment is made how do i know if it was paid or not so i can get the page to store this in the mysql database?

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,531
    Thanks
    8
    Thanked 1,091 Times in 1,082 Posts
    You utilize the PHP / PayPal IPN feature.

    This is a bit different than using a PayPal button that you created with PayPal.

    There is a free paypal testing site you MUST use to not only learn how to use IPN,
    but to test it out. Probably the most valuable paypal feature/service they offer:
    https://www.x.com/index.jspa

    You sign up for free. Lots of PHP script examples. You use it to test your site.
    When everything is working good, you switch your site over to your REAL PayPal account.


  •  

    Posting Permissions

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