Paymill subscriptions with Rails
Register for a test account at paymill.com and create the subscription plans (they called them Offers)
Setup the app:
bundle rake db:migrate
Replace the test keys in
config/initializers/paymill.rb for your own paymill API keys.
rake paymill:import_plans to get the plans and their IDs from paymill into the app.
That's it! Run
rails server and it should work.
Paymill API reference: https://www.paymill.com/en-gb/documentation-3/reference/api-reference/index.html
paymill-ruby gem: https://github.com/dkd/paymill-ruby