Define PaymentError class even if not using oscar.