Fix bug in process payment for ym