Skip to content

Commit b143205

Browse files
committed
Format project using prettier
1 parent 0c57ac9 commit b143205

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2600
-2163
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pull requests are welcome and appreciated. To contribute to BTCPay Server, first
1818

1919
If you're beginner, take a look at the step by step guide on how to contribute to BTCPay Server documentation below.
2020

21-
[![Contributing to Documentation](https://img.youtube.com/vi/bSDROcdSSWw/mqdefault.jpg)](https://www.youtube.com/watch?v=bSDROcdSSWw "How BTCPay Server Works")
21+
[![Contributing to Documentation](https://img.youtube.com/vi/bSDROcdSSWw/mqdefault.jpg)](https://www.youtube.com/watch?v=bSDROcdSSWw 'How BTCPay Server Works')
2222

2323
### Build the Documentation Locally
2424

docs/Accounting.md

+28-28
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,41 @@ BTCPay Server offers several tools that make **cryptocurrency bookkeeping** easi
44

55
## Invoice Export
66

7-
![Invoice exporting in BTCPay Server](./img/invoice/invoice-export.jpg "Invoice exporting in BTCPay Server")
7+
![Invoice exporting in BTCPay Server](./img/invoice/invoice-export.jpg 'Invoice exporting in BTCPay Server')
88

99
To export the **invoices**, go to Invoices > Export invoices, select the export format (CSV/JSON) and download the file. You can then customize the fields to fit your **business needs** and import the data into your **accounting software**, or create pivot tables from the exported data.
1010

1111
The fields are the following:
1212

13-
| Field name | Description |
14-
|:-:|---|
15-
| ReceivedDate | Date the payment has been received |
16-
| StoreId | The store receiving the payment |
17-
| OrderId | The order Id of the invoice |
18-
| InvoiceId | The invoice ID |
19-
| InvoiceCreatedDate | Date of creation of the invoice |
20-
| InvoiceExpirationDate | Date of expiration of the invoice |
21-
| InvoiceMonitoringDate | Date your BTCPay Server ceases to monitor events of the invoice |
22-
| PaymentId | Unique identifier of a payment |
23-
| Destination | The destination address the customer paid to |
24-
| PaymentType | The type of payment (`OnChain`, `Offchain`) |
25-
| CryptoCode | Currency code of the method of payment (e.g. `BTC`) |
26-
| Paid | Amount paid in the currency defined in CryptoCode |
27-
| NetworkFee | [Network fee](./FAQ/Stores.md#add-network-fee-to-invoice-vary-with-mining-fees) paid by the user in this payment |
28-
| ConversionRate | The conversion rate at the time of invoice creation between `CryptoCode` and `InvoiceCurrency` |
29-
| PaidCurrency | Amount paid, denominated in `InvoiceCurrency` |
30-
| InvoiceCurrency | The currency code of the invoice (e.g. `USD`) |
31-
| InvoiceDue | The amount still due to fully pay the invoice after this payment (minus `NetworkFee`, denominated in `InvoiceCurrency`) |
32-
| InvoicePrice | The total price of the invoice (minus Network Fee, denominated in `InvoiceCurrency`) |
33-
| InvoiceItemCode | The item code afferent to the products/services billed by the invoice |
34-
| InvoiceItemDesc | The item description afferent to the products/services billed by the invoice |
35-
| InvoiceFullStatus | The full status of the invoice (e.g. `expired (paidPartial)`) |
36-
| InvoiceStatus | The simplified status of the invoice (e.g. `expired`) |
37-
| InvoiceException | The status of the invoice (e.g. `paidPartial`) |
38-
| BuyerEmail | The payer's email. |
13+
| Field name | Description |
14+
| :-------------------: | ----------------------------------------------------------------------------------------------------------------------- |
15+
| ReceivedDate | Date the payment has been received |
16+
| StoreId | The store receiving the payment |
17+
| OrderId | The order Id of the invoice |
18+
| InvoiceId | The invoice ID |
19+
| InvoiceCreatedDate | Date of creation of the invoice |
20+
| InvoiceExpirationDate | Date of expiration of the invoice |
21+
| InvoiceMonitoringDate | Date your BTCPay Server ceases to monitor events of the invoice |
22+
| PaymentId | Unique identifier of a payment |
23+
| Destination | The destination address the customer paid to |
24+
| PaymentType | The type of payment (`OnChain`, `Offchain`) |
25+
| CryptoCode | Currency code of the method of payment (e.g. `BTC`) |
26+
| Paid | Amount paid in the currency defined in CryptoCode |
27+
| NetworkFee | [Network fee](./FAQ/Stores.md#add-network-fee-to-invoice-vary-with-mining-fees) paid by the user in this payment |
28+
| ConversionRate | The conversion rate at the time of invoice creation between `CryptoCode` and `InvoiceCurrency` |
29+
| PaidCurrency | Amount paid, denominated in `InvoiceCurrency` |
30+
| InvoiceCurrency | The currency code of the invoice (e.g. `USD`) |
31+
| InvoiceDue | The amount still due to fully pay the invoice after this payment (minus `NetworkFee`, denominated in `InvoiceCurrency`) |
32+
| InvoicePrice | The total price of the invoice (minus Network Fee, denominated in `InvoiceCurrency`) |
33+
| InvoiceItemCode | The item code afferent to the products/services billed by the invoice |
34+
| InvoiceItemDesc | The item description afferent to the products/services billed by the invoice |
35+
| InvoiceFullStatus | The full status of the invoice (e.g. `expired (paidPartial)`) |
36+
| InvoiceStatus | The simplified status of the invoice (e.g. `expired`) |
37+
| InvoiceException | The status of the invoice (e.g. `paidPartial`) |
38+
| BuyerEmail | The payer's email. |
3939

4040
## QuickBooks Online Connector for BTCPay Server
4141

4242
**BTCQBO** is a third-party plugin that **enables QuickBooks Online users to connect their BTCPay server** easily. Besides **bookkeeping**, users can quickly **generate invoices from their QuickBooks**. For more information about the BTCQBO and all the features it offers, [check the plugin repository](https://github.com/JeffVandrewJr/btcqbo) or watch the video below.
4343

44-
[![BTCPay Server QuickBooks](https://img.youtube.com/vi/srgwL9ozg6c/mqdefault.jpg)](https://www.youtube.com/watch?v=srgwL9ozg6c "BTCPay Server QuickBooks")
44+
[![BTCPay Server QuickBooks](https://img.youtube.com/vi/srgwL9ozg6c/mqdefault.jpg)](https://www.youtube.com/watch?v=srgwL9ozg6c 'BTCPay Server QuickBooks')

docs/Apps.md

+16-14
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
description: Apps allow users an easy way to extend BTCPay Server.
33
tags:
4-
- BTCPay Server
5-
- Apps
6-
- Point of Sale
7-
- Crowdfunding
8-
- Payment Button
4+
- BTCPay Server
5+
- Apps
6+
- Point of Sale
7+
- Crowdfunding
8+
- Payment Button
99
---
10+
1011
# BTCPay Server Apps
1112

1213
The primary purpose of BTCPay Server is to remove dependencies on trusted third-parties. The Apps are built in applications that obsolete central-authorities and allow users an easy way to extend the [use case](./UseCase.md) of the software. Users can self-host all sorts of customizable applications that work out of the box.
@@ -17,16 +18,17 @@ To create an app, go to Apps > Create a new app. Apps are store-dependent, which
1718

1819
The **web-based PoS app** allows users with brick and mortar stores to readily **accept cryptocurrencies without fees or a third-party**, directly to their wallet. The **PoS** can be displayed easily on tablets or any other devices which support web browsing. Users can easily create a homescreen shortcut for a quick access to the web-app.
1920

20-
![BTCPay Pos](./img/BTCPayPointOfSale1.jpg "BTCPay Pos")
21+
![BTCPay Pos](./img/BTCPayPointOfSale1.jpg 'BTCPay Pos')
2122

2223
Adding new products is easy. The app has a **shopping cart feature**, **tips**, **product inventory**, **custom payment options** and more.
2324

2425
The **Point of sale app** can also be used to receive donations, tips or even as a small e-commerce shop, depending on the options or customizations applied.
2526

2627
Curently, the **Point of Sale app** supports three different views:
27-
* A `Static` view representing only the items for sale.
28-
* A `Cart` view including items for sale and a cart for checkout.
29-
* A `Light` view consisting only of a keypad for easy and quick payments (Starting from [v1.0.5.6](https://blog.btcpayserver.org/btcpay-server-1-0-5-6/#simplePOS)).
28+
29+
- A `Static` view representing only the items for sale.
30+
- A `Cart` view including items for sale and a cart for checkout.
31+
- A `Light` view consisting only of a keypad for easy and quick payments (Starting from [v1.0.5.6](https://blog.btcpayserver.org/btcpay-server-1-0-5-6/#simplePOS)).
3032

3133
To get your first **Point of Sale app** running, follow theses few simple steps:
3234

@@ -53,7 +55,7 @@ You can change the appearance of your **Point of Sale app** by following the [th
5355
7. Click "Save Settings".
5456
8. Click "View App" to view your Crowdfund (Contributors can access the crowdfund through that link).
5557

56-
[![BTCPay Server Crowdfunding](https://img.youtube.com/vi/tFbfyneDj88/mqdefault.jpg)](https://www.youtube.com/watch?v=tFbfyneDj88 "BTCPay Server Crowdfunding")
58+
[![BTCPay Server Crowdfunding](https://img.youtube.com/vi/tFbfyneDj88/mqdefault.jpg)](https://www.youtube.com/watch?v=tFbfyneDj88 'BTCPay Server Crowdfunding')
5759

5860
If you would like to provide digital or physical products to the backers of your **crowdfunding campaign**, you can [integrate WooCommerce store into it](./FAQ/Apps.md#how-to-integrate-woocommerce-store-into-a-btcpay-crowdfund-app). You can also set limits on contribution perks using the inventory feature.
5961

@@ -66,7 +68,7 @@ Easily-embeddable HTML and highly-customizable **payment buttons** allow users t
6668
3. Customize your button.
6769
4. Copy the generated form and embed it on your website.
6870

69-
[![BTCPay Server Payment Buttons](https://img.youtube.com/vi/MIWGvl6_WzI/mqdefault.jpg)](https://www.youtube.com/watch?v=MIWGvl6_WzI "BTCPay Server Payment Button")
71+
[![BTCPay Server Payment Buttons](https://img.youtube.com/vi/MIWGvl6_WzI/mqdefault.jpg)](https://www.youtube.com/watch?v=MIWGvl6_WzI 'BTCPay Server Payment Button')
7072

7173
## Lightning Network Apps (Lapps)
7274

@@ -76,8 +78,8 @@ BTCPay exposes all the necessary information required to connect your internal *
7678

7779
Below are videos that showcase how to connect some of the lapps to BTCPay.
7880

79-
[![c-lightningbtcpay1](https://img.youtube.com/vi/6EHNq1anD1k/mqdefault.jpg)](https://www.youtube.com/watch?v=6EHNq1anD1k "BTCPay Server - c-lightning and lapps intro")
81+
[![c-lightningbtcpay1](https://img.youtube.com/vi/6EHNq1anD1k/mqdefault.jpg)](https://www.youtube.com/watch?v=6EHNq1anD1k 'BTCPay Server - c-lightning and lapps intro')
8082

81-
[![c-lightningbtcpay2](https://img.youtube.com/vi/ZbM3jcxau0o/mqdefault.jpg)](https://www.youtube.com/watch?v=ZbM3jcxau0o "BTCPay Server - c-lightning and lapps publisher")
83+
[![c-lightningbtcpay2](https://img.youtube.com/vi/ZbM3jcxau0o/mqdefault.jpg)](https://www.youtube.com/watch?v=ZbM3jcxau0o 'BTCPay Server - c-lightning and lapps publisher')
8284

83-
[![c-lightningbtcpay3](https://img.youtube.com/vi/EYrsU3LGpbI/mqdefault.jpg)](https://www.youtube.com/watch?v=EYrsU3LGpbI "BTCPay Server - c-lightning and lapps woo lightning")
85+
[![c-lightningbtcpay3](https://img.youtube.com/vi/EYrsU3LGpbI/mqdefault.jpg)](https://www.youtube.com/watch?v=EYrsU3LGpbI 'BTCPay Server - c-lightning and lapps woo lightning')

0 commit comments

Comments
 (0)