Fixed undefined index. #765
Allow shop accountants to edit payments. #932
replaced direct calles to get_post_meta for payment meta. #765