Umar Bolatov
d1ea4e4fa4
Fix bug with top-up invoices when used with "Only enable the payment method after user explicitly chooses it" enabled ( #2780 )
...
* Fix bug with top-up invoices when used with "Only enable the payment method after user explicitly chooses it" enabled
* Remove unused "using" directives
* Add "#nullable enable" directive
* check for top-up invoice in LightningLikePaymentHandler
2021-08-23 15:13:26 +09:00
nicolas.dorier
cf7c3c2bf7
LightningSupportedPaymentMethod.CryptoCode is never null
2021-06-14 18:22:00 +09:00
Umar Bolatov
3d21d2724e
Fix bug with LN payment method API endpoint throwing 500 ( #2567 )
...
close #2566
2021-06-14 18:19:52 +09:00
Nicolas Dorier
e93b030bfe
Update HWI library, warn users to run newer version ( #2544 )
...
* Update HWI library, warn users to run newer version
* Update BTCPayServer/wwwroot/js/vaultbridge.ui.js
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com>
* Update BTCPayServer/wwwroot/js/vaultbridge.ui.js
Co-authored-by: Pavlenex <pavle@pavle.org>
Co-authored-by: Zaxounette <51208677+Zaxounette@users.noreply.github.com>
Co-authored-by: Pavlenex <pavle@pavle.org>
2021-06-06 21:02:15 +09:00
d11n
ed7031981b
Bootstrap v5 migration ( #2490 )
...
* Swap bootstrap asset files
* Update themes and color definitions
* Move general bootstrap customizations
* Theme updates
Theme updates
* Remove BuildBundlerMinifier
This lead to an error, because BuildBundlerMinifier and BundlerMinifier.Core seem to conflict here. Details: https://stackoverflow.com/a/61119586
* Rewplace btn-block class with w-100
* Update badge classes
* Remove old font family head variable
* Update margin classes
* Cleanups
* Update float classes
* Update text classes
* Update padding classes
* Update border classes
* UPdate dropdown classes
* Update select classes
* Update neutral custom props
* Update bootstrap and customizations
* Update ChromeDriver; disable smooth scroll
https://github.com/SeleniumHQ/selenium/issues/8295
* Improve alert messages
* Improve bootstrap customizations
* Disable reduced motion
See also 7358282f
* Update Bootstrap data attributes
* Update file inputs
* Update input groups
* Replace deprecated jumbotron class
* Update variables; re-add negative margin util classes
* Update cards
* Update form labels
* Debug alerts
* Fix aria-labelledby associations
* Dropdown-related test fixes
* Fix CanUseWebhooks test
* Test fixes
* Nav updates
* Fix nav usage in wallet send and payouts
* Update alert and modal close buttons
* Re-add backdrop properties
* Upgrade Bootstrap to v5 final
* Update screen reader classes
* Update font-weight classes
* Update monospace font classes
* Update accordians
* Update close icon usage
* Cleanup
* Update scripts and style integrations
* Update input group texts
* Update LN node setup page
* Update more form control classes
* Update inline forms
* Add js specific test
* Upgrade Vue.js
* Remove unused JS
* Upgrade Bootstrap to v5.0.1
* Try container related test updates
* Separate jQuery bundle
* Remove jQuery from LND seed backup page
* Remove unused code
* Refactor email autofill js
* Refactor camera scanner JS
* Re-add tests
* Re-add BuildBundlerMinifier
* Do not minify bundles containing Bootstrap
Details https://github.com/madskristensen/BundlerMinifier/issues/558
* Update bundles
* Cleanup JS test
* Cleanup tests involving dropdowns
* Cleanup tests involving collapses
* Cleanup locale additions in ConfigureCore
* Cleanup bundles
* Remove duplicate status message
* Cleanup formatting
* Fix missing validation scripts
* Remove unused unminified Bootstrap js files
* Fix classic theme
* Fix Casa theme
* Fix PoS validation
2021-05-19 11:39:27 +09:00
Andrew Camilleri
778a0f7e8d
Fix: Lightning Listener not listening on Lightning payment after activating when using lazy payments ( #2524 )
2021-05-14 17:17:07 +09:00
Andrew Camilleri
64e34d0ef5
Seaparate CoinSwitch as a plugin ( #2390 )
...
* Separate coinswitch as a system plugin
* Decouple Coinswitch from Checkout UI
* remove dummy csproj
* Remove CoinSwitchTests.cs per @NicolasDorier feedback
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
2021-04-13 20:19:48 +09:00
xpayserver
475809b1a0
Make Invoice Create Faster And Fix Gap Limit Issue ( #1843 )
...
* Make Invoice Create Faster And Fix Gap Limit Issue
This make address reserve only when user "activate" paymet method in ui. optional setting in store checkout ui.
* Fix swagger documentation around Lazy payment methods
* fix changed code signature
* Add missing GreenField API for activate feature
* Fix checkout experience styling for activate feature
* Fix issue with Checkout activate button
* Make lightning also work with activation
* Make sure PreparePaymentModel is still called on payment handlers even when unactivated
* Make payment link return empty if not activated
* Add activate payment method method to client and add test
* remove debugger
* add e2e test
* Rearranging lazy payments position in UI to be near dependent Unified QR code
* fix rebase conflicts
* Make lazy payment method mode activate on UI load.
Co-authored-by: Kukks <evilkukka@gmail.com>
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
Co-authored-by: Andrew Camilleri <kukks@btcpayserver.org>
2021-04-07 13:08:42 +09:00
Nicolas Dorier
7e714f1ef8
Refactor how we handle and validate LN ConnectionStrings ( #2314 )
...
* Refactor how we handle and validate LN ConnectionStrings
* Migrate existing connection string to Internal Node if they are the same. Cleanup some obsolete fields
* Fix typos, remove duplicated method
* Add a InternalNodeRef to LightningSupportedPaymentMethod
2021-03-02 11:11:58 +09:00
nicolas.dorier
18e68d04f9
Rename invoice states and payment states
2020-11-23 18:28:35 +09:00
Nicolas Dorier
e72becdfcb
Merge branch 'master' into separate-ln-bitcoin-checkout-part2
2020-11-19 12:44:01 +09:00
Nicolas Dorier
4bd97eecc9
Merge pull request #2050 from Kukks/separate-btc-ln-checkout
...
Separate views of Bitcoin and LN
2020-11-19 12:42:17 +09:00
Dennis Reimann
ec31a4fe17
Improve Lightning node info view ( #2066 )
...
* Cleanups
* Add store name
* Unify js/non-js HTML
2020-11-17 08:57:14 +01:00
Kukks
e021d42551
Ensure that there is no LN/Bitcoin specific logic in the Invoice UI endpoint
2020-11-06 11:09:17 +01:00
Kukks
a729dd1380
Separate views of Bitcoin and LN
2020-11-06 09:35:26 +01:00
Andrew Camilleri
e3a0fe88c1
Fix LN invoices ( #1955 )
...
* Fix LN invoices
This commit adds more to the previous LN fix in the case of a partial payment to an invoice. While it generated a new LN invoice after 1 partial payment was made, there were some new issues uncovered:
* Any other subsequent partial payments was not listened to and did not generate an invoice ( fixed by listeneing to received payment event and makng sure that the status was already set `to partialPaid`)
* Any other subsequent partial payments caused a DbConcurrency error and did not generate an invoice ( Fixed in `MarkUnassigned`)
2020-10-17 08:57:21 +02:00
nicolas.dorier
f28a898053
Fix building error
2020-09-30 20:54:17 +09:00
Nicolas Dorier
a66578c46d
Merge pull request #1871 from xpayserver/feat/payment-method-criteria
...
Add Value Criteria For Payment Method
2020-09-30 20:40:31 +09:00
Nicolas Dorier
e45dcf61c4
Merge pull request #1831 from btcpayserver/add-btc-index
...
Show index of payment address for onchain payments
2020-09-30 18:35:51 +09:00
Kukks
d1efddd312
Make sure lightning listener is listening to new bolt11 invoices for partially paid btcpay invoices and that all payments are registered to the invoice.
2020-09-24 12:18:19 +02:00
Kukks
0819df3d26
Ensure new bolt11 invoice on partial payment to btcpay invoice
2020-09-22 11:30:18 +02:00
XPayServer
e276443d2d
Add Value Criteria For Payment Method
...
I upgrade lightning max/bitcoin min to support better control in store. Now can have setting only enable specific payment method only if value high/low I think make code simple more too and backward compatible
2020-09-22 11:20:44 +02:00
Kukks
8e8415515d
Show index of payment address for onchain payments
2020-09-16 11:49:37 +02:00
nicolas.dorier
b2ff041ec0
Create Metadata property for InvoiceEntity, migrate all data without logic there
2020-08-26 21:36:31 +09:00
Kukks
d96bd15b3b
add status and refactor
2020-08-26 21:36:30 +09:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de
Cleaning up bom from cs files
2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09:00
Andrew Camilleri
79b034b505
GreenField: Add properties to Store API ( #1573 )
...
* GreenField: Add properties to Store API
* Update StoreBaseData.cs
* fix api
* fix swagger
2020-05-24 04:13:18 +09:00
rockstardev
ca3acdacdc
Setting PriveRoute hints when creating lightning invoices
2020-05-19 16:47:26 -05:00
Andrew Camilleri
f410f7d4d1
Hide LN option for liquid Assets ( #1512 )
...
Was getting a bit crowded for stuff that isn't supported yet.
2020-04-27 18:15:38 +09:00
nicolas.dorier
fd026a9733
Refactor server-side
2020-04-05 12:02:36 +09:00
rockstardev
bb12d37416
Displaying sats in a more user-friendly way (space as group separator) ( #1306 )
...
Fix : #1146
2020-01-27 19:57:46 +09:00
Andrew Camilleri
54c7c0d696
Add currency precision based on network ( #1294 )
2020-01-21 22:28:13 +09:00
Matt Pazar
eb85b1a7b4
Fixing sats exchange rate display
...
Fixed #1147
2019-12-04 14:21:33 -06:00
Kukks
621a7d998d
Display proper rate for ln sats feature
...
fixes #1128
2019-11-10 18:49:24 +01:00
nicolas.dorier
4f1b4131cb
Add more logs on hosted service exit
2019-10-21 14:03:55 +09:00
Nicolas Dorier
d56a5ad86e
Merge pull request #1076 from bolatovumar/feat-1036
...
Add option to show recommeded fee on checkout invoice
2019-10-18 12:13:39 +09:00
nicolas.dorier
cd5cc6435c
make lightning scheme lowercase ( Fix #1091 )
2019-10-17 00:52:19 +09:00
Umar Bolatov
c908301b84
Add option to show recommeded fee on checkout invoice
...
Address #1036
2019-10-14 10:09:26 -07:00
Kukks
59839a3332
make sure networks are abstracted properly
2019-09-21 16:39:44 +02:00
nicolas.dorier
0823a3e0dc
Remove warnings
2019-09-20 17:35:55 +09:00
nicolas.dorier
41d714e2ce
Revert "Share same browser for all selenium tests"
...
This reverts commit 2ce0749bb6
.
2019-09-11 16:22:41 +09:00
nicolas.dorier
2ce0749bb6
Share same browser for all selenium tests
2019-09-11 15:36:12 +09: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
f8427eb801
Fix "Do not propose lightning payment if value of the invoice is above..." take care of the GAP edge case where OnChainMinValue > LightningMaxValue
2019-08-02 14:14:54 -04:00