Coder Social home page Coder Social logo

chekoivan / spree_mercado_pago Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manuca/spree_mercado_pago

0.0 0.0 0.0 380 KB

Mercado Pago payment method for Spree

License: BSD 3-Clause "New" or "Revised" License

Ruby 95.34% HTML 1.88% JavaScript 2.60% CSS 0.17%

spree_mercado_pago's Introduction

Spree Mercado Pago Payment Method

This project is compatible with spree 3.2.0 and Rails 5

gem 'spree_mercado_pago', '~> 3.2.0.rc2', git: "[email protected]:manuca/spree_mercado_pago.git"

You should run inside your project

bundle exec rails g spree_mercado_pago:install

This will import assets and migrations

Usage

  • Add a new payment method in the admin panel of type Spree::PaymentMethod::MercadoPago
  • After adding the payment method you will be able to configure your Client ID and Client Secret (provided by Mercado Pago).

IPN

For IPN you need to configure the notification URL in Mercado Pago's site. The notification URL will be http[s]://[your_domain]/mercado_pago/ipn. Please review Mercado Pago's documentation at http://developers.mercadopago.com/ for the correct place where to configure IPN notification URLs.

Testing

  • Clone this repo
  • Execute bundle
  • Execute rake test_app to build a dummy app directory inside specs
  • Execute bundle exec rspec spec

spree_mercado_pago's People

Contributors

manuca avatar fedemoretti avatar felipekk avatar gessgallardo avatar leandro-gomez avatar sandsu avatar juanmiret 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.