Removing unused code from payments/views.py