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.
This software enables a person to:
- Register a payment application for later use.
- Choose a compatible, previously registered payment application following a payment request.
- Proxy payment requests and payment acknowledgements between payee websites and payment applications.
The following section explains how to setup and develop the web-payments.io software on a local development machine.
The options in the
./configs/web-payments.dev.js file can be tuned to your
environment as needed.
- Install the dependencies (see below)
- Map the
web-payments.devhostname to your localhost.
To install dependencies, do the following:
Add a host alias (for example, edit
/etc/hosts) to map
Run the following to start up a development server from the source directory:
To add more verbose debugging, use the
node web-payments.dev.js --log-level debug
Access the server at the following URL: