public IActionResult Post() { AydenItem item = new AydenItem { EncryptedPersonalAndPaymentData = HttpContext.Request.Form["adyen-encrypted-data"], Amount = 5000, Currency = "GBP" }; var a = _aydenRepository.Add(item); a.RequestPaymentFulfilment(); _aydenRepository.Update(a); return(RedirectToAction("Index", "Summary")); }
public RequestPaymentCompletedEvent(AydenItem paymentFromUser) { SettledPayment = paymentFromUser; }