Nicolas Dorier
090da6cfb6
Add configurable BOLT11Expiration for refunds ( Fix #3281 ) ( #3341 )
...
* Add configurable BOLT11Expiration for refunds (Fix #3281 )
* Add BOLT11Expiration configuration in Payment
2022-01-24 20:17:09 +09:00
nicolas.dorier
23a96c07ae
Rename GreenField -> Greenfield
2022-01-14 13:46:04 +09:00
nicolas.dorier
7a787fc945
Rename UI controllers
2022-01-14 13:46:03 +09:00
nicolas.dorier
ce43de0c57
Rename greenfield controllers
2022-01-14 12:21:06 +09:00
Nicolas Dorier
708f8b49df
[Greenfield] Let non-admin update LN payment method with internal node if it is unchanged ( Fix #2860 ) ( #3288 )
2022-01-11 23:38:05 +09:00
Nicolas Dorier
7444bd06e4
[Greenfield] Fix create/update payment requests expiry field and allow null currency field ( Fix #3222 ) ( #3284 )
2022-01-11 18:42:44 +09:00
Nicolas Dorier
0017e687db
A store's guest should be able to manage lightning invoices ( Fix #3212 ) ( #3283 )
2022-01-11 17:22:10 +09:00
nicolas.dorier
6999abe1ca
Rename WebhookNotificationManager -> WebhookSender
2022-01-11 13:21:38 +09:00
nicolas.dorier
03af471f65
Improve error message for create store wallet transaction ( Fix #3256 )
2022-01-10 11:59:13 +09:00
Nicolas Dorier
04b8eafacb
Run dotnet format ( #3244 )
2021-12-31 16:59:02 +09:00
nicolas.dorier
c0e9f91bdc
Fix warnings
2021-12-27 13:58:18 +09:00
Nicolas Dorier
02419dcdd1
Migrate to .net6.0 ( #3198 )
2021-12-27 13:15:43 +09:00
Wouter Samaey
82b4debcac
Renamed Payment Request "Created" field to "CreatedTime" for consistancy since we already have a breaking change ( #3230 )
2021-12-23 14:48:10 +01:00
Andrew Camilleri
5f5f71bf37
Normalize greenfield responses for 404s ( #3220 )
2021-12-23 13:32:08 +09:00
Wouter Samaey
f63a9ed1a0
Added field "StoreId" to a Payment Request in Greenfield
2021-12-22 16:17:35 +01:00
Wouter Samaey
f4bde164bf
Changed API policy for calculating feeRate ( #3217 )
2021-12-20 11:16:23 +01:00
Wouter Samaey
6de4f6a3ac
Mention the missing API permission in the response of a Greenfield request ( #3195 )
...
* Mention the missing API permission in the response header or body
* Fixes + Added a unit test. 1 TODO remains.
* Added MissingPermissionDescription to the error
* Update BTCPayServer.Tests/GreenfieldAPITests.cs
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
* Fix tests
* [GreenField]: Make sure we are sending fully typed errors
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-16 23:04:06 +09:00
nicolas.dorier
4f7eeea14e
Greenfield: Improve error message, do not use internal lightning node on store's lightning API
2021-12-16 14:27:34 +09:00
Samuel Adams
9b730e784f
Add pagination for API GetNotifications ( #3145 )
2021-11-26 11:55:59 +09:00
nicolas.dorier
35aad4ebf9
Remove Logs static singletons
2021-11-23 13:55:34 +09:00
Nicolas Dorier
c01fae5fcd
Bump LND ( #3130 )
2021-11-20 22:41:35 +09:00
Umar Bolatov
d5c38ef336
Add crypto code for invoice and pull payment payout API response ( #3099 )
...
* Add "cryptoCode" for invoice payment method API endpoint response
* Add "cryptoCode" for pull payment payout API endpoint response
* Add "#nullable enable" to GreenFieldInvoiceController
* Add "#nullable enable" to GreenfieldPullPaymentController
2021-11-15 14:25:59 +09:00
nicolas.dorier
f3e9e2ec5f
Fix: Creating a new invoice in payment request with LNURL activated would crash
2021-11-04 18:03:54 +09:00
Kukks
51f0c2a5f8
Apply better messages
2021-11-04 08:53:44 +01:00
Troy Anderson
4f235e1d62
resolves Issue #3042 add archive status to invoice response ( #3043 )
2021-11-01 15:53:33 +09:00
Troy Anderson
8fed8f77ad
PR for Issue #3038 adds params for getInvoices pagination ( #3039 )
...
* ##3038 add pagination elements
* correct skip to take
* updated swagger docs
* set take nullable to true
2021-10-31 19:47:12 +09:00
nicolas.dorier
ccd8859d7f
Add missing attribute for textSearch in get invoice
2021-10-29 22:27:21 +09:00
Umar Bolatov
8f117b5079
Add ability to require refund email from app level ( #3013 )
...
* Add ability to require refund email from app level
* Add ability request refund email when creating invoice manually
* Adjust labels
* Add UI tests
* Add Greenfield API support
* Rename RequiresRefundEmailType to RequiresRefundEmail
* Fix build
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-10-27 23:32:56 +09:00
Kukks
1ecd1c1e54
LNURL: Add missing logic from lnurl merges and rebases
2021-10-26 14:08:09 +02:00
Andrew Camilleri
951bfeefb1
LNURL Payment Method Support ( #2897 )
...
* LNURL Payment Method Support
* Merge recent Lightning controller related changes
* Fix build
* Create separate payment settings section for stores
* Improve LNURL configuration
* Prevent duplicate array entries when merging Swagger JSON
* Fix CanSetPaymentMethodLimitsLightning
* Fix CanUsePayjoinViaUI
* Adapt test for new cancel bolt invoice feature
* rebase fixes
* Fixes after rebase
* Test fixes
* Do not turn LNURL on by default, Off-Chain payment criteria should affects both BOLT11 and LNURL, Payment criteria of unset payment method shouldn't be shown
* Send better error if payment method not found
* Revert "Prevent duplicate array entries when merging Swagger JSON"
This reverts commit 5783db9eda
.
* Fix LNUrl doc
* Fix some warnings
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2021-10-25 15:18:02 +09:00
Samuel B. Atwood
0558631982
Improve store/selectlist labeling ( #3014 )
2021-10-25 13:15:08 +09:00
Nicolas Dorier
86e528e5df
Use NBitcoin's Network.UriScheme rather than our own ( #3005 )
2021-10-23 14:47:15 +09:00
Nicolas Dorier
4cf3249e0b
Add ability to set default currency for a store ( #2998 )
2021-10-20 23:17:40 +09:00
Nicolas Dorier
3d3016fdca
Fix fallback logic for default payment method ( #2986 )
2021-10-18 16:56:47 +09:00
Nicolas Dorier
262798d577
Refactor by adding extension FindPayoutHandler ( #2984 )
2021-10-18 15:00:38 +09:00
Andrew Camilleri
cf206e64a7
Add Lightning payout support ( #2517 )
...
* Add Lightning payout support
* Adjust Greenfield API to allow other payment types for Payouts
* Pull payment view: Improve payment method select
* Pull payments view: Update JS
* Pull payments view: Table improvements
* Pull payment form: Remove duplicate name field
* Cleanup Lightning branch after rebasing
* Update swagger documnetation for Lightning support
* Remove required requirement for amount in pull payments
* Adapt Refund endpoint to support multiple playment methods
* Support LNURL Pay for Pull Payments
* Revert "Remove required requirement for amount in pull payments"
This reverts commit 96cb78939d43b7be61ee2d257800ccd1cce45c4c.
* Support Lightning address payout claims
* Fix lightning claim handling and provide better error messages
* Fix tests
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-10-18 12:37:59 +09:00
Andrew Camilleri
d64fb15ac2
Greenfield: Provide negative undue when overpaid. ( #2936 )
...
* Greenfield: Provide negative undue when overpaid.
closes #2935
* Invoice's due can be negative, fix Amount field of invoice
* Update swagger.template.invoices.json
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-10-15 14:23:34 +09:00
Andrew Camilleri
7bcaf956e7
Grerenfield: Add availableStatusesForManualMarking
to Invoice Data ( #2934 )
...
closes ##2933
2021-10-06 18:19:34 +09:00
Andrew Camilleri
6e3d6125c2
Payment Settled Webhook event ( #2944 )
...
* Payment Settled Webhook event
resolves #2691
* Move payment methods to payment services
2021-10-05 18:10:41 +09:00
Kukks
a3c2a9ac61
Censor based on permissions
2021-10-04 17:06:11 +02:00
Wouter Samaey
7cad6302b7
Fixed wrong API permission
...
Viewing store payment methods needs CanViewStoreSettings instead of CanModifyStoreSettings as per the docs
2021-10-04 17:06:11 +02:00
Kukks
ed1ec2300d
Remove Coinswitch entirely
2021-09-28 10:33:11 +02:00
Andrew Camilleri
9f6c7180b2
Greenfield quality of life improvements from feedback ( #2880 )
...
* Greenfield quality of life improvements from feedback
fix #2854
* Greenfield quality of life improvements from feedback
fix #2855
2021-09-25 14:04:34 +09:00
Umar Bolatov
5cba59932b
Add ability to specify default payment method through Greenfield API
2021-09-16 07:29:18 +02:00
Umar Bolatov
748423dfe8
Add UpdateOnChainPaymentMethodRequest
2021-09-02 10:42:41 +02:00
Umar Bolatov
2f4e610900
Add UpdateLightningNetworkPaymentMethodRequest
2021-09-02 10:42:41 +02:00
Umar Bolatov
d39ec97b9a
Remove "enabled" option from address preview endpoint
2021-09-02 10:42:41 +02:00
Nicolas Dorier
4c818d0359
Implement topup invoices ( #2730 )
2021-08-03 17:03:00 +09:00
Nicolas Dorier
a9da79cc58
Use PaymentUrlBuilder for ensuring proper formatting of BIP21 addresses ( #2723 )
2021-07-30 18:47:02 +09:00
Nicolas Dorier
6ea96efe68
Update NBitcoin, fix warnings on nullable ( #2718 )
2021-07-29 20:29:34 +09:00