Download CodeIgniter PHP Library for PayPal Payments Pro
Posted by angelleye on Nov 9, 2011 in Downloads, PayPal, PHP | 9 comments
Easily integrate PayPal Payments Pro web service API’s into your CodeIgniter project with this custom library by Angell EYE.

Hi
i m trying to integrate this paypal pro code.. errors occuring. can plz tell which codeigniter version code it is. plz reply as soon as possible
thanking you
Hi Sona,
It’s been tested in the current version of CI. What errors are you getting?
If you want to contact me directly I’d be happy to help.
Andrew
Hello,
First off, thank you for the library. I have a feeling it will make integrating Adaptive Payments a lot easier. I’ve been having a problem though and I was hoping you might be able to help. I’m trying to do an implementation of delayed chain payments, so I am using the PAY_PRIMARY action with the Pay function. I have also set up the $Receivers array so there are multiple receivers. However, when I try executing the payment, it fails with the error being that PAY_PRIMARY can only be used in chain payments.
What exactly do I need to do so that my request is recognized as a chain payment?
Hi Cole,
Are you making sure to set the value for Primary in your $Receiver array to true for one of the receivers? You need at least one primary receiver in the request in order for it to become a chained payment. Otherwise, it would treat is a parallel payment and you’d receive the error you’re getting.
If that doesn’t seem to be the case send me your controller that you’re working with and I’ll figure it out for you.
Andrew
I have tried to set up delayed chained payment I have set actiontype Primary user it works fine .how to execute delayed chained payment for secondary receiver .
Hi Jaiganesh,
In order to do a delayed chained payment you need to set the original ActionType to CREATE and then you’ll make an additional call to ExecutePayment when you’re ready to process the actual payment. I’ve actually got a very small bug in my ExecutePayment function in my library, though, that I’ve fixed but I haven’t yet updated it online. Contact me directly and I’ll make sure yours is good to go.
Andrew
Can you please send me the download link for the updated adaptive payment code. I would like to use your code for the delayed chained payment. Please replay ASAP
My updated libraries are always available on my downloads page: http://www.angelleye.com/category/downloads/
Thanks for this great library