modified pay ship form handler to allow dynamic form class