Coder Social home page Coder Social logo

bbraga / stripe_invoice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yas4891/stripe_invoice

0.0 2.0 0.0 351 KB

StripeInvoice adds views & logic to show invoices to the customers of your Koudoku-based SaaS application

License: MIT License

Ruby 85.30% JavaScript 2.88% CSS 2.52% HTML 9.30%

stripe_invoice's Introduction

StripeInvoice

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.

Features

  • Show invoices & receipts to your customers
  • Automatically assign Invoice # for new invoices
  • Download invoices as PDF

Requirements

StripeInvoice is opinionated on which gems your application uses.

  1. Koudoku to handle subscriptions
  2. Devise for user authentication

Usage

Installation

StripeInvoice is hosted on RubyGems.org. To use it, just add the following line to your Gemfile and run bundle install:

gem 'stripe_invoice'

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 at /stripe_invoice

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 app/views/stripe_invoice/invoices/ folder

Contribution

To contribute to the development of StripeInvoice please:

  1. fork the repository
  2. create a development branch
  3. code away
  4. send a pull request

Developer

This plugin is under active development by Christoph Engelhardt and used at LinksSpy.com

stripe_invoice's People

Contributors

yas4891 avatar stpl avatar msmithstubbs avatar

Watchers

Bruno Braga avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.