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

微信支付没法回调啊 #6

Open
SweetCate opened this issue Mar 4, 2017 · 8 comments
Open

微信支付没法回调啊 #6

SweetCate opened this issue Mar 4, 2017 · 8 comments

Comments

@SweetCate
Copy link

没有在包名下创建WXPayEntryActivity,微信支付成功后没法收到回调信息

@star-andy
Copy link

我看了下也想问 怎么没有创建WXPayEntryActivity

@mayubao
Copy link
Owner

mayubao commented Mar 6, 2017

之前看到WXPayEntryActivity 是实现了 IWXAPIEventHandler接口,之前的时候以为是实现了这个接口就行了。现在还是有点问题。不知道有没有什么方式不用创建 WXPayEntryActivity?? @SweetCate @qinyang1018

@star-andy
Copy link

目前没发现有其他的方法

@mayubao
Copy link
Owner

mayubao commented Mar 6, 2017

在项目中可以调起微信支付,就是没有回调。我去调研一下,看看有没其他方法@qinyang1018

@star-andy
Copy link

WXPayEntryActivity就是用来处理回调的 如果你有好的办法可以分享下

@yeyuqingchen
Copy link

yeyuqingchen commented Mar 8, 2017

WechatPayReq 类收不到回调的原因应该是53行 mWXApi = WXAPIFactory.createWXAPI(mActivity, null);这里没有把app_id放进去 替换成 mWXApi = WXAPIFactory.createWXAPI(mActivity, appId,true);试试

@kailovewei
Copy link

为什么我运行了出现helloworld?而且点击支付宝支付是白的activity,很郁闷

@feer921
Copy link

feer921 commented Mar 16, 2017

@mayubao Lib工程下是无法集成WxPayEntryActivity的,可以参考这个:https://github.com/feer921/CommonPaySdk

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

6 participants