start work on payment tolerance feature

This commit is contained in:
Andrew Camilleri
2018-05-04 16:15:34 +02:00
parent 8a4da361fd
commit c3d73236e0
9 changed files with 44 additions and 4 deletions

View File

@@ -98,6 +98,7 @@ namespace BTCPayServer.Controllers
entity.ExtendedNotifications = invoice.ExtendedNotifications;
entity.NotificationURL = notificationUri?.AbsoluteUri;
entity.BuyerInformation = Map<Invoice, BuyerInformation>(invoice);
entity.PaymentTolerance = storeBlob.PaymentTolerance;
//Another way of passing buyer info to support
FillBuyerInfo(invoice.Buyer, entity.BuyerInformation);
if (entity?.BuyerInformation?.BuyerEmail != null)