Skip to content

engageis/catarse_pagarme

This branch is 377 commits behind catarse/catarse_pagarme:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

563ed0a · Dec 4, 2014
Dec 4, 2014
Aug 5, 2014
Oct 10, 2014
Dec 4, 2014
Nov 13, 2014
Aug 21, 2014
Aug 5, 2014
Dec 4, 2014
Aug 5, 2014
Sep 11, 2014
Aug 5, 2014
Nov 13, 2014

Repository files navigation

CatarsePagarme Code Climate

A Pagar.me payment engine for Catarse

Installation

For now we are under development, but you can install directly via git on Gemfile

gem 'catarse_pagarme', github: 'catarse/catarse_pagarme'

Usage

Configure the routes for your Catarse application. Add the following lines in the routes file (config/routes.rb):

mount CatarsePagarme::Engine => "/", :as => "catarse_moip"

create an (config/initializers/pagarme.rb) and configure with:

CatarsePagarme.configure do |config|
  config.api_key = "API_KEY"
  config.slip_tax = "Slip payment tax"
  config.credit_card_tax = "Credit card transaction tax don't need to define the 0.39"
  config.interest_rate = "Interest rate for installments"
end

This project rocks and uses MIT-LICENSE.

About

Just a Pagar.me payment engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 87.0%
  • JavaScript 11.1%
  • CSS 1.9%