nicolas.dorier
717cadc64b
Fix "Setting "Do not propose lightning payment if value of the invoice is above..." have no effect" ( Fix #949 )
2019-07-31 15:38:49 +09:00
nicolas.dorier
29cbf63346
Remove deps on NetworkProvider in AppService
2019-06-07 13:40:48 +09:00
nicolas.dorier
281280d3ec
Fix crash which can happen during export if someone remove support for a network, inject Network inside paymentdata
2019-06-07 13:31:11 +09:00
nicolas.dorier
01787e2662
Refactor: Remove PrepareInvoiceDTO
2019-06-04 10:11:52 +09:00
nicolas.dorier
ac76220349
Move GetTransactionLink to PaymentType
2019-06-04 09:56:18 +09:00
nicolas.dorier
796954c6e3
Refactor: Remove BlockExplorerLink from the payment handler
2019-06-04 09:52:06 +09:00
nicolas.dorier
292c188182
Fix build errors
2019-06-04 09:40:36 +09:00
nicolas.dorier
1f7097ef89
Refactor: Move DeserializeSupportedPaymentMethod to PaymentType
2019-06-04 09:33:42 +09:00
nicolas.dorier
b97e083017
Refactor: Move DeserializePaymentMethodDetails to PaymentType
2019-06-04 09:22:46 +09:00
nicolas.dorier
8ffd182b98
Refactor: Add DeserializePaymentData at the PaymentType level
2019-06-04 09:16:18 +09:00
nicolas.dorier
1e77546251
Refactoring, make PaymentType a class instead of enum
2019-06-04 08:59:01 +09:00
nicolas.dorier
8711960e74
Removing DeserializePaymentMethodDetails from IPaymentMethodHandler
2019-06-04 01:55:07 +09:00
nicolas.dorier
864bcbb675
Move back GetCryptoPaymentData logic inside PaymentEntity
2019-06-04 01:24:15 +09:00
nicolas.dorier
0b257b98f5
Move back ToPrettyString() in PaymentMethodId to fix crash if a payment method as been disabled
2019-06-04 01:06:03 +09:00
Kukks
0f58f6da36
fix cryptoimage
2019-05-31 08:00:32 +02:00
rockstardev
5c6643270b
Bugfixing path to crypto image
...
Will need to move all these paths to absolute, rather than relative
2019-05-31 07:48:42 +02:00
Andrew Camilleri
916323bb3b
[WIP] Further abstractions to Payment Handlers ( #867 )
...
* mark items to abstract
wip
wip
wip
wip
wip
wip
wip
cleanup
parse other types
compile and fix tests
fix bug
fix warnings
fix rebase error
reduce payment method handler passings
more cleanup
switch tests to Fast mode
fix obsolete warning
remove argument requirement
rebase fixes
remove overcomplicated code
better parsing
remove dependency on environement
remove async
* fixes and simplification
* simplify
* clean up even more
* replace nuglify dependency
* remove extra space
* Fix tests
* fix booboo
* missing setter
* change url resolver
* reduce payment method handlers
* wrap payment method handlers in a custom type
* fix tests
* make invoice controller UI selectlist population cleaner
* make store controller use payment handler dictionary
* fix ln flag
* fix store controller test
* remove null checks on payment handlers
* remove unused imports
* 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
* Abstract more payment type specific logic to handlers
* fix merge issue
* small fixes
* make use of repository instead of direct context usage
* reduce redundant code
* sanity check
* test fixes
2019-05-30 16:02: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
Nicolas Dorier
512ee16620
Refactor invoice entity to not have to inject the NetworkProvider ( #858 )
2019-05-24 22:22:38 +09:00
Andrew Camilleri
25b08b21fa
Provide Pretty descriptions for payment methods from their handlers ( #852 )
...
* small cleanup
* Provide Pretty descriptions for payment methods from their handlers
* remove PrettyMethod()
2019-05-24 15:38:47 +09:00
Andrew Camilleri
9bee48c601
small cleanup ( #851 )
2019-05-24 15:11:38 +09:00
nicolas.dorier
914eaaaa51
Refactor DerivationStrategy to DerivationSchemeSettings
2019-05-09 00:55:44 +09:00
nicolas.dorier
8973c75bbc
fix build
2019-04-11 10:06:36 +09:00
nicolas.dorier
60cd864226
Inject HttpClient inside lightning client instances
2019-04-11 01:10:46 +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
Kukks
6db9061dd1
add coinswitch shitcoin tax
2019-03-31 18:55:14 +02:00
nicolas.dorier
73d5415ea9
Use NBitcoin's socks implementation
2019-03-31 13:16:05 +09:00
nicolas.dorier
3cce7b8b35
Refactor the lightning listener, some users complain payments are not detected (should fix #676 )
2019-03-27 15:53:38 +09:00
nicolas.dorier
2a302ea346
Do not spam logs if we can't connect to lightning because lightning is not started
2019-03-20 14:35:33 +09:00
nicolas.dorier
014d08f38a
Add socks support on BTCPay Server to query onion endpoints
2019-03-18 00:03:02 +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
6e47babf45
Overpayment of lightning invoice now properly appears ( Fix #486 )
2019-03-14 18:48:05 +09:00
nicolas.dorier
274533bfdf
Fix spot not using HttpClient created by the httpclientfactory
2019-03-07 19:41:20 +09:00
nicolas.dorier
6ba17e8e30
Can filter supported payment methods for an invoice
2019-02-21 19:34:11 +09:00
nicolas.dorier
c071c81403
Pass the whole Entity object to internal InvoiceEvent
2019-02-19 12:08:07 +09:00
nicolas.dorier
4945a640a7
Use PaymentHash of a lightning payment as PaymentId
2019-01-27 13:06:55 +09:00
Steven Horn
b28a547dc4
Grammatical corrections in exception messages
...
Fixed a few grammatical errors in LightningLikePaymentHandler.
2019-01-15 12:21:31 +00:00
Nicolas Dorier
63c309bd12
Merge pull request #499 from Kukks/node-info-page
...
Add Node Info Page
2019-01-07 22:04:08 +09:00
Nicolas Dorier
3cefd7bd1e
Merge pull request #467 from Kukks/feature/coinswitch
...
CoinSwitch Integration
2019-01-07 19:11:55 +09:00
Kukks
12c418d84d
Add Node Info Page
2019-01-07 09:52:27 +01: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
Kukks
fc9cd5bdf0
Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch
2018-12-20 17:57:04 +01:00
Andrew Camilleri
27fa2d5b69
do not add ln payment if amount couldn't be parsed
2018-12-20 09:21:20 +01:00
Kukks
3e2ff55954
Merge remote-tracking branch 'btcpayserver/master' into feature/coinswitch
2018-12-19 10:41:36 +01:00
Kukks
2b4603a234
coinswitch integration
2018-12-18 19:01:58 +01:00