Commit Graph

88 Commits

Author SHA1 Message Date
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
5eac84d3a3 Fix bug: bitcoinAddress field of Invoice was showing ligthning BOLT11 address 2018-03-26 12:38:14 +09:00
nicolas.dorier
7dd88d8d8f Can send max invoice value for lightning payments 2018-03-26 01:57:44 +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
81328b2667 Update charge in tests and fix two build time warnings 2018-03-17 17:49:42 +09:00
nicolas.dorier
0f6ad75536 Remove internal exception thrown by NBitcoin 2018-03-13 15:28:39 +09:00
nicolas.dorier
303a617f9e Improve invoice.cshtml display if offchain payment is present 2018-03-06 16:37:25 -05:00
nicolas.dorier
c8923af573 Lightning Network support implementation 2018-02-26 00:48:12 +09:00
nicolas.dorier
5e452a679e simplify code 2018-02-20 14:23:50 +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
b4f4401cdc remove unused code, remove derivationscheme specific logic from InvoiceEntity 2018-02-19 22:41:47 +09:00
nicolas.dorier
2f3238c65e Use decimal for calculations instead of Money, and round due amount at ceil satoshi 2018-02-19 18:54:21 +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
29aed99fd1 prevent a crash if the new property DerivationStrategies is notset at invoice level 2018-02-19 02:56:44 +09:00
nicolas.dorier
aa4519ac30 Big refactoring for supporting new type of payment 2018-02-19 02:38:03 +09:00
nicolas.dorier
3bc232e1da Further isolate bitcoin related stuff inside BitcoinLikePaymentData 2018-02-18 02:35:02 +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
nicolas.dorier
5de330b1f9 Refactoring to keep coin logic out of InvoiceWatcher 2018-02-17 01:34:40 +09:00
nicolas.dorier
4b7b6c6327 debug 2018-01-18 18:33:26 +09:00
nicolas.dorier
ba0e080816 Invoices has events recorded 2018-01-14 21:48:23 +09:00
nicolas.dorier
4a152e8ffc fix build 2018-01-13 17:32:08 +09:00
nicolas.dorier
d54a9474d1 Fixing exception thrown when invoice is paid and supporting only LTC 2018-01-13 17:23:09 +09:00
nicolas.dorier
4f39a8060c Fixing bug of uncorrectly unassigned addresses 2018-01-13 01:48:19 +09:00
nicolas.dorier
a1ebedc0d1 Fix unit test 2018-01-12 16:54:57 +09:00
nicolas.dorier
d5ad0cdb39 Fix a edge case "The instance of entity type 'HistoricalAddressInvoiceData'" 2018-01-12 16:42:10 +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
8596e16feb make default configuration just work with multi chains 2018-01-11 22:52:28 +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
cb4468d3b3 Fixing payment in different crypto 2018-01-10 18:30:45 +09:00
nicolas.dorier
98b7ad62af Fix order accounting 2018-01-09 17:27:26 +09:00
nicolas.dorier
0c735f4e29 Fix accounting calculation when multi crypto 2018-01-09 10:54:19 +09:00
nicolas.dorier
76d50b018b Calculate rate properly per crypto 2018-01-09 02:57:06 +09:00
nicolas.dorier
31672a2587 Add litecoin to docker-compose fix bugs when two networks generate same address 2018-01-09 01:56:37 +09:00
nicolas.dorier
a16cd3e287 Improve invoice page with currencies information 2018-01-08 20:06:16 +09:00