store-demo package, btc->btcp
This commit is contained in:
parent
bb335ce1af
commit
9ea5081b88
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "lemonade-stand",
|
||||
"name": "store-demo",
|
||||
"main": "index.js",
|
||||
"version": "1.0.0",
|
||||
"homepage": "https://github.com/bitpay/lemonade-stand",
|
||||
|
|
2
index.js
2
index.js
|
@ -53,7 +53,7 @@ LemonadeStand.prototype.setupRoutes = function(app, express) {
|
|||
};
|
||||
|
||||
LemonadeStand.prototype.getRoutePrefix = function() {
|
||||
return 'lemonade-stand';
|
||||
return 'store-demo';
|
||||
};
|
||||
|
||||
LemonadeStand.prototype.filterInvoiceHTML = function() {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue