An error occurred...

Invalid value passed to getPayment function