Repository is archived
No commit activity in last 3 years
No release in over 3 years
A ruby gem allowing developers to conveniently integrate with GoTransverse's TRACT API. TRACT is a billing engine edited by GoTransverse that supports various revenue models like one-time purchases, simple subscriptions, and more complex, usage-based models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
>= 12.1.0, ~> 12.1
~> 3.6

Runtime

>= 2.8.3, ~> 2.8
>= 1.8.0, ~> 1.8
 Project Readme

GoTransverseTractApi Ruby Gem

A ruby gem allowing developers to conveniently integrate with GoTransverse's TRACT API.

Current supported version is 1.29 REST API (XML) https://documentation.gotransverse.com/Content/Archive/site/tract.gotransverse.com/Developer-Guides/TRACT-API-1.29/REST-Endpoints.html

For more details, please refer to GoTransverse's TRACT API Documentation available at: https://documentation.gotransverse.com/Content/Archive/site/tract.gotransverse.com/User-%26-Administrator-Guides/Understanding-TRACT.html

Disclaimer

While we are all gladly contributing to the community...

This gem is unofficial, may contain bugs, and its use is at your own risk. None of the project owners, developers, contributors may be held accountable for any defect or disaster resulting of the direct or indirect use of this gem.

Installation

Add this line to your application's Gemfile:

gem 'gotransverse-tract-api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gotransverse-tract-api

Configuration

From the application utilizing the gem, create a gotransverse_tract_api.rb file to your config/initializers folder, with content:

#!ruby
GoTransverseTractApi.configure do |config|
  config.username = <gotransverse_tract_username>
  config.password = <gotransverse_tract_password>
  config.tract_api_host = <gotransverse_tract_api_host>
end

Usage

#!ruby

GoTransverseTractApi::BillingAccount::Invoice.find_by_eid(<eid>)

products = GoTransverseTractApi::Product::Product.find_all

product = GoTransverseTractApi::Product::Product.find_by_eid(<eid>)
product.symbolize_keys!

product_price = GoTransverseTractApi::Product::RecurringProductPrice.find_by_product_eid(product[:eid])

Version History & Changelog

Visit https://rubygems.org/gems/gotransverse-tract-api

Roadmap

  • Nov 2015: Initial Release, basic REST/XML API Support
  • Dec 2015: PCI-Compliant Hosted Payment Page URL Support
  • Q1 2016: Automated Test Coverage
  • Q2 2016: REST/JSON API Support

Contributing

Help and advice is gladly appreciated! :) Feel free to contribute and be part of this project, helping the community staying on top of any new API version release.

Please keep version number increments under control :)

  1. Fork it ( https://github.com/[my-github-username]/gotransverse-tract-api/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Authors

  • Julien DeFrance
  • Daniel Ng

Donations

Love this project? Use it for your business?

Reward our developers and help us keep this project active.

Click here to donate Click here to donate Click here to donate or more! :)