Chacks for success and refund added + statuses made as constants