renamed paymentMethod to paymentType