This is the unofficial Ruby gem for Chip In Asia payment gateway. Specifically designed to work with Ruby on Rails
Important Note: This gem is still under development
Installation
Install the gem and add to the application’s Gemfile by executing:
bundle add chip_rails
If bundler is not being used to manage dependencies, install the gem by executing:
gem install chip_rails
Usage
Add this file to your rails project at config/initializer/chip_rails.rb:
ChipRails.configure do |config|
config.api_key = ENV['CHIP_API_KEY']
config.brand_id = ENV['CHIP_BRAND_ID']
config.webhook_key = ENV['CHIP_WEBHOOK_KEY']
end