This is a simple Sinatra application that uses the GoCardless Pro API to collect recurring payments for subscriptions using our redirect flow. It also acts as an example usage of our ruby client library
You can see the app running at https://gocardless-pro-ruby-example.herokuapp.com.
First, register a sandbox account here, and grab an access token that has
git clone https://github.com/gocardless/flow-demo-app cd flow-demo-app bundle install export GC_ACCESS_TOKEN=... bundle exec shotgun app.rb
Then open http://localhost:9393/