Trying to fix defect connected with payment failure