fix payment authorization. related to gh-256