Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1152
  • Last Modified:

How to integrate paypal with mysql inventory

I am trying to make a e-commerce site. I have the inventory stored in a MySql database. and I want to use paypal to process the payment. Once the payment clears I want to have the item number and the quantity sold sent back to me from paypal. that way I can use the MySql database and subtract the amount sold from the inventory. I would like to use paypal's cart if possible.
I use PHP to program in.
Thanks.
0
cvw3
Asked:
cvw3
1 Solution
 
neeraj523Commented:
Hello

You need to implement Paypal IPN or Pro method to get instant payment notification.. Have you developed something which is not working or giving issue to look into ?
0
 
HMoellendorfCommented:
Hi cvw3,

thanks for posting at EE. You want to implement the payment gateway of Paypal. If you are not a beginner, you need 2 parts of development:


* Page processing to Paypal
* Page processing from Paypal

The best way is to create an order in your system generating an unique id, which will be transferred to Paypal.
All further information you need to implement the gateways, of course, thats both gateways, you'll find at:

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/solutions_carts_overview

Kind regards,
Henning
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now