Giter Club home page Giter Club logo

solidus_conekta's Introduction

Solidus Conekta

Credit to https://github.com/InstafitGlobal/spree_conekta https://github.com/AgilTec/spree_conekta https://github.com/crowdint/spree_conekta

Setup

Add this extension to your Gemfile:

gem 'solidus_conekta', github: 'crsmillan/solidus_conekta'

Then run:

bundle
rails g solidus_conekta:install

##Setup Conekta Payments

  1. You need to go to Conekta, create an account and retrieve your private and public api keys.

  2. On the spree application admin side go to:

/admin/payment_methods/new
  1. In the provider box,choose one of the following options depending on your needs:

     Spree::BillingIntegration::ConektaGateway::Card
    
     Spree::BillingIntegration::ConektaGateway::Cash
    
     Spree::BillingIntegration::ConektaGateway::Bank
    
     Spree::BillingIntegration::ConektaGateway::MonthlyPayment
    
  2. On the auth token field, add your Conekta private key.

  3. On the public auth token field, add your Conekta public private key.

###Source Methods

Conekta currently supports four different methods:

####Card

Card method will let you pay using your credit or debit card. More info: Conekta Card

####Cash

Cash method will generate a bar code with the order information so you'll be able to take it to your nearest OXXO store to pay it. More info: Conekta Cash

####Bank

Bank method will let you generate a deposit or transfer reference. More info: Conekta Bank

####Monthly Payment

This method will let you pay using your credit card with a monthly payment schema. More info: Conekta Monthly Payments You can configurate the options for number of installements and default creating an initializer in your app and writing code as this example:

  Spree::Conekta.configure do |config|
    config.installment_options = [3] # [3, 6] , [3, 6, 12]
    config.installment_default = 3 # 6 12
  end

Important Note: If you want to support all source methods, you'll need to create a payment method for each one.

Important Note: This extension only works with ruby 2.0+.

Contributors

  • Jonathan Tapia
  • Jonathan Garay
  • Fernando Cuauhtemoc Barajas Chavez
  • Herman Moreno
  • Edwin Cruz
  • Carlos A. Muñiz Moreno
  • Chalo Fernandez
  • Guillermo Siliceo
  • Jaime Victoria
  • Jorge Pardiñas
  • Juan Carlos Rojas
  • Leo Fischer
  • Manuel Vidaurre
  • Marco Medina
  • Mumo Carlos
  • Sergio Morales
  • Steven Barragan
  • Ulices Barajas
  • bishma-stornelli

solidus_conekta's People

Contributors

bishma-stornelli avatar crsmillan avatar ericksoun avatar gessgallardo avatar grillermo avatar jaime-evr avatar jparbros avatar juankiz avatar leofischer avatar marcomedina avatar mauriciomurga avatar mumoc avatar netmask avatar softr8 avatar vmueller71 avatar

Watchers

 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.