I have the same problem as described here
https://support.google.com/googleplay/android-developer/thread/262071136/how-to-get-the-actual-payment-amount-in-subscriptions-v2?hl=en
In subscriptions V1 the subscription object had a field priceAmountMicros. In subscriptions V2, according to documentation, this field has been removed. This information can be found in the basePlan/offer for each of the subscriptions purchased. – from documentation. But field SubscriptionPurchaseV2.offerDetails.offerId is empty on most cases. According to documentation, the field contains value only for discounted offers. But I need the amount of each subscriptions, not only discounted. How I can get this value for each subscription?
But I still can’t find out from the answer, which method I should use to retrieve price for particular purchase.
From documentation I tried to use methods to get information about base plans or offers https://developers.google.com/android-publisher/api-ref/rest/v3/monetization.subscriptions.basePlans.offers, but prices returned there are independent, they are not linked to particular transaction.
stranger_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.