Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use my order number? #2

Open
lgw666 opened this issue Apr 28, 2017 · 1 comment
Open

How can I use my order number? #2

lgw666 opened this issue Apr 28, 2017 · 1 comment

Comments

@lgw666
Copy link

lgw666 commented Apr 28, 2017

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"?

@xiong-it
Copy link
Owner

xiong-it commented May 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants