Exemple #1
0
        public async Task <IActionResult> ConfirmPaymentIntent()
        {
            var json = await new StreamReader(HttpContext.Request.Body).ReadToEndAsync();

            await _reservationService.ConfirmPayment(json, Request.Headers["Stripe-Signature"]);

            return(Ok());
        }