Пример #1
0
 /// <summary>
 /// Asynchronously verifies that the request comes from PayPal and registers it.
 /// </summary>
 /// <param name="payPalRequestString">String of PayPal request.</param>
 public async Task VerifyAndLogAsync(string payPalRequestString)
 {
     if (await _payPalVerificationService.IsVerifiedAsync(payPalRequestString).ConfigureAwait(false))
     {
         await ProcessPayPalRequestAsync(payPalRequestString).ConfigureAwait(false);
     }
 }