Skip to main content

[![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.

Release files for payments-config 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for payments-config 0.0.13
File Size Uploaded
payments-config-0.0.13.tar.gz 3.8 kB Details

Release files / payments-config-0.0.13.tar.gz

Download URL payments-config-0.0.13.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
00c3f78a368a79589e989373cc40e58bc756712960740f468dc52f5fcd887693
BLAKE2b-256 checksum
How to use checksums
29892c11f78f95a3da881ae199ef394c49e33bad3aa9571ba1a4d289d80d950a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.13 This release

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page