Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.86 KB

README.md

File metadata and controls

65 lines (46 loc) · 1.86 KB

Overview

This Rails mountable engine allows you to manage your Avatax integration in Kill Bill.

Kill Bill compatibility

Avatax UI version Kill Bill version
0.0.y 0.16.z
0.1.y 0.18.z (Rails 4)
0.2.y 0.18.z (Rails 5)
1.x.y 0.20.z (Rails 5)
2.1.y 0.22.z (Rails 5)
2.2.y 0.24.z (Rails 6)
3.x.y 0.24.z (Rails 7)

Functionality

This app lets you:

  • configure tax codes associated with products in your catalog
  • set tax exemption codes on Kill Bill accounts
  • configure your Avatax credentials

Getting Started

You can run this locally by using the test/dummy app provided.

To do so, specify your Kill Bill server url, api key and secret in test/dummy/config/initializers/killbill_client.rb:

KillBillClient.url = 'http://127.0.0.1:8080/'
KillBillClient.api_key = 'bob'
KillBillClient.api_secret = 'lazar'

Then, simply run:

rails s

To run tests:

rails t

This plugin is using killbill-assets-ui to load the common assets. If you want to override the assets you can add it to app/assets/stylesheet/avatax or app/assets/stylesheet/avatax

For integrate run with killbill-admin-ui-standalone, please update the Gemfile to use Avatax locally

# gem 'killbill-avatax'
gem 'killbill-avatax', :path => '../killbill-avatax-ui'