Fix the bug of  calculating payment

Fix the bug of  calculating payment, fix the sync data of adding NP
number.