Commit Graph

78 Commits

Author SHA1 Message Date
nicolas.dorier
01787e2662
Refactor: Remove PrepareInvoiceDTO 2019-06-04 10:11:52 +09:00
Andrew Camilleri
81dae7d350 BTCPay Abstractions: Move PaymentMethod specific logic to their handlers (#850) 2019-05-29 23:33:31 +09:00
Andrew Camilleri
d3e3c31b0c Btcpay abstract BTCPayNetwork -- Alternative PR to #865 (#868)
* BitcoinSpecificBtcPayNetwork - abstract BTCPayNetwork

* some type fixes

* fix tests

* simplify fetching handler in invoice controller

* rename network base and bitcoin classes

* abstract serializer to network level

* fix serializer when network not provided

* fix serializer when network not provided

* fix serializer when network not provided

* try fixes for isolating pull request
2019-05-29 18:43:50 +09:00
rockstardev
112f9c4241 Adding invoice back to pending to track confirmations if less than max 2019-05-25 17:30:27 -05:00
rockstardev
b300404bc7 Extending invoice monitoring if max confirmation count not reached 2019-05-25 17:20:17 -05:00
Nicolas Dorier
512ee16620
Refactor invoice entity to not have to inject the NetworkProvider (#858) 2019-05-24 22:22:38 +09:00
nicolas.dorier
6df83ad148 Replace DBreeze by DBriize 2019-04-28 15:16:11 +09:00
rockstardev
d5bd0ee781 Filtering invoices by StartDate and EndDate
Now it's required to separate parameters with comma. Forced to do
this because dates have spaces between date and time part
2019-04-26 22:00:12 -05:00
Kukks
70cc79a77f fix unusual filter
closes #763
2019-04-13 13:50:14 +02:00
nicolas.dorier
d78990fbd5 Changing queries: Using FirstOrDefaultAsync result in suboptimal queries 2019-04-11 15:05:30 +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
6226de7cff Refactor Crowdfund to use the tagging system 2019-02-19 12:48:48 +09:00
nicolas.dorier
0acd3e20b0 bump 2019-01-26 20:58:15 +09:00
Aaron Clauson
a4792f54a7 Added bootstrap paging buttons to the invoice list page and fixed paging buttons. 2019-01-16 21:33:04 +01:00
nicolas.dorier
4b982f815c Renaming 2019-01-07 15:35:18 +09:00
Kukks
40c85d6104 Expand Invoice Searching 2019-01-06 10:00:55 +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
rockstardev
ec23eae21d Ensuding that payments are always ordered by time for consistency 2018-12-18 11:56:51 -06:00
nicolas.dorier
0d06cf63b7 Use enum for invoice status and invoice exception 2018-12-10 21:48:28 +09:00
nicolas.dorier
b5c9a03052 Can mark invoice as complete 2018-12-10 15:34:48 +09:00
nicolas.dorier
9209984a2f Remove useless argument from GetInvoice 2018-12-06 17:05:27 +09:00
nicolas.dorier
05b0f6d0f7 Fix invoice search not working on transaction id 2018-11-02 14:26:13 +09:00
nicolas.dorier
c430d470c4 Fix warnings and bump nbxplorer 2018-10-26 19:06:06 +09:00
nicolas.dorier
fed53661b3 Add btcpay.store.cancreateinvoice claim, and use that for the store 2018-09-08 14:53: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
640ff36fa2 fix build 2018-05-16 10:26:45 +09:00
nicolas.dorier
b96f464e39 Add "unusual:" filter to invoice list 2018-05-06 13:16:39 +09:00
nicolas.dorier
366490516e Can filter with "exceptionstatus:", show the exception status on invoice list page 2018-05-05 23:25:09 +09:00
nicolas.dorier
16f1791a9a Invoice filter must work with duplicated filter 2018-04-26 11:03:02 +09:00
nicolas.dorier
c60966c725 Revert "Add temporary log for stufftech debug"
This reverts commit fb57d8c3ce.
2018-03-29 12:25:26 +09:00
nicolas.dorier
fb57d8c3ce Add temporary log for stufftech debug 2018-03-29 12:21:20 +09:00
nicolas.dorier
799ce74f65 Add temporary log for stufftech debug 2018-03-29 12:20:06 +09:00
nicolas.dorier
8e38d7ceb4 Revert "Add temporary log to debug stufftech"
This reverts commit a1c22e8071.
2018-03-29 12:17:03 +09:00
nicolas.dorier
a1c22e8071 Add temporary log to debug stufftech 2018-03-29 12:14:51 +09:00
nicolas.dorier
6d8acf54d6 Revert "Fix SQLite bug: New invoice repeating"
This reverts commit 9eb3aad072.
2018-03-29 12:10:03 +09:00
nicolas.dorier
a500a89138 Revert "add hack sqlite specific"
This reverts commit c6d44e7a89.
2018-03-29 12:09:57 +09:00
nicolas.dorier
c6d44e7a89 add hack sqlite specific 2018-03-29 12:02:13 +09:00
nicolas.dorier
9eb3aad072 Fix SQLite bug: New invoice repeating 2018-03-29 11:57:17 +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
acb2407654 Fix bug: Paying a lightning invoice might miss 1 satoshi due to rounding error 2018-03-18 02:26:33 +09:00
nicolas.dorier
0f6ad75536 Remove internal exception thrown by NBitcoin 2018-03-13 15:28:39 +09:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
a634593903 Big refactoring renaming cryptoData => PaymentMethod 2018-02-19 15:09:05 +09:00
nicolas.dorier
af94de93d1 Add some comments 2018-02-19 11:31:34 +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
4795bd8108 Add some sanity check, make sure to use CrytpoDataId everywhere 2018-02-19 03:35:19 +09:00
nicolas.dorier
aa4519ac30 Big refactoring for supporting new type of payment 2018-02-19 02:38:03 +09:00
nicolas.dorier
a1ee09cd85 Further abstract payment data by encapsulating bitcoin related logic into BitcoinLikePaymentData 2018-02-18 02:19:35 +09:00
nicolas.dorier
b898cc030c general code cleanup + add analyzers 2018-02-17 13:18:16 +09:00