我正在使用 google play 开发者 API,因此在用户购买产品后,我想在服务器端获取该购买的详细信息,因此我使用 google play 开发者 api 来获取该信息,但不幸的是,该 API 不会返回任何信息用户支付了多少费用(价格和货币)的信息 API 仅返回以下信息
{
"kind": "androidpublisher#productPurchase",
"purchaseTimeMillis": long,
"purchaseState": integer,
"consumptionState": integer,
"developerPayload": string,
"orderId": string,
"purchaseType": integer
}
Run Code Online (Sandbox Code Playgroud)
如何通过 google play api 获取购买产品的价格?