This commit is contained in:
Paul Schneider 2018-12-27 22:23:02 +00:00
commit acff3b72b6
8 changed files with 68 additions and 66 deletions

View file

@ -89,10 +89,12 @@ namespace Yavsc.Controllers
paymentOk = true;
command.ValidationDate = DateTime.Now;
}
else _logger.LogError
("This Command were yet validated, and is now paied one more ...");
}
await _context.SaveChangesAsync(User.GetUserId());
SetViewBagPaymentUrls(id);
if (command.PerformerProfile.AcceptPublicContact && paymentOk)
if (paymentOk)
{
MessageWithPayloadResponse grep = null;
var yaev = command.CreatePaymentEvent(paymentInfo, _localizer);
@ -118,10 +120,6 @@ namespace Yavsc.Controllers
yaev.CreateBody()
);
}
else
{
// TODO if (AcceptProContact) try & find a bookmaker to send him this query
}
ViewData["Notify"] = new List<Notification> {
new Notification {