I need a solution for PayPal Website Payments Pro NOT for PayPal Standard.
Main Topics
Browse All TopicsI am looking for a free open source PHP script that will provide credit-card transaction processing through PayPal Website Payments Pro.
Does anybody know of such a free script?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
@hankknight: Tell us a little more about what you're looking for. PayPal processes all of the credit-card transactions - that is the beauty of PayPal - you do not have to touch the payment information. You can do certain things to react to the receipt of payments, for instance, create shipping orders and labels, order parts, send thank you notes, etc. This is all documented in the PayPal Developers Guide, an online PDF document that was, the last time I saw it, a couple hundred pages.
Most IPN scripts would be unique to the application and business needs, but all of them would share a common interface.
Does that help? ~Ray
Thanks, Ray, but PayPal Website Payments Pro is a different service than PayPal.
https://www.paypal.com/cgi
You wrote: "you do not have to touch the payment information" -- that is NOT true with PayPal Website Payments Pro.
Here is a commercial script that does what I need, but I was hoping to find an open-source one so I could modify the code.
http://zenatdesign.com/Pay
I see what you're saying. Have you got your shopping cart set up? Maybe the cart vendor has some software you can use or modify? Given all the security and associated issues, I doubt that you'll find a free solution. This page is pretty clear about what you need...
https://www.paypal.com/cgi
Anyway, best of luck with it. ~Ray
With PayPal websites Pro you have two options, one option is to take Credit Cards and the second is their "express payments". Each implementation is different. I would suggest using the NVP (Name value pairs) implementation for each. The Credit Card ones are simple and the Express Payments (PayPal) is a bit more complex as you have to decide how you want to handle shipping, etc.
I can post you my sample code but really you can just use PayPal's sample code, it is where I started and mine will look very similar. The NVP stuff is very simple, you can just follow their integration guide and their sample code, you should be able to run Sandbox transactions pretty much right off the sample code with some minor changes to the credentials.
You can get the integration guide here: https://cms.paypal.com/us/
You can get the PHP sample code here: https://cms.paypal.com/us/
I would suggest reading the integration guide so that you get an understanding of DoAuthorization and DoCapture or if you want to skip straight to taking the money with DoDirectPayment. The PayPal payment (express checkout) are done with similar code but with it you first have to set it and get a token and then you can do an authorization or payment, they add an extra step.
If you need more help let me know, I am very well versed in the PayPal stuff but I would need a bit more of a direct question other than wanting a PHP script to help further.
Peter
Business Accounts
Answer for Membership
by: comeranPosted on 2009-03-19 at 15:16:25ID: 23934854
This is for the IPN: m/04-19-20 05/php-pay pal-ipn- in tegration- class.html
http://www.micahcarrick.co