Solved

Paypal notification back on website using PHP and MySQL

Posted on 2010-08-26
4
356 Views
Last Modified: 2013-12-13
I am building a site using php and mysql.

When a user books and pays for a course using Paypal I want the value of 'paid' to be sent to the database once checkout is completed.

Is this possible? How do i send the info to the database from Paypal?

0
Comment
Question by:BrighteyesDesign
4 Comments
 
LVL 13

Accepted Solution

by:
p_nuts earned 167 total points
ID: 33537384
normally you post data to paypal through the url. when setting up you setup a successfull link for them to sent the user back to.
most of these links contain examples
http://www.google.com/m?client=ms-opera-mobile&channel=new&ie=utf-8&oe=utf-8&q=php%20paypal


0
 

Assisted Solution

by:stinkBait
stinkBait earned 166 total points
ID: 33537722
I have used PayPal Website Payments Pro a few times.  Im not sure if this feature is only privy to that feature, or if it is PayPal wide, but I like to use the IPN feature.  Its called Instant Payment Notification.  Basically whenever an order is processed, it sends a response to your server with a bunch of POST data, from there you can do with it what you please.  One of the pieces it sends is $_POST['payment_status'] with a value of 'Completed' if the payment has been processed.  
0
 
LVL 5

Assisted Solution

by:amrish80
amrish80 earned 167 total points
ID: 33539066
0
 

Author Closing Comment

by:BrighteyesDesign
ID: 33768847
...
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Every business owner understands the significance of online customer reviews and the impact it can have on sales and revenues. With technology advancing at such a rapid pace, getting online reviews has never been easier, especially when many regions…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question