Change() doesn't react with class identifier
I found the answer finally. Since there is no .payment-amount class-having fields at the very beginning, the code couldn't be executed the way I wanted. To prevent this I use:
$('body').on('change', '.payment-amount', function() {
console.log($(this).val());
// rest of code
});