Skip to main content

Payments Configuration

Project description

[![Build Status](https://travis-ci.org/mozilla/payments-config.svg?branch=0.0.4)](https://travis-ci.org/mozilla/payments-config) [![npm version](https://badge.fury.io/js/mozilla-payments-config.svg)](http://badge.fury.io/js/mozilla-payments-config) [![PyPI version](https://badge.fury.io/py/payments-config.svg)](http://badge.fury.io/py/payments-config)

# Payments Config

Configuration of products for payments-service, solitude et al.

python generate.py creates translations and json files.

In Python:

` >>> from payments_config import products >>> products['mozilla-concrete-brick'].amount Decimal('10.00') `

In Node:

` > fs = require('fs') > fs.readFile('json/products/mozilla-concrete-brick.json', 'utf-8', function(err, data) { console.log(JSON.parse(data).amount) }); > 10.00 `

## Making a release

  • Bump the version in package.json

  • Commit and push to master

  • Go to the [releases page](https://github.com/mozilla/payments-config/releases) and make a new release using the version e.g. 0.0.4 for the tag and Release title.

  • Travis will automagically make releases on PyPi and npm for you.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

payments-config-0.0.13.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file payments-config-0.0.13.tar.gz.

File metadata

File hashes

Hashes for payments-config-0.0.13.tar.gz
Algorithm Hash digest
SHA256 00c3f78a368a79589e989373cc40e58bc756712960740f468dc52f5fcd887693
MD5 1bef129e132537fc303d9cdd3489b631
BLAKE2b-256 29892c11f78f95a3da881ae199ef394c49e33bad3aa9571ba1a4d289d80d950a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page