almost finished payment flow
purchase and checkout records are now created
(master)