首页 > 解决方案 > 使用 .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= ... 作为测试我被问及访问权限。

但我将在后端执行此操作!

在此处输入图像描述

谢谢,

标签: c#flutter.net-coregoogle-pay

解决方案


推荐阅读