Stripe payments for your Rails app
Payola is a drop-in Rails engine that helps you sell products and subscriptions just by including a module in your models.
Run the installer:
$ bundle install $ rails generate payola:install $ rake db:migrate
$ rails generate model SomeModel \ price:integer \ name:string \ permalink:string $ rake db:migrate
class SomeModel < ActiveRecord::Base include Payola::Sellable end
<%= render 'payola/transactions/checkout', sellable: SomeModel.first %>
Mastering Modern Payments is the canonical book on how best to integrate Stripe and Rails. If people are having trouble getting set up with Stripe, this is the book that Stripe recommends to straighten them out. Payola is what you get when you take all of that knowledge and experience and package it into an easy to integrate open source gem.
— Michael Buckbee, Expedited SSL