fix coupon code on checkout payment

this should be applied to master aswell