Rails PaypalI’ve been doing a lot of Rails development lately(as you could probably guess by my Rails wallpaper from a few days back), and as it was almost my first experience in Rails, I built an online store. The online store has seemingly become the advanced “Hello World” for Ruby on Rails. I have continuously been adding on to it, and when I wanted to build upon my existing checkout method, I decided that I would try to add Paypal as a payment option. Here are 3 easy libraries to do this with.

  1. Paypal by Tobias Luetke - Primarily developed to help integrate PayPal with Rails applications. It works with PayPal’s IPNs (Instant Payment Notifications). Source code demonstrations included.
  2. VPayPal - A library that supports both Express Checkout API and the direct checkout API.
  3. Rails Paypal Gem - A library developed by ELC Technologies and made available under the LGPL. It doesn’t seem to support the Express Checkout API but presents another option and has a detailed README.

source: Ruby Inside