The project is in a healthy, maintained state
Encapsulates reusable front-end screens, checkout templates, and credit card tokenization components.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0

Runtime

>= 6.0
>= 0.2.0
 Project Readme

Vindi Rails Engines

Leia em Português (README.pt-BR.md)

An extension gem for the vindi-rails core SDK, providing mountable frontend checkouts, HTML views, and Stimulus JS credit card tokenization components using Vindi's public keys encryption.

Installation

Add this line to your application's Gemfile:

gem 'vindi-rails-engines'

Features & Usage

1. Checkout UI Setup

Copy Stimulus JS tokenization components and checkout form partial views to your application:

bundle exec rails generate vindi:checkout

This generates:

  • Checkout view form partial (app/views/vindi/checkout/_form.html.erb)
  • Stimulus controller (app/javascript/controllers/vindi_checkout_controller.js)

2. Environment Setup

Configure your public key in your environment file:

ENV["VINDI_PUBLIC_KEY"] = "YOUR_PUBLIC_KEY"

Running Tests

To run the Minitest suite:

bundle exec rake test