question

petr-petr avatar image
petr-petr asked

Is it possible to obtain raw (float) price and country code for products?

Unity3d plugin We need that for our analytics We need to pass to third-party analytics plugin float price and string countryCode for each purchase Is this possible?
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

WangChao@Amazon avatar image
WangChao@Amazon answered
Hello, For the countryCode, please check introduction of object AmazonUserData on https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/iap-plugin-methods-and-events-for-unity. You can get the two-character ISO 3166-1 Alpha-2 code denoting the marketplace of the user from its member marketplace. As for the price, I'd recommend you do the converting by yourself. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.