digitalbazaar/web-payments.io

Name: web-payments.io

Owner: Digital Bazaar, Inc.

Description: Website-side of the payments polyfill

Created: 2016-01-24 02:12:23.0

Updated: 2016-01-29 03:52:36.0

Pushed: 2016-02-20 00:20:17.0

Homepage: null

Size: 31

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

web-payments.io

The server-side portion of a polyfill for the Web Payments Browser API.

A live version and demo of this site can be found at web-payments.io.

This software enables a person to register payment applications that can be used to perform payments at websites that use the Web Payments Browser API.

Core Functionality

This software enables a person to:

  1. Register a payment application for later use.
  2. Choose a compatible, previously registered payment application following a payment request.
  3. Proxy payment requests and payment acknowledgements between payee websites and payment applications.

Development

The following section explains how to setup and develop the web-payments.io software on a local development machine.

Requirements
Configuration

The options in the ./configs/web-payments.dev.js file can be tuned to your environment as needed.

Setup

To install dependencies, do the following:

npm install
Running

Add a host alias (for example, edit /etc/hosts) to map web-payments.dev to localhost.

Run the following to start up a development server from the source directory:

node web-payments.dev.js

To add more verbose debugging, use the --log-level option:

node web-payments.dev.js --log-level debug
Usage

Access the server at the following URL:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.