android - Is there an API to retrieve the country associated with the Google Wallet account -
I'm developing an app that will be used to sell products using in-app purchases. The requirement is that, in some countries, a sub-product of products should not be available, say that I have 5 products, all 5 users should be seen by users of the United States, but only 3 users viewed in Canada should go. The additional requirement is that if Canadian users come to the US, the app will still show 3 products which are available in Canada. Is there an API / library that I can use for this requirement?
I'm following the in-app billing implementation to develop the app. I was planning to provide a predefined price (999.09) for the item that is available in the Google Play Developer Console While making the product, it should not be available in Canada as a local price, so that the product can filter the products by the result of the product Calling IInAppBillingService..getSkuDetails is facing the problem I am facing in this implementation The front is that if Canadian users are going on the Sisiu details being set local prices for the product in the United States. However, when the user starts the purchase intention, then the price shown in the pop-up screen is determined by the price for the product in Canada. I think the service used by the pop-up screen uses the credit card billing information defined in the user's Google Wallet account and displays the price set in Canada. Is there an API / library I can use to recover a country linked to a Google Wallet account without embedding the Google Wallet Instant Buy button in Google app?
Comments
Post a Comment