Payment functionality implemented