Change jQuery .attr() to .prop() in checkout