mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
send notification IPNs on bitpay invoice
This commit is contained in:
@ -15,7 +15,7 @@ namespace Bit.Core.Models.Api
|
||||
public string Name { get; set; }
|
||||
public string Email { get; set; }
|
||||
|
||||
public NBitpayClient.Invoice ToBitpayClientInvoice()
|
||||
public NBitpayClient.Invoice ToBitpayClientInvoice(GlobalSettings globalSettings)
|
||||
{
|
||||
var inv = new NBitpayClient.Invoice
|
||||
{
|
||||
@ -27,7 +27,10 @@ namespace Bit.Core.Models.Api
|
||||
{
|
||||
email = Email,
|
||||
Name = Name
|
||||
}
|
||||
},
|
||||
NotificationURL = globalSettings.BitPay.NotificationUrl,
|
||||
FullNotifications = true,
|
||||
ExtendedNotifications = true
|
||||
};
|
||||
|
||||
var posData = string.Empty;
|
||||
|
Reference in New Issue
Block a user