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
359d8c5c6a
Merge pull request #745 from Kukks/feature/invoicepaymentdata
...
Add payment data to crypto info in invoice api model
2019-04-11 19:10:52 +09:00
Kukks
dc2b8c9e4c
bump to nbitpay and use for payments
2019-04-11 12:00:10 +02:00
Kukks
37869fd049
Add payment data to crypto info in invoice api model
...
Depends on https://github.com/MetacoSA/NBitpayClient/pull/22
2019-04-11 11:54:56 +02:00
Kukks
1cf17872ab
Allow POS to redirect invoices automatically after paid
...
closes #730
2019-04-11 11:08:42 +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
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
70f71f64c4
Use internal tags, not order id in the streamer to know if the incoming invoice is for the payment request
2019-02-25 17:56:29 +09:00
nicolas.dorier
8ae5a9c1f7
Fix old crowdfunding invoices
2019-02-22 17:51:38 +09:00
nicolas.dorier
6226de7cff
Refactor Crowdfund to use the tagging system
2019-02-19 12:48:48 +09:00
nicolas.dorier
3816b36131
Add internal tags to invoice
2019-02-19 11:14:21 +09:00
Andrew Camilleri
5b1bf6cd88
add email to export ( #583 )
2019-02-17 18:33:40 +09:00
nicolas.dorier
0acd3e20b0
bump
2019-01-26 20:58:15 +09:00
nicolas.dorier
24c8c076d5
Add taxIncluded field in invoice
2019-01-24 20:53:29 +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
Kukks
a7a11a4f13
Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund
2019-01-09 12:22:42 +01:00
nicolas.dorier
65fb2e992e
Round InvoiceDue and PaidCurrency in export
2019-01-09 17:18:01 +09:00
Kukks
c63feb488c
Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund
2019-01-07 10:58:52 +01:00
nicolas.dorier
4b982f815c
Renaming
2019-01-07 15:35:18 +09:00
Kukks
20a6b3fc33
Merge remote-tracking branch 'btcpayserver/master' into feature/crowdfund
2019-01-06 10:25:24 +01:00
Kukks
40c85d6104
Expand Invoice Searching
2019-01-06 10:00:55 +01:00
Kukks
1eecd85ceb
Merge branch 'master' into feature/crowdfund
2019-01-06 09:26:58 +01:00
Kukks
6e7f1151bc
bug fixes and optimizations
2019-01-05 19:47:39 +01:00
Kukks
7e321d4016
expand list invoices search
2019-01-05 09:49:06 +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
e3193a92d0
Add PaidCurrency in the excel export
2018-12-27 16:48:33 +09:00
nicolas.dorier
d76dabdca6
Remove warning
2018-12-27 16:19:00 +09:00
rockstardev
365ee4cf0b
Fixing CSV test now that we have new field / reorders
2018-12-18 12:35:59 -06:00
rockstardev
ec23eae21d
Ensuding that payments are always ordered by time for consistency
2018-12-18 11:56:51 -06:00
rockstardev
7a9229628a
InvoiceDue field in export
2018-12-18 11:56:12 -06:00
nicolas.dorier
0ba96aa4b8
Fix export tests
2018-12-18 23:24:22 +09:00
nicolas.dorier
9ca85ed365
Change column order
2018-12-18 21:44:51 +09:00
nicolas.dorier
93113fd871
Fix payment exports to reflect correctly payment data, rename fields.
2018-12-18 21:35:52 +09:00
nicolas.dorier
d5ae79c38c
Add more information about status in the CSV export
2018-12-18 19:33:14 +09:00
nicolas.dorier
7cf07b27e3
Invoice export should not prefix amounts with crypto code
2018-12-18 19:20:10 +09: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
e836faf792
Stop setting BIP70 link info
2018-12-06 17:12:51 +09:00
nicolas.dorier
9209984a2f
Remove useless argument from GetInvoice
2018-12-06 17:05:27 +09:00
rockstardev
a89da1f705
Recoding test to respect new ordering in CSV
2018-11-30 04:34:18 -06:00
rockstardev
5b297e539a
Additional fields and ordering based on feedback
2018-11-30 04:18:37 -06:00
rockstardev
7b47b96252
Always using quotes for CSV export
2018-11-30 03:15:23 -06:00
rockstardev
a4bec83ecc
Fixing warnings on invariant culture, hate this for being so verbose
2018-11-30 02:51:23 -06:00
rockstardev
8e30b7430d
Adding PaymentType and destination, CSV export
2018-11-30 02:04:26 -06:00
rockstardev
9235d32a45
Export of payments made on invoices
2018-11-30 01:22:39 -06:00
nicolas.dorier
0419a3c19a
do not affect Buyer for every paymentid
2018-11-05 17:37:55 +09:00
nicolas.dorier
9fc7f287d2
Expose buyer object to conform to bitpay API
2018-11-05 17:02:12 +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
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
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
060876d07f
Do not round satoshis to 8 decimal
2018-07-23 18:15:40 +09:00
nicolas.dorier
c2f282f85c
Fix rounding bug
2018-07-23 17:59:12 +09:00
nicolas.dorier
6eb7bbf853
Fix some invoice failing to create because of rounding issues
2018-07-23 12:01:20 +09:00
nicolas.dorier
a97ef2eee8
MinerFee matching Bitpay API
2018-05-25 22:49:49 +09:00
rockstardev
fe5347aa86
Maintaining BitPay compatibility
...
Ref: https://github.com/btcpayserver/btcpayserver/issues/180
2018-05-20 17:00:54 +09:00
nicolas.dorier
58b994e043
fix tests
2018-05-16 10:40:25 +09:00
nicolas.dorier
640ff36fa2
fix build
2018-05-16 10:26:45 +09:00
Andrew Camilleri
559f535257
add some coverage for bitpay fields
2018-05-15 16:18:37 +02:00
Andrew Camilleri
ad67f4ef18
update to use longs
2018-05-13 09:47:42 +02:00
Andrew Camilleri
a37a8e8fcd
Merge remote-tracking branch 'btcpayserver/master' into feature/extended-invoice
2018-05-11 16:46:38 +02:00
nicolas.dorier
9afc143801
Use decimals and fix invoices
2018-05-11 22:38:31 +09:00
nicolas.dorier
8e4943df65
low-medium speed policy
2018-05-11 22:12:45 +09:00
Andrew Camilleri
ee4f83ddba
small fixes
2018-05-11 12:21:25 +02:00
Andrew Camilleri
239a011e60
add new properties and change types to decimal
2018-05-11 11:31:21 +02:00
nicolas.dorier
87e28b70fd
cap MinimumTotalDue to 1 satoshi
2018-05-06 13:55:03 +09:00
nicolas.dorier
b96f464e39
Add "unusual:" filter to invoice list
2018-05-06 13:16:39 +09:00
nicolas.dorier
7872b3ec55
Add a new invoice event: expiredPaidPartial and fix some corner case for tolerance
2018-05-06 00:40:44 +09:00
Nicolas Dorier
27a0aebd12
Merge pull request #155 from Kukks/feature/order-tolerance
...
Payment Tolerance
2018-05-06 00:06: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
Andrew Camilleri
9a92646d4d
add test and refactor for PR
2018-05-05 16:07:22 +02:00
Andrew Camilleri
0fc770bbb1
extract logic of accounting to accounting and remove bitpay breaking changes
2018-05-04 17:47:33 +02:00
Andrew Camilleri
dfb79ef96e
Merge remote-tracking branch 'btcpayserver/master' into feature/order-tolerance
2018-05-04 17:46:39 +02:00
nicolas.dorier
4ebffc8d43
fix BIP70 bug
2018-05-05 00:44:02 +09:00
Andrew Camilleri
c3d73236e0
start work on payment tolerance feature
2018-05-04 16:15:34 +02:00
nicolas.dorier
8a4da361fd
Fix bug about invoice URL
2018-05-04 22:05:40 +09:00
nicolas.dorier
57effe318b
Fix missing URL for invoice
2018-05-04 21:41:50 +09:00
nicolas.dorier
e57a488371
Refactor the RateProvider
2018-05-03 03:32:42 +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
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
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
80e878c2f5
Removing http callback notification system
2018-01-07 21:48:00 +09:00
nicolas.dorier
63fceed5f4
invoice watcher can watch several currencies
2018-01-07 02:16:42 +09:00
nicolas.dorier
781b2885cc
Refactoring to prepare multiple DerivationSchemes per store and invoices
2018-01-06 19:10:55 +09:00
nicolas.dorier
28ac5608a5
Update NBxplorer, bump version
2018-01-04 22:43:28 +09:00
nicolas.dorier
44c925a4ba
Fix #24
2018-01-04 22:21:47 +09:00
nicolas.dorier
a863812f90
Refactor how invoice payments are computed
2017-12-21 18:01:26 +09:00
nicolas.dorier
a37fdde214
Big refactorying for supporting multi currencies
2017-12-21 15:52:04 +09:00
nicolas.dorier
24007f1515
Fix: Forgot to pass in the Rate field to the invoice DTO
2017-12-18 08:56:27 +09:00
nicolas.dorier
99040597dc
BTCPrice should be bitcoin price of item
2017-12-17 19:40:42 +09:00
nicolas.dorier
d9794216dd
Send InvoicePaymentEvent
2017-12-17 14:33:38 +09:00
nicolas.dorier
84bb6056d3
Use EventAggregator to decouple several classes
2017-12-17 14:17:42 +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
7efe83eba8
notify on invalid in fullnotification is true
2017-12-03 13:42:12 +09:00
nicolas.dorier
479fc50d9a
Add PendingInvoice inside CreateInvoice
2017-11-12 23:51:14 +09:00
nicolas.dorier
a29a8f7ed9
Do not use AddAsync
2017-11-12 23:37:21 +09:00