Google SDK支付接入IAP,Unity

最近在开发Google广告、支付、登录,这里只说支付。

开始考虑只在unity中添加Google支付,后来出现问题密钥验证失败,后来换成了调用安卓端代码实现支付

参考资料

(Unity,In-APP-Purchasing服务),我没有接入成功(密钥验证失败)

https://blog.csdn.net/qq_39954479/article/details/82085400

(调用安卓,系列教程)

 

Unity3d接入googleplay内购详细说明(一)https://blog.csdn.net/qq15233635728/article/details/44015225

Unity3d接入googleplay内购详细说明(二)https://blog.csdn.net/qq15233635728/article/details/44016403

Unity3d接入googleplay内购详细说明(三)https://blog.csdn.net/qq15233635728/article/details/44017543

Unity3d接入googleplay内购详细说明(四)https://blog.csdn.net/qq15233635728/article/details/44018079

 

Google登录接入(play-games-plugin-for-unity)

https://blog.csdn.net/qq_39954479/article/details/82085345

下载Google插件: https://github.com/playgameservices/play-games-plugin-for-unity  

导入GooglePlayGamesPlugin-0.9.36.unitypackage

 

上面的教学说的比较详细。

可以添加Google支付测试帐号(https://www.jianshu.com/p/af15910535cc),Google直接支付成功(不用花美元)。

下面的错误response:3:Biling Unavailable,(我安装了Google游戏解决了,还更新了GoogleService)

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值