A simple SDK for dealing with the Paypal API from PHP.
- Generate button code
- Single product
- Multi-product (cart)
- Subscriptions
- Handle Instant Notifcations
- Handles verification with paypal
- All types of payment notifcations
- Subscription related notifcations
- Mass Payments
- Instantly send money to other paypal users
- Modern PHP5 features
- Namespaced
- Autoloading
- Exceptions
All of this with a consistent and simple API.
Check the current docs on the otherside.
Alternatively just run apigen
once you have cloned the repo
Composer is the best way to get started with an new project. This package is not far away… Paypal at Packagist
composer require mcfedr/paypal
The other choice is to checkout the code, and register it with your autoloader. If you need one ClassLoader is the place to start.
Please feel free to post issues, or even better pull requests right here on github.
It would be great to flesh out the functionality to cover the other parts of paypal api.
Note that recently paypal have started providing much more themselves - PayPal on GitHub. Although a good IPN lib is still missing.
The library is covered by the MIT license. There is a copy in the repo.