示例#1
0
        public async Task <PaymentProcessed> VerifyRequest([ActivityTrigger] string reqBody, ILogger log)
        {
            log.LogInformation("Started VerifyRequest");
            var result = await PaypalService.VerifyRequestAsync(reqBody);

            log.LogInformation(result.IsSuccess.ToString());
            log.LogInformation(result.Error);
            log.LogInformation("Exited VerifyRequest");

            return(result.Result);
        }