How to handle payment types with varying properties in the most elegant way.
- by Byron Sommardahl
I'm using ASP.NET MVC 2.
Keeping it simple, I have three payment types: credit card, e-check, or "bill me later". I want to:
choose one payment type
display some fields for one payment type in my view
run some logic using those fields (specific to the type)
display a confirmation view
run some more logic using those fields (specific to the…