Angell EYE PayPal Payments Pro CodeIgniter Library Demo
This library is written to reflect PayPal's documentation directly. It's very simple to use with a quick understanding of the way it's designed.
- Every PayPal API method is included as a method within the library and also within the controller.
- The controller methods include "templates" that consists of every possible parameter that you can pass into that particular API call with PayPal.
- Simply fill in the empty parameters and pass that into the library.
- The library will handle all communication with PayPal, data parsing, etc. and return an array of results.
- All actual response fields from PayPal
- All request fields split up into individual fields for ease of troubleshooting
- Raw request and response fields
There are two methods within the controller that are setup for demonstration purposes. I'll go over those here.
GetBalance
This call is extremely straight forward and simply returns the current account balance for the requesting API caller. The controller already has the following method included:
Run the code above and see the output.
DoDirectPayment
This call allows you to process credit cards directly using PayPal Payments Pro. The controller has a method called Do_direct_payment_demo() that is displayed here:
Run the code above and see the output.