clean up cart pay functions