EasyPay icon indicating copy to clipboard operation
EasyPay copied to clipboard

How can I use my order number?

Open lgw666 opened this issue 7 years ago • 1 comments

As usual, I get an order number from server and put it to payment client and send a payment request. The question is that how I can use this order number through your "EasyPay"?

lgw666 avatar Apr 28 '17 00:04 lgw666

很抱歉,这个项目并不是一个纯library,并不能开箱即用,但它却可以帮助开发者减少工作量。你需要定制化修改io.github.xiong_it.easypay.pay.paystrategy 包下的ALiPayStrategyWeChatPayStrategy支付策略,在策略中使用你得到的预支订单号(假设你说的order nubmer是预支付订单信息)。但是当你需要把订单号返回给客户端时,你需要修改定制io.github.xiong_it.easypay.callback.OnPayResultListener。希望可以解答你的疑问,如果还有疑问,可以直接用中文答复。:)

xiong-it avatar May 04 '17 12:05 xiong-it