fix payments.js compile