-
Notifications
You must be signed in to change notification settings - Fork 34
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
调用支付接口失败 #15
Comments
你是怎么调用的?方法名写错了吧,应该是大写的 C,weChatPay。😄 |
@zhangshuai 你打印下WeChat,看看包含哪些方法和属性 |
😄,你把你的package.json稍微改下:
不好意思啊,这次添加支付功能忘记发布到npm了。待会发布下。 |
已经发布了,现在安装 0.3.0 应该没这个问题了。 |
可以调用了,谢谢:) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"_reactNativeWechatIos2.default.weChatPay is not a function"
@xiaoyann 调用时候是大写的:)
WeChat.weChatPay(payOptions,(res) => {
console.log(res);
});
直接复制的示例里的代码
The text was updated successfully, but these errors were encountered: