Add payment_erors class and a migration