PayPal Adaptive Payments Pro PayFlow CodeIgniter Library

PayPal Adaptive Payments Pro PayFlow CodeIgniter Library

Released 5 years ago , Last update 2 years ago

A custom library for CodeIgniter that provides access to all PayPal NVP, Authentication, Permissions, Invoicing, Adaptive Payments, and PayFlow API's.

Now Available on GitHub!

Important Notice

This CodeIgniter specific version of this class library is no longer being maintained. It will remain here in its current state, but all future updates and maintenance will be focused on our standard library.

The standard library is now fully compatible with Composer and available on Packagist so you may use it in CodeIgniter or any other framework you wish.

This library includes all of the PayPal NVP API calls as well as Adaptive Payments, Invoicing, Adaptive Accounts, Permissions, and PayFlow.

The controller includes "template" methods for every call that includes all of the possible parameters that can be passed into that particular call. 

All you have to do is fill in the blank parameters in the array templates and pass that into the library method.  An array will be returned with all of the response fields from PayPal as well as a few extra fields for troubleshooting purposes.

PayPal Payments Pro

  • AddressVerify
  • BillAgreementUpdate
  • BillOutstandingAmount
  • CreateRecurringPaymentsProfile
  • DoAuthorization
  • DoCapture
  • DoDirectPayment
  • DoExpressCheckoutPayment
  • DoMobileCheckoutPayment
  • DoNonReferencedCredit
  • DoReauthorization
  • DoReferenceTransaction
  • DoVoid
  • GetAccessPermissionsDetails
  • GetAuthDetails
  • GetBalance
  • GetBillingAgreementCustomerDetails
  • GetExpressCheckoutDetails
  • GetTransactionDetails
  • ManagePendingTransactionStatus
  • ManageRecurringPaymentsProfileStatus
  • MassPay
  • RefundTransaction
  • SetAccessPermissions
  • SetExpressCheckout
  • SetMobileCheckout
  • TransactionSearch
  • UpdateAccessPermissions
  • UpdateRecurringPaymentsProfile

PayPal Adaptive Payments

  • AddBankAccount
  • AddPaymentCard
  • CancelInvoice
  • CancelPermissions
  • CancelPreapproval
  • CreateAccount
  • CreateAndSendInvoice
  • CreateInvoice
  • ExecutePayment
  • GetAccessToken
  • GetAdvancedPersonalData
  • GetBasicPersonalData
  • GetFundingPlans
  • GetInvoiceDetails
  • GetPaymentOptions
  • GetPermissions
  • GetShippingAddress
  • GetVerifiedStatus
  • MarkInvoiceAsPaid
  • Pay
  • PaymentDetails
  • Preapproval
  • PreapprovalDetails
  • Refund
  • RequestPermissions
  • SearchInvoices
  • SendInvoice
  • SetFundingSourceConfirmed
  • SetPaymentOptions
  • UpdateInvoice
  • BMButtonSearch

PayPal PayFlow

  • Authorization
  • Balance Inquiry
  • Credit
  • Delayed Capture
  • Voice Authorization
  • Inquiry
  • Data Upload
  • Duplicate Transaction
  • Sale
  • Void
  • 5 31
  • 4 5
  • 3 4
  • 2 0
  • 1 0
40 Reviews Read Reviews


14 day 14-day money-back guarantee



The GNU GPL is an open-source license.

Need custom services for this product? Get a quote
License » GNU GPL Download

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

or Get a quote

for customization or integration services

Or enter your name and Email
  • AV abhishek vishwakarma 1 week ago
    Andrew please help me in this refund api..or else i should loof for another method or code to execute my refund process
  • AV abhishek vishwakarma 4 weeks ago
    hello, i am using your library in codeigniter.I am using Adaptive Payment. i am using paypal sandbox.i am using Pay() method for payment.I need to know how to pass amount description on left side when we redirect ro paypal page for login and payment .currently it is showing some 'test store' name.I need to display my name there.How would i do so?Please help
    • Andrew Angell Publisher 4 weeks ago
      You need to add a call to SetPaymentOptions after the initial Pay request. The library includes a PayWithOptions that combines the two for you. Take a look at that.
    • AV abhishek vishwakarma 4 weeks ago
      i have called that PayWithOptions() method but not seen any changes.I got a variable RecieverOptions where description field is shown.I set that and passed ,but its not working.Also If i am doing with invoice items,the invoice items are also not display in paypal left box.When would i call SetOaymentOptions.Should i call after Pay() method? Please help
    • AV abhishek vishwakarma 3 weeks ago
      Adnrew please help me....i just required the process how to get it.Please help..
    • Andrew Angell Publisher 3 weeks ago
      Please post a ticket here so I can work with you more directly:
    • AV abhishek vishwakarma 2 weeks ago
      hii andrew....i am using refund method of adaptive payment.I am provinding everything correct as per need.Like if a payment has been done from to ,i am making refund from to issue comes with a error - 'The receiver is invalid for this refund'.This is a valid personal sandbox account. and i have made payment from this account.Why this errors comes.Please help. I have testing for refund from this link - .It successfully works.Why it is not working here.??Please help urgent
    • Andrew Angell Publisher 2 weeks ago
      The link you provided is for the Classic API Refund call, which my library supports as well, but you said you're using Adaptive Payments, right? It sounds like maybe you're hitting the live PayPal server instead of the sandbox. Are you sure you have the config file setup correctly so that it's using Sandbox values?
    • AV abhishek vishwakarma 1 week ago
      no definitely not, i am using total sandbox call here.Also i have checked the curl request too.Here is the view - Array ( [url] => [content_type] => [http_code] => 0 [header_size] => 0 [request_size] => 0 [filetime] => 0 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0 [namelookup_time] => 0 [connect_time] => 0 [pretransfer_time] => 0 [size_upload] => 0 [size_download] => 0 [speed_download] => 0 [speed_upload] => 0 [download_content_length] => -1 [upload_content_length] => -1 [starttransfer_time] => 0 [redirect_time] => 0 [certinfo] => Array ( ) ) Here you can see the url is of sandbox not paypal live. Yes i am definitely sure that tha config file setup correctly..
    • AV abhishek vishwakarma 7 days ago
      Hii Andrew...Should i consider that you cannot help me on my refund process in adaptive payment..I am still waiting for you response.
    • Andrew Angell Publisher 6 days ago
      I'm sorry for the delay responding. As you can see in your request you are using AdaptivePayments. As such, you need to be using "Refund" instead of "RefundTransaction".
    • AV abhishek vishwakarma 6 days ago
      Dear Andrew, i am using Refund not RefundTransaction.I am already aware of it that for Adaptive Payment Refund Method would be used.The issue comes in Refund method of Adaptive Payment.I am already using the same process,that the above link do.Check this link its same issue i am having -
  • SK Stojan Kukrika 10 months ago
    HI. Is there any user support? Can you contact me by email? I think to integrate your library but I need a some help.Please contact me.