ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PayPal Payments Pro Library by Angell EYE

February 20, 2011 11:57pm

Subscribe [4]
  • #1 / Feb 20, 2011 11:57pm

    angelleye

    15 posts

    I wrote a class for PayPal that I’ve been keeping up with over the years and haven’t really passed it around too much.  I started using CodeIgniter recently so I converted this class to a CI library and figured I might as well go ahead and hand it out and see what people think.

    Here’s a quick demo on how to use it and a download link:  http://www.angelleye.com/demo/codeigniter/

    The library includes everything that the PayPal NVP has as well as their Authentication and Permissions API’s.  There are methods for every call PayPal has available and array templates for requests that include every possible request parameter available with each call.  All you have to do is fill in the empty fields and the library handles the rest.

    Let me know what you think. This is the first thing I’ve ever really released.

  • #2 / Feb 21, 2011 7:54am

    Giorgio Nordo

    17 posts

    I will test it soon.
    Thank you Angelleye,
    Giorgio

  • #3 / Feb 21, 2011 10:59am

    angelleye

    15 posts

    There are some demos and the instructions are pretty simple but I don’t have much other documentation yet, so if you have any questions just let me know.

  • #4 / Feb 21, 2011 11:23am

    Joël Cox

    6 posts

    Great work Angell EYE. Will be needing this one in a few weeks, so you’re right on time.

  • #5 / Sep 06, 2011 12:23am

    vlados2

    9 posts

    Message: Use of undefined constant SANDBOX - assumed ‘SANDBOX’

  • #6 / Jan 12, 2012 8:24am

    Stoney

    56 posts

    angelleye, do you have a demo for ExpressCheckout?

  • #7 / Jan 12, 2012 10:21am

    angelleye

    15 posts

    angelleye, do you have a demo for ExpressCheckout?

    Not specifically, no, but the calls that you’ll be working with are:

    1) SetExpressCheckout
    2) GetExpressCheckoutDetails (if necessary)
    3) DoExpressCheckoutPayment

    PayPal provides lots of good documentation on Express Checkout, but if you need more direct help I’d be happy to schedule a quick demonstration with you.

  • #8 / Jan 13, 2012 8:58am

    Stoney

    56 posts

    Thanks for showing me the necessary steps.

    At the end of SetExpressCheckout i did a redirect:  header(‘Location: ‘.$PayPalResult[‘REDIRECTURL’]);
    After paypal I confirmed the payment on my site, using GetExpressCheckoutDetails, and at step 3, I read the payment data to do DoExpressCheckoutPayment with GetExpressCheckoutDetails.
    It’s not so elegant, but it works.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases