Exemple #1
0
        public ActionResult New()
        {
            Models.Stripe model = new Models.Stripe();

            ModelState.Merge((ModelStateDictionary)TempData["ModelState"]);
            Matter matter     = new Matter(User.GetMatterId()).Find();
            var    assessment = matter.GetAssessment();

            model.PaymentEmail = User.GetEmailAddress();

            ViewBag.CompanyName = ConfigurationManager.AppSettings["CompanyName"];

            ViewBag.Assessment     = assessment == null ? "" : string.Format("Be sure to include your {0} Assessment of ${1:0.00} when making your payment.", assessment.Item1, assessment.Item2);
            ViewBag.Disclaimer     = "NOTICE OF LEGAL RIGHTS TO HOMEOWNER:  A homeowners association (‘HOA”) may not foreclose on your home until the amount of your delinquent assessments, NOT including any late charges, fees and costs of collection, attorney’s fees, or interest, is more than $1,800.00 or your assessments are more than twelve (12) months delinquent.  You have the right to make payments of any amount on your outstanding debt, regardless of whether you are in a payment plan.  The HOA must apply your payments to your actual assessment debt before they are applied to any late charges, fees and costs of collection, attorney’s fees, or interest.  If your delinquent assessments are below $1,800.00 or are less than twelve (12) months delinquent, the HOA may not foreclose but may still file a lawsuit in court to recover any delinquent assessments and additional amounts that are lawfully due.";
            ViewBag.ConvenienceFee = string.Format("Convenience Fee: 3.5% + $0.30 per transaction.  To avoid paying a convenience fee, please mail a check to {0}, {1}", ConfigurationManager.AppSettings["CompanyName"], ConfigurationManager.AppSettings["CompanyAddress"]);
            return(View(model));
        }