is a web component for generating Electroneum payment string and display it as QR code for the customer to scan using the Electroneum app on their mobile device.
- HTML Custom element with shadow DOM
import the module
<script type="module"> import './node_modules/etn-vendor-payment/index.js'; </script>
Put the component in your markup wherever you want it to appear.
<etn-vendor-payment outledId="5ba657721ca5b" paymentId="7ce25b4dc0" amount="100"></etn-vendor-payment>
The payment string is made up of the following parameters:
For more info see the ETN instant payment API docs: etn api guide
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Palmabit - Sponsor
MIT. See LICENCE