Exemple #1
0
 public IActionResult CalculateACHFee(decimal amount)
 {
     try
     {
         var fee = StripeService.CalculateTransactionFee(amount);
         return(Json(new { success = true, data = fee }));
     }
     catch (Exception ex)
     {
         return(Json(new { success = false, error = ex.Message }));
     }
 }