0.02
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Spree Engine for Conekta Mexican Payment gateway
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Spree Conekta

Code Climate Build Status Gem Version

Setup

Add this extension to your Gemfile:

gem 'spree_conekta', github: 'conekta/spree_conekta', branch: '3-0-stable'

Then run:

bundle
rails g spree_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+.

About the Author

Crowd Interactive is an American web design and development company that happens to work in Colima, Mexico. We specialize in building and growing online retail stores. We don’t work with everyone – just companies we believe in. Call us today to see if there’s a fit.

Contributors

  • 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