Payment form does not calculate the total amount correctly.