public ActionResult GetPaymentIntent(double amount, string description) { var intent = _stripeService.GetPaymentIntent(new StripeModel { Amount = amount, Description = description }); return(Json(new { _stripeConfig.PublishableKey, intent.ClientSecret })); }