No commit activity in last 3 years
No release in over 3 years
Easy integration with Mundipagg payment gateway services
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.6
~> 3.1

Runtime

 Project Readme

Payment Gateway - Mundipagg

This library provides an easy integration with Mundipagg services in Ruby.

Installation

1 - Include gem "payment_gateway-mundipagg" in your Gemfile.

2 - Set your access key given by Mundipagg

If your use Rails, create a file in initializer containing following code:

PaymentGateway::Mundipagg.configure do |config|
  config.access_key = "your-access-key-here"
end

Or else configure it manually.

3 - Call the referred service module you want to use. E.g.:

require 'payment_gateway/mundipagg/plan'

mundipagg_plan = PaymentGateway::Mundipagg::Plan.new
mundipagg_plan.list # Lists all registered plans

Available services at the moment

All methods receives a hash as described in Mundipagg docs (https://docs.mundipagg.com/reference) and returns parsed gateway responses also as described in the docs in ruby Hash format.

Plan

Methods:

  • list
  • create
  • destroy

Card

  • list
  • create
  • destroy

Customer

  • show
  • list
  • create

Subscription

  • list
  • create
  • create_from_plan
  • cancel

Order

  • list
  • create

License

MIT License. Copyright 2017 Felipe G. Hespanhol