add code in controller to charge credit cards with stripe
debug code, fixed typo