Example of using db behaviours for payments