0.03
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Pagar.me engine for catarse
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 2.1.4
>= 0
>= 1.0.2
 Project Readme

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.ecr_key = "ENCRYPTION 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.