Kukks
f3aa67e0f1
make invoice repository able to query more extensively
2019-09-21 17:07:48 +02:00
Kukks
59839a3332
make sure networks are abstracted properly
2019-09-21 16:39:44 +02:00
Andrew Camilleri
7ab97311be
Re-enable lightning sats feature through C# ( #1014 )
2019-09-11 14:49:06 +09:00
nicolas.dorier
f257f9f91d
[Refactor] Move SQL classes in their own assembly
2019-08-30 18:22:13 +09:00
nicolas.dorier
6d4ea6a951
simplify code
2019-08-03 21:52:47 +09:00
HugoDoyon
56e5acfb65
Simplified version, with less validation
2019-08-02 14:14:54 -04:00
HugoDoyon
6b777878e3
Add test to cover all case and fix small issue
2019-08-02 14:14:54 -04:00
HugoDoyon
428c7c5444
Fix "Do not propose on chain payment if the value of the invoice is below..." and take care of the GAP edge case
2019-08-02 14:14:54 -04:00
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
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
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
nicolas.dorier
914eaaaa51
Refactor DerivationStrategy to DerivationSchemeSettings
2019-05-09 00:55:44 +09:00
nicolas.dorier
c071c81403
Pass the whole Entity object to internal InvoiceEvent
2019-02-19 12:08:07 +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
93113fd871
Fix payment exports to reflect correctly payment data, rename fields.
2018-12-18 21:35:52 +09:00
nicolas.dorier
9209984a2f
Remove useless argument from GetInvoice
2018-12-06 17:05:27 +09:00
nicolas.dorier
0096ec1d12
bump nbxplorer
2018-11-21 20:41:51 +09:00
nicolas.dorier
93cefced80
bump .NET core and dependencies
2018-10-31 13:03:12 +09:00
nicolas.dorier
9c30476fc8
Making BTCPayServer a bit faster when creating invoices
2018-08-21 13:54:52 +09:00
nicolas.dorier
ce17e3212a
Can delete stores
2018-07-19 19:31:17 +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
8e4943df65
low-medium speed policy
2018-05-11 22:12:45 +09:00
nicolas.dorier
bba268b5e2
Upgrade to .NET Core 2.1
2018-05-08 17:57:53 +09:00
nicolas.dorier
d7cb6f1cca
Add a way to customize lightning invoice description
2018-04-07 16:27:46 +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
6806d96baa
Listen to all derivation schemes
2018-03-12 19:02:03 +09:00
nicolas.dorier
303a617f9e
Improve invoice.cshtml display if offchain payment is present
2018-03-06 16:37:25 -05:00
practicalswift
649497e54f
Fix typos
2018-03-01 15:11:30 +01:00
nicolas.dorier
3d33ecf397
make IsAvailable async
2018-02-23 16:09:15 +09:00