This document pretend to introduce you, with a complete example, how you can implement different payment methods with Ruby on Rails.
In the example, we will cover Stripe and Braintree two very well-known payment platforms.
Documentation.
Stripe
Braintree