Payment calculation stops when I change my form