1. fix bugs
2. add payment apis