tests passing, payment code in