Don't use SendGrid in test and dev environments.
Removed/deflected logging from the payment failure.

I could only get the info logged by using puts, but we don't want it in
our test output, so for now just hope we fixed everything and/or logging
starts working on production somehow.
Merged new code with test fixes.