c# - 使用 .net core 验证 in_app_purchase 支付数据
问题描述
如何使用 .net 核心验证后端支付数据,其中支付已使用谷歌支付支付功能在颤振中执行。
我在这个网站上找到了一个描述:https ://developers.google.com/android-publisher/api-ref/purchases/products/get
https://www.googleapis.com/androidpublisher/v3/applications/ packageName /purchases/products/ productId /tokens/ token
我的问题是什么是令牌:在给定的网站上有一个描述: 令牌字符串购买inapp产品时提供给用户设备的令牌。购买应用内商品时提供给用户设备的令牌。
但是此请求必须经过授权,并且我按照此处描述的步骤操作: https ://developers.google.com/android-publisher/authorization 以及当我执行操作时https://accounts.google.com/o/oauth2/auth?scope =https://www.googleapis.com/auth/androidpublisher&response_type=code&access_type=offline&redirect_uri=...&client_id= ... 作为测试我被问及访问权限。
但我将在后端执行此操作!
谢谢,
解决方案
推荐阅读
- javascript - Angular Material 分页器 nextPage 属性
- php - 如何正确回显这些 foreach 数组?
- css - Bootstrap 4 模态打开/关闭导致图像位置改变
- guidewire - 产品型号显示键空指针
- c# - 读取子组件值的最佳实践
- wso2 - WSO2 是 XACML API
- html - 从 div 左侧开始底部边框 20px
- python - Python Flask SQLAlchemy:“无法确定关系方向......对于嵌套关系
- php - PHP:在静态变量或类属性中缓存加载数据的效率如何?
- vue.js - npm 错误!代码 E404 npm 错误!404 未找到:create-install@latest