refactor alipay process