solve payment states