• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created over 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Billy - The open source recurring billing system, powered by Balanced.

Billy

Billy - The Open Source Recurring Billing System, powered by Balanced

Build Status

(In beta stage, use it on your own risk :D)

Documents

Please visit

http://balancedbilly.readthedocs.org/en/latest/index.html

Running It

To run billy (development mode), you need to install the package first. As we don't want to mess the global Python environment, you should create a virtual environmnet first and switch to it

virtualenv --no-site-packages env
source env/bin/activate

If above works correctly, you should see

(env) $

in you command line tool. The (env) indicates that you are currently in the virtual Python environment. Then you need to install the billy project. Here you run

python setup.py develop

This should install all required dependencies. Then you need to create tables in database, here you type

initialize_billy_db development.ini

This should create all necessary tables for you in a default SQLite database.

Then, to run the API web server, here you type

pserve development.ini --reload

To process recurring transactions, here you can type

process_billy_tx development.ini

You can setup a crontab job to run the process_billy_tx periodically.

Running Unit and Functional Tests

To run tests, after installing billy project and all dependencies, you need to install dependencies for testing, here you type:

pip install -r test-requirements.txt

And to run the tests, here you type

python setup.py nosetests

or, if you prefer run specific tests, you can run

nosetests billy/tests/functional

Running Integration Tests

To run integration tests, here you type

nosetests billy/tests/integration

The default testing target URL is http://127.0.0.1:6543, to modify it, you can set environment variable BILLY_TEST_URL. To change balanced API key, you can set BILLY_TEST_PROCESSOR_KEY variable. For example

export BILLY_TEST_URL=http://example-billy-api.com
export BILLY_TEST_PROCESSOR_KEY=MY_SECRET_KEY_HERE
nosetests billy/tests/integration

More Repositories

1

balanced-dashboard

The Balanced dashboard.
JavaScript
2,284
star
2

balanced-api

Balanced API specification.
Ruby
221
star
3

status.balancedpayments.com

Balanced status dashboard.
Python
120
star
4

balanced-ruby

Balanced API library in ruby.
Ruby
111
star
5

balanced-php

Balanced API library in php.
PHP
71
star
6

balanced-python

Balanced API library in python.
Python
69
star
7

rentmybikes-rails

A fully functional, deployable marketplace implementation using Balanced API for Rails
JavaScript
60
star
8

balanced-node

Balanced API library in node.js.
JavaScript
44
star
9

balanced-js

Javascript client library for Balanced that tokenizes cards and bank accounts.
JavaScript
40
star
10

balanced-ios

Balanced iOS
Objective-C
34
star
11

www.balancedpayments.com

The website for Balanced.
HTML
29
star
12

wac

wac
Python
27
star
13

balanced.github.com

Balanced Blog
CSS
22
star
14

balanced-docs

Balanced's API Documentation
CSS
21
star
15

balanced-android

Balanced Android API.
Java
19
star
16

balanced-java

Balanced API library in java.
Java
18
star
17

django-balanced

Got Django? Start paying people in 10 minutes
Python
17
star
18

restful

Library for writing RESTful PHP clients
PHP
14
star
19

rentmybikes

premium bike rentals - sample marketplace application
Python
13
star
20

balanced-csharp

Balanced Payments C# client library
C#
10
star
21

bob

Bob the Builder - package your software into a deb/rpm/tar, publishes to a repository, and notifies you all by using a simple yaml file
Python
5
star
22

strapped

Bootstrapped less & js for Balanced UI
CSS
5
star
23

httpproxy

A transparent HTTP proxy library
Python
5
star
24

nacha

Python
4
star
25

omnibus-balanced

omnibus packaging for balanced projects
Ruby
4
star
26

sftpproxy

A SFTP proxy library
Python
4
star
27

balanced-ios-app

Hobby project
Objective-C
3
star
28

frl

Standardized logger for Flask and Requests
Python
3
star
29

forex

Our foreign currency conversion service.
Ruby
2
star
30

doughboy

Python
2
star
31

django-example

Example django integration application.
Python
2
star
32

rentmybikes-node

Node.js implementation of RentMyBikes
JavaScript
2
star
33

chronicle

python logging tools and extensions
Python
2
star
34

petitioners

Flask request tracing
Python
2
star
35

aggregation-benchmark

Some simple programs for running account balance aggregation benchmark
Python
2
star
36

BalBot

Balanced Payments Battle Bot for the Beautiful IRC Channel
Python
1
star
37

PyXB

Our own PyXB fork for isolating package
Python
1
star