partial implementation for payments