Browse Source

Remove Timeout logic from Web

pull/69/head
enisn 5 years ago
parent
commit
647447fabd
  1. 5
      modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs

5
modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml.cs

@ -36,11 +36,6 @@ namespace Payment.Web.Pages.Payment
{
PaymentRequest = await _paymentRequestAppService.GetAsync(PaymentRequestId);
if (PaymentRequest.CreationTime.AddMinutes(15) >= Clock.Now)
{
throw new UserFriendlyException("Payment requiest is timed out.");
}
var result = await _paymentRequestAppService.StartPaymentAsync(new StartPaymentDto
{
PaymentRequestId = PaymentRequest.Id,

Loading…
Cancel
Save