bitpay-elements
Create and show bitpay invoices
[ This description is mirrored from README.md at github.com/morbidick/bitpay-elements on 2019-05-10 ]
Polymer 2 Bitpay Elements
Create and show bitpay invoices.
Components
<bitpay-invoice-create
auto
testnet
amount="12.34"
token="B75pQ5ZyM2CUCJbnH6zajY5pndzpgVxG1YpVd6a3Ljqh"
invoice="{{ invoice }}"
></bitpay-invoice-create>
<bitpay-invoice-frame
invoice="{{ invoice }}"
></bitpay-invoice-frame>
<bitpay-invoice-create>
Create invoices in your SPA, requires a non-signing POS bitpay token. Set the testnet attribute to use bitpays testing infrastructure. You can redirect the user to the returned invoice.url
or use the following element to display.
<bitpay-invoice-frame>
Show the invoice you created with the previous element inside an iframe and listen for status updates.
Development
# Get dependencies
$ npm install
# Demo site
$ npm start
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- polymer#Polymer/polymer#^2.0.0
- Released
- 2018-02-05
- Maturity
- IMPORTED
- License
- MIT License
Compatibility
- Framework
- Polymer 2.0+
- Browser
- Browser Independent
bitpay-elements - Vaadin Add-on Directory
Create and show bitpay invoices
**[ This description is mirrored from README.md at [github.com/morbidick/bitpay-elements](https://github.com//morbidick/bitpay-elements/blob/v2.0.5/README.md) on 2019-05-10 ]**
# Polymer 2 Bitpay Elements
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/morbidick/bitpay-elements)
[![Build Status](https://travis-ci.org/morbidick/bitpay-elements.svg?branch=master)](https://travis-ci.org/morbidick/bitpay-elements)
Create and show [bitpay](https://bitpay.com) invoices.
## Components
```html
```
### \
Create invoices in your SPA, requires a [non-signing POS bitpay token](https://bitpay.com/dashboard/merchant/api-tokens). Set the testnet attribute to use [bitpays testing infrastructure](https://bitpay.com/docs/testing). You can redirect the user to the returned `invoice.url` or use the following element to display.
### \
Show the invoice you created with the previous element inside an iframe and listen for status updates.
## Development
```bash
# Get dependencies
$ npm install
# Demo site
$ npm start
```