PayPal CodeIgniter Library

PayPal CodeIgniter Library

Released 7 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.


Demo

Questions & Comments


Or enter your name and Email
  • Y youv 2 years ago
    Hi , can i use this library with paypal free account ? or only for paypal pro? ,
    • Andrew Angell Publisher 2 years ago
      As long as it's a business account (which is still free) you can use almost every API call available in the library. The only thing you can't use with Payments Pro is DoDirectPayment / PayFlow credit card processing.
  • D dilip 2 years ago
    Why am i facing this kind of error instead of i am using right credentials
  • AV abhishek vishwakarma 2 years 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 2 years 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 2 years 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 2 years 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 2 years ago
      Adnrew please help me....i just required the process how to get it.Please help..
    • Andrew Angell Publisher 2 years ago
      Please post a ticket here so I can work with you more directly: https://www.angelleye.com/support
    • AV abhishek vishwakarma 2 years 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 a@gmail.com to b@gmail.com ,i am making refund from b@gmail.com to a@gmail.com.The issue comes with a error - 'The receiver avishwakarma-buyer@hitaishin.com 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 - http://paypal-sdk.encoresystems.net/Refunds/Refund.aspx .It successfully works.Why it is not working here.??Please help urgent
    • Andrew Angell Publisher 2 years 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 2 years 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] => https://svcs.sandbox.paypal.com/AdaptivePayments/Refund [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 2 years 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 2 years 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". https://github.com/angelleye/paypal-php-library/blob/dev/templates/Refund.php
    • AV abhishek vishwakarma 2 years 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 - http://stackoverflow.com/questions/15530133/paypal-adaptive-payments-refund-issue
  • SK Stojan Kukrika 3 years 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.
  • P Prabaharan 3 years ago
    i have sent you my zip file @ contact@binpress.com from praba.taker@gmail.com,kindly check it... Best Regards, Prabaharan R
  • P Prabaharan 3 years ago
    When i install adaptive payment in my localhost codeigniter admin side,it'll show error,kindly see the screenshot http://prntscr.com/5jldys What's the solution?
    • Andrew Angell Publisher 3 years ago
      Can you provide a zip of your structure so I can take a look?
  • S San 3 years ago
    How to get the token value to set at Set_express_checkout().
    • Andrew Angell Publisher 3 years ago
      For Set_express_checkout() the token is not required. That's the call that is used to generate the token. It includes the parameter in situations where you might be circling back around, but it's rarely used that way.
  • S San 3 years ago
    I have one featured service for my site users like they list their business as featured by making a payment. so my question is that which payment option is better for that adaptive, payflow or payment_pro. please suggest me.
    • Andrew Angell Publisher 3 years ago
      Hi San, I would recommend Express Checkout for people paying with PayPal and DoDirectPayment for people paying with a credit card. For DDP you'll need to sign up for the full Pro service with PayPal. That allows you to process cards directly on the site. If you go with EC by itself you can still accept cards from people who don't have PayPal, but it would happen through the PayPal pages. Hope that helps!
    • S San 3 years ago
      A express checkout options is in the library you have provided?
    • Andrew Angell Publisher 3 years ago
      Yes, Express Checkout is available in the Pro class. The methods are SetExpressCheckout, GetExpressCheckoutDetails, and DoExpressCheckoutPayment.
    • S San 3 years ago
      Ok, Thanks
  • K kiran 3 years ago
    hiiiiii..I am getting following error while testing Convert currency in sandbox mode.. Array ( [0] => Array ( [Receiver] => [Category] => Application [Domain] => PLATFORM [ErrorID] => 520003 [ExceptionID] => [Message] => Authentication failed. API credentials are incorrect. [Parameter] => [Severity] => Error [Subdomain] => Application ) ) Thanx
    • Andrew Angell Publisher 3 years ago
      The error is pretty straight forward. My guess is you either have one of the values entered incorrectly, or you don't have the config file setup correctly. Do you have $sandbox evaluating the way you want?
    • K kiran 3 years ago
      yes..i have set config value as following. $config['Sandbox'] = TRUE; $config['APIVersion'] = '98.0'; $config['APIUsername'] = $config['Sandbox'] ? 'fundpress.22_api1.gmail.com' : 'PRODUCTION_USERNAME_GOES_HERE'; $config['APIPassword'] = $config['Sandbox'] ? 'VD7HHCUT2B7S5WTA' : 'PRODUCTION_PASSWORD_GOES_HERE'; $config['APISignature'] = $config['Sandbox'] ? 'AvTc38yc0CcfD38Fprt-eVptqODoA.3cFMtWBydNC5f6qXbm0Q0tlRRN' : 'PRODUCTION_SIGNATURE_GOES_HERE';
    • Andrew Angell Publisher 3 years ago
      ConverCurrency uses the Adaptive Payments API, so you need to make sure $application_id is correctly set in the config file as well. If you still have trouble you can submit a ticket here: www.angelleye.com/support Please attach your files there for me to review and I'll see if I can find the problem for you.
You need to log-in or create an account
  • Create an account
  • Log-in
Please use your real name.
Activation link will be sent to this address.
Minimum 8 characters
Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.