Commit Graph

154 Commits

Author SHA1 Message Date
nicolas.dorier
4853e15d8a Better timing measurement during invoice creation 2019-04-03 15:00:09 +09:00
nicolas.dorier
6b4b903669 Improve invoice logs, make sure logs are saved as fire and forget 2019-04-03 14:38:35 +09:00
nicolas.dorier
a4051dac72 Make sure BTCPay show TOR lightning node info if the site is accessed through TOR 2019-03-17 21:28:47 +09:00
nicolas.dorier
051248f2fc Add CancellationToken to GetRatesAsync and propagate it from the controllers to the rate fetcher 2019-03-05 17:09:17 +09:00
nicolas.dorier
b4b4523193 Round currency up to significant decimal 2019-02-22 22:15:25 +09:00
nicolas.dorier
8ae5a9c1f7 Fix old crowdfunding invoices 2019-02-22 17:51:38 +09:00
nicolas.dorier
2c7cc9a796 Fix: invoice Price was not being rounded if no taxIncluded present 2019-02-21 21:58:49 +09:00
nicolas.dorier
2e1d623755 fix https://github.com/btcpayserver/btcpayserver/issues/596 2019-02-21 21:30:30 +09:00
nicolas.dorier
6ba17e8e30 Can filter supported payment methods for an invoice 2019-02-21 19:34:11 +09:00
nicolas.dorier
63c88be533 Use CreateInvoiceRequest instead of NBitpay Invoice type 2019-02-21 18:40:27 +09:00
nicolas.dorier
126fbdfd60 Fix null reference exception if the NotificationUrl is not set 2019-02-20 23:03:04 +09:00
nicolas.dorier
0807f3b87b Remote internal tags at store level 2019-02-19 13:24:04 +09:00
nicolas.dorier
aedad497e8 Rename AppsHelper to AppService 2019-02-19 13:04:58 +09:00
nicolas.dorier
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
nicolas.dorier
37327ec674 Apps can tag invoices 2019-02-19 12:48:08 +09:00
nicolas.dorier
c071c81403 Pass the whole Entity object to internal InvoiceEvent 2019-02-19 12:08:07 +09:00
nicolas.dorier
3816b36131 Add internal tags to invoice 2019-02-19 11:14:21 +09:00
nicolas.dorier
24c8c076d5 Add taxIncluded field in invoice 2019-01-24 20:53:29 +09:00
nicolas.dorier
575b6ca222 Improve error messages when the store has no payment method configured 2019-01-18 19:15:31 +09:00
nicolas.dorier
c333902468 Round up invoice price 2019-01-15 22:12:29 +09:00
nicolas.dorier
4b982f815c Renaming 2019-01-07 15:35:18 +09:00
Kukks
5076d73695 Enhance Invoice Events 2019-01-06 10:12:45 +01:00
nicolas.dorier
a05cd5678b Add support for removing network fee on first payment 2019-01-05 17:45:49 +09:00
nicolas.dorier
0f175174f6 Rename TxFee to NetworkFee and save the Network Fee of each payment under PaymentEntity 2019-01-05 13:31:05 +09:00
nicolas.dorier
0d06cf63b7 Use enum for invoice status and invoice exception 2018-12-10 21:48:28 +09:00
nicolas.dorier
d152d5cd90 fix build 2018-11-06 16:08:42 +09:00
Rockstar Developer
c2bbc04c4c Various bugfixes (#308)
* NotifyEmail field on Invoice, sending email when triggered

* Styling invoices page

* Exporting Invoices in JSON

* Recoding based on feedback

* Fixing image breaking responsive layout on mobile

* Reducing amount of data sent in email notification

* Turning bundling on by default
2018-10-12 10:09:13 +09:00
nicolas.dorier
fed53661b3 Add btcpay.store.cancreateinvoice claim, and use that for the store 2018-09-08 14:53:41 +09:00
rockstardev
735012e3d7 Refactoring Invoice to cleanup unused code 2018-09-08 14:53:41 +09:00
nicolas.dorier
f12114f9aa Poll and cache rates in parallel 2018-08-23 00:24:33 +09:00
nicolas.dorier
87d384dba5 Decouple RateProviderFactory with RateFetcher 2018-08-22 16:53:40 +09:00
nicolas.dorier
9c30476fc8 Making BTCPayServer a bit faster when creating invoices 2018-08-21 13:54:52 +09:00
Andrew Camilleri
d480be925b Can disable method of payments 2018-07-30 23:54:31 +09:00
nicolas.dorier
0dcda0f289 Fix: Inverse rule was not found in BTCPay with X_X 2018-07-27 18:04:41 +09:00
nicolas.dorier
b0d6216ffc Better timestamp for invoice logs, fix bugs which can happen if invoice get deleted 2018-07-24 12:19:43 +09:00
nicolas.dorier
ce17e3212a Can delete stores 2018-07-19 19:31:17 +09:00
nicolas.dorier
976d9d0cda Add CSP (Disable it if custom theming) 2018-07-12 17:38:21 +09:00
nicolas.dorier
b7abc08c27 Create a new format for LightningConnectionString 2018-07-01 15:45:08 +09:00
nicolas.dorier
d313395751 Show rule evaluation in invoice logs 2018-06-24 21:01:29 +09:00
nicolas.dorier
17e914778d Make sure that lightning payments events are using the state of the invoice when they got issued (#205) 2018-06-21 14:15:36 +09:00
nicolas.dorier
dec5dbc0d2 Ability to pass fields to POS app #181 2018-05-24 23:54:48 +09:00
nicolas.dorier
8e4943df65 low-medium speed policy 2018-05-11 22:12:45 +09:00
Andrew Camilleri
c3d73236e0 start work on payment tolerance feature 2018-05-04 16:15:34 +02:00
nicolas.dorier
e57a488371 Refactor the RateProvider 2018-05-03 03:32:42 +09:00
nicolas.dorier
0723eec508 Fix rate handling 2018-04-15 21:21:57 +09:00
nicolas.dorier
04c6107196 Can configure rate caching and bitcoinaverage API keys 2018-04-14 22:52:57 +09:00
nicolas.dorier
7de067cd7a remove unused 2018-04-10 19:12:37 +09:00
nicolas.dorier
d7cb6f1cca Add a way to customize lightning invoice description 2018-04-07 16:27:46 +09:00
nicolas.dorier
325b359ff6 Add OnChainMinValue 2018-04-03 17:39:28 +09:00
nicolas.dorier
b9b4b5ea39 log invoice event if Lightning max value exceeded 2018-03-28 23:15:10 +09:00
nicolas.dorier
e23243565f Refactor CreateInvoiceCore to better give feedback on payment method errors to the merchant, be faster, and give NodeInfo 2018-03-28 22:37:01 +09:00
nicolas.dorier
7dd88d8d8f Can send max invoice value for lightning payments 2018-03-26 01:57:44 +09:00
nicolas.dorier
a0d2790491 Activate spanish 2018-03-24 14:35:49 +09:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
3d33ecf397 make IsAvailable async 2018-02-23 16:09:15 +09:00
nicolas.dorier
0e1a1fd2cd Remove dependencies in StoreController to on chain payment specific stuff 2018-02-20 12:45:04 +09:00
nicolas.dorier
3f07010de8 Rename IPaymentMethodFactory to ISupportedPaymentMethod 2018-02-20 10:44:39 +09:00
nicolas.dorier
2e45c8b190 Isolate PaymentMethodId in its own class, generalise DerivationStrategy 2018-02-19 23:13:23 +09:00
nicolas.dorier
a634593903 Big refactoring renaming cryptoData => PaymentMethod 2018-02-19 15:09:05 +09:00
nicolas.dorier
35f669aa15 Isolating code of on chain specific payment in its own folder 2018-02-19 11:06:08 +09:00
nicolas.dorier
aa4519ac30 Big refactoring for supporting new type of payment 2018-02-19 02:38:03 +09:00
nicolas.dorier
d873a1a545 Set a longer timeout for the cache for /rates, update NBXPlorer, bump 2018-02-01 21:24:13 +01:00
nicolas.dorier
7b9541b8e9 Do not crash if some of the altcoins are unavailable 2018-01-19 17:39:15 +09:00
nicolas.dorier
b0e9e10f7e Add extended notifications 2018-01-18 20:56:55 +09:00
nicolas.dorier
5f6913b3a2 Can tweak the rate at store level 2018-01-17 15:59:31 +09:00
nicolas.dorier
2b31af80cb Can configure invoice expiration 2018-01-17 15:14:53 +09:00
nicolas.dorier
bb3d107309 Fix legacy rate not being correct for alt only payment 2018-01-14 15:26:14 +09:00
nicolas.dorier
6b4eeff3f1 add tests, do not returns bitcoinAddress field if not supported by the invoice 2018-01-13 22:01:09 +09:00
nicolas.dorier
39fb8dbb6a better handle case when BTC is not supported by a store 2018-01-12 16:30:34 +09:00
nicolas.dorier
3a91965187 Some refactoring improving performance, and better tests for multiple currencies 2018-01-11 17:29:48 +09:00
nicolas.dorier
55d50af39d BTCWallet is single currency, introduce BTCWalletProvider 2018-01-11 14:36:12 +09:00
nicolas.dorier
76d50b018b Calculate rate properly per crypto 2018-01-09 02:57:06 +09:00
nicolas.dorier
6ae6335c6d Fix layout_cshtml 2018-01-08 04:14:35 +09:00
nicolas.dorier
e3a1eed8b3 Use Websocket for blockchain notifications 2018-01-08 02:36:41 +09:00
nicolas.dorier
781b2885cc Refactoring to prepare multiple DerivationSchemes per store and invoices 2018-01-06 19:10:55 +09:00
nicolas.dorier
a37fdde214 Big refactorying for supporting multi currencies 2017-12-21 15:52:04 +09:00
nicolas.dorier
aaadda3e0f Use websockets in checkout page to get notified of paid invoices 2017-12-17 19:58:55 +09:00
nicolas.dorier
c6959bb0bc Can start without NBXplorer being ready 2017-12-17 01:04:20 +09:00
nicolas.dorier
22f06ecd4e Can set store policy to define how much time to wait before passing a transaction from paid to invalid. 2017-12-03 14:43:52 +09:00
nicolas.dorier
479fc50d9a Add PendingInvoice inside CreateInvoice 2017-11-12 23:51:14 +09:00
nicolas.dorier
83cf637f9d fetch dependencies when creating request simultaneously 2017-11-12 23:23:21 +09:00
nicolas.dorier
ca85095273 Move code into CurrencyNameTable 2017-10-27 18:58:43 +09:00
nicolas.dorier
4deb7c3270 Adopt dotnet core editorconfig, big reformating 2017-10-27 17:53:04 +09:00
nicolas.dorier
55a4c3c08d Change address if invoice get partially paid 2017-10-25 01:41:01 +09:00
nicolas.dorier
5f8407b4b1 Allow the merchant to disable network fees at store level 2017-10-23 19:27:22 +09:00
nicolas.dorier
4dca81403b Better handle transition from paid to invalid 2017-10-23 18:07:50 +09:00
nicolas.dorier
6d14fe9c30 Do not crash if transactionSpeed not set 2017-10-23 17:05:08 +09:00
nicolas.dorier
c0c4637c77 do not ignore transactionSpeed set at the invoice level 2017-10-23 14:51:21 +09:00
nicolas.dorier
0009ed0921 Bug fix: orderId was ignored 2017-10-23 01:23:56 +09:00
lepipele
0f603ffb0a Allowing customization of expiry time for easier debugging 2017-10-20 17:32:52 -05:00
lepipele
45b0991841 Fixing typo in namespace 2017-10-20 14:06:37 -05:00
nicolas.dorier
15e73e1cad Properly limit CORS to bitpay api 2017-10-13 17:46:19 +09:00
nicolas.dorier
9ddceae824 Validate email in the api 2017-10-13 16:59:02 +09:00
nicolas.dorier
d1961e0938 Support other way of passing buyer info 2017-10-13 16:44:55 +09:00
nicolas.dorier
016db76306 Add page for viewing the Invoice details 2017-10-13 00:25:45 +09:00
nicolas.dorier
bae08b6966 Use callback to update invoice state instead of long polling 2017-10-12 16:33:53 +09:00
nicolas.dorier
6d3ea65e03 Refactor token handling, support server-initiated pairing 2017-10-11 12:20:44 +09:00
NicolasDorier
f456d62d3c Properly map addresses to invoice, use new nbxplorer 2017-10-06 10:37:38 +09:00
NicolasDorier
d499ef0977 remove IExternalUrl 2017-09-27 15:16:30 +09:00
NicolasDorier
878a13f1bf Can ask user to confirm email 2017-09-27 14:18:09 +09:00