Installation

sauron edited this page Apr 24, 2012 · 5 revisions

Gemfile

gem 'wepay-rails'

Bundler

bundle install

Create the migration to store the wepay checkout records, as well as create the WepayCheckoutRecords model

rails g wepay_rails:install

Copy the example wepay.yml.example file to wepay.yml and adjust to your app's needs

cd config && cp wepay.yml.example wepay.yml

Get your access_token by going to your apps new authorize page:

http://your.railsapp.com/wepay/authorize

Add the resulting access_token to your wepay.yml, restart your app.

Set up your cart and checkout controller to send the users off to wepay so you can get yo cash money!