StripeInvoice makes it easy for you to show invoices/receipts to the customers of your Koudoku-based Rails application. It downloads the last 100 invoices via the Stripe API, stores them in a table in the database and renders a basic invoice template.
- Show invoices & receipts to your customers
- Automatically assign Invoice # for new invoices
- Download invoices as PDF
StripeInvoice is opinionated on which gems your application uses.
StripeInvoice is hosted on RubyGems.org. To use it, just add the following line to your
Gemfile and run
To setup your application run the following commands from the command line:
rails generate stripe_invoice:install rake db:migrate
This will add necessary migrations to your application and run them. Additionally it will mount StripeInvoice into your application
Accessing the invoices
To view the invoices log into your application
Customizing the views
You probably want to customize the views for your application. You can easily install the views files (written with HAML)
to your application by running
rails g stripe_invoice:views from the command line.
The views will be installed into
To contribute to the development of StripeInvoice please:
- fork the repository
- create a development branch
- code away
- send a pull request