mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Fix Token permissions (merchant facade > pos facade) + Add IPN + Add Hangfire integration
This commit is contained in:
@@ -29,7 +29,7 @@ namespace BTCPayServer.Controllers
|
||||
if(invoice == null)
|
||||
return NotFound();
|
||||
var store = await _StoreRepository.FindStore(invoice.StoreId);
|
||||
var dto = EntityToDTO(invoice);
|
||||
var dto = invoice.EntityToDTO(_ExternalUrl);
|
||||
|
||||
var model = new PaymentModel()
|
||||
{
|
||||
@@ -163,7 +163,7 @@ namespace BTCPayServer.Controllers
|
||||
PosData = model.PosData,
|
||||
OrderId = model.OrderId,
|
||||
//RedirectURL = redirect + "redirect",
|
||||
//NotificationURL = CallbackUri + "/notification",
|
||||
NotificationURL = model.NotificationUrl,
|
||||
ItemDesc = model.ItemDesc,
|
||||
FullNotifications = true,
|
||||
BuyerEmail = model.BuyerEmail,
|
||||
|
||||
Reference in New Issue
Block a user