Fix typo on function call
Add missing char on payments.js