add specs for the checkout controller, refactored paga_notification and transaction