微信IP
Closed this issue · 23 comments
yanshihao3 commented
微信支付,需要用 package 包名,如何动态改变
xujiaji commented
微信支付需要签名和包名
详细请参照:
https://blog.xujiaji.com/post/android-project-one-for-more
yanshihao3 commented
微信支付需要 的是 配置文件AndroidManifest.xml中声明的package值 ,如何 更改这个和 applicationId 一致
xujiaji commented
不必要改,AndroidManifest.xml中的package只看做路径就可以了,包名就是applicationId。我用这种方式打包后的微信支付是没有问题的
yanshihao3 commented
问题 是 我现在 支付不会回调 WXPayEntryActivity 这个 类
yanshihao3 commented
xujiaji commented
xujiaji commented
原来还可以改路径666, 不过真没有必要。我打包的app微信支付都可以用的。你参照我上面的写法,设置别名的方式
yanshihao3 commented
好的,我试试。谢谢
yanshihao3 commented
成功了,非常感谢,谢谢
xujiaji commented
👏
everyline commented
图片看不到咋办
xujiaji commented
@everyline 哪里的图片看不到?
everyline commented
GitHub上传的图片
…------------------ 原始邮件 ------------------
发件人: "Xu Jiaji"<notifications@github.com>;
发送时间: 2020年1月16日(星期四) 下午2:54
收件人: "xujiaji/OneForAllApk"<OneForAllApk@noreply.github.com>;
抄送: "746608431"<746608431@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [xujiaji/OneForAllApk] 微信IP (#1)
@everyline 哪里的图片看不到?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
xujiaji commented
@everyline 如果是Github上面的图片看不到的话,看看这篇文章的图片能看到不 https://blog.xujiaji.com/post/android-project-one-for-more
everyline commented
xujiaji commented
微信能调用,只是微信支付异常?
everyline commented
是的 微信分享正常 qq 分享正常 只是支付宝和微信支付异常
…------------------ 原始邮件 ------------------
发件人: "Xu Jiaji"<notifications@github.com>;
发送时间: 2020年1月16日(星期四) 下午4:43
收件人: "xujiaji/OneForAllApk"<OneForAllApk@noreply.github.com>;
抄送: "746608431"<746608431@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [xujiaji/OneForAllApk] 微信IP (#1)
微信能调用,只是微信支付异常?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
xujiaji commented
微信支付没有开通?
xujiaji commented
看看提示的什么错误
everyline commented
开了 以前都是正常的 只是现在只是多包名打包而已
…------------------ 原始邮件 ------------------
发件人: "Xu Jiaji"<notifications@github.com>;
发送时间: 2020年1月16日(星期四) 下午4:44
收件人: "xujiaji/OneForAllApk"<OneForAllApk@noreply.github.com>;
抄送: "746608431"<746608431@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [xujiaji/OneForAllApk] 微信IP (#1)
微信支付没有开通?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
xujiaji commented
签名配置对应上吗?异常提示是什么
everyline commented
我看了下 有可能是微信支付改了配置
…------------------ 原始邮件 ------------------
发件人: "Xu Jiaji"<notifications@github.com>;
发送时间: 2020年1月16日(星期四) 下午4:51
收件人: "xujiaji/OneForAllApk"<OneForAllApk@noreply.github.com>;
抄送: "746608431"<746608431@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [xujiaji/OneForAllApk] 微信IP (#1)
签名配置对应上吗?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
everyline commented
原来是微信支付 body 限制 128个字符 导致支付异常
…------------------ 原始邮件 ------------------
发件人: "Xu Jiaji"<notifications@github.com>;
发送时间: 2020年1月16日(星期四) 下午4:51
收件人: "xujiaji/OneForAllApk"<OneForAllApk@noreply.github.com>;
抄送: "746608431"<746608431@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [xujiaji/OneForAllApk] 微信IP (#1)
签名配置对应上吗?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.