Gem For Facebook Login and Paypal Express Checkout Integration

I’m building an application that requires Facebook authentication and Paypal Express payment. Looking around has led me to the following gems:

https://github.com/nov/paypal-express
https://github.com/plataformatec/devise
https://github.com/intridea/omniauth-oauth2
https://github.com/mkdynamic/omniauth-facebook

I’m not familiar with gems that would be best suited for this goal. So are these some of the top picks within the Ruby ecosystem when dealing with Paypal Express Payment and Facebook authentication integration? If not please suggest alternatives for me to look into.

These are questions I’m asking myself:
1.) Goto standard for solving problem within Ruby ecosystem (collaboration over competition)?
2.) Are these gems well maintained?
3.) Battle tested?
4.) API well documented?
5.) Well written?

  • Mostly I need help with 1.) because I’m rather new to the whole Ruby ecosystem.

Thanks

Hey,

I’d go with these for authentication and facebook oauth.
gem ‘devise’
gem ‘omniauth’
gem ‘omniauth-facebook’

When you’re unsure https://www.ruby-toolbox.com/ is a good bet to find which gems are popular and well maintained.
Another thing I do is search railscasts for an episode on what you’re looking for e.g. paypal and see how he’s solved it and look at the comments from others.

For paypal I’ve always rolled my own because the API is pretty straightforward, there may be gems but I haven’t used them.

Another thing you can do is join a mailing list like railsoceania and ask the question there, you get good timely responses from a knowledgeable bunch.

Hope it helps,