Rails Stripe Management System add-on for PHCDevworks Accounts engines.
- View invoices
- View subscribers
- View customers
gem 'phcdevworks_accounts_devise'
gem 'phcdevworks_accounts_stripe'
bundle install
To copy requried database migrations, copy each command individually to your terminal's command line.
rails phcdevworks_accounts_devise:install:migrations
rails db:migrate
Mount Phcdevworks Press by adding code below to your routes file.
mount PhcdevworksAccountsDevise::Engine, :at => '/'
mount PhcdevworksAccountsStripe::Engine => "/"
To properly function re-compile your application's assets to copy over required files.
rails assets:clobber
rails assets:precompile
Secret Key = ENV['PHCDEV_STRIPE_SK']
Publishable Key = ENV['PHCDEV_STRIPE_PK']
All Phcdevworks Stripe views and layouts can be overwritten by copying files to your application.
rails generate phcdevworks_accounts_stripe:views