store-demo package, btc->btcp

This commit is contained in:
Jon Layton 2018-04-07 11:45:50 -05:00
parent bb335ce1af
commit 9ea5081b88
5 changed files with 7 additions and 6 deletions

View File

@ -1 +1,2 @@
# Lemonade Stand
### store-demo package

View File

@ -1,5 +1,5 @@
{
"name": "lemonade-stand",
"name": "store-demo",
"main": "index.js",
"version": "1.0.0",
"homepage": "https://github.com/bitpay/lemonade-stand",

View File

@ -53,7 +53,7 @@ LemonadeStand.prototype.setupRoutes = function(app, express) {
};
LemonadeStand.prototype.getRoutePrefix = function() {
return 'lemonade-stand';
return 'store-demo';
};
LemonadeStand.prototype.filterInvoiceHTML = function() {

View File

@ -10,7 +10,7 @@
</head>
<body>
<h1>Lemonade Stand</h1>
<h1>Lemonade Stand - Store Demo</h1>
<h2>Invoice</h2>
<div id="qrcode"></div>
<p>Please send {{amount}} BTCP to {{address}}</p>

View File

@ -5,12 +5,12 @@
</head>
<body>
<h1>Lemonade Stand</h1>
<h1>Lemonade Stand - Store Demo</h1>
<h2>Invoice</h2>
<form method="post" action="invoice">
Amount: <input type="text" name="amount"/> BTC <input type="submit" value="Generate Invoice" />
Amount: <input type="text" name="amount"/> BTCP <input type="submit" value="Generate Invoice" />
</form>
</body>
</html>
</html>