rewrite alipay