Implemented checkout and payment functionalities.