in-app-purchase

In-App Payments for Android Amazon AppStore

人盡茶涼 提交于 2019-12-20 12:43:08
问题 I'm familiar with the in-app payments from google proper http://developer.android.com/guide/market/billing/index.html But are there other solutions which can be implemented for apps distributed through the amazon marketplace? Alternatively, does the google IAP system work if the app wasn't distributed through the google marketplace? 回答1: Google's IAB uses the Android Market app, and requires a Google checkout account (possibly works with carrier billing too). If the Market app is not

Correct and secure manner of storing in-app-purchases

浪尽此生 提交于 2019-12-20 12:23:21
问题 What is the best way to store an in-app-purchase on a device, so that the purchases can also be accessed offline but the security of the purchases are not compromised? 回答1: Do not store anything valuable on the device as it cannot be trusted and it can easily be compromised by someone motivated. Now, all of this depends on the type and value of the item that is being purchased and what happens if its compromised. If its truly valuable then use a remote secure server for managing secure items.

Correct and secure manner of storing in-app-purchases

孤者浪人 提交于 2019-12-20 12:23:05
问题 What is the best way to store an in-app-purchase on a device, so that the purchases can also be accessed offline but the security of the purchases are not compromised? 回答1: Do not store anything valuable on the device as it cannot be trusted and it can easily be compromised by someone motivated. Now, all of this depends on the type and value of the item that is being purchased and what happens if its compromised. If its truly valuable then use a remote secure server for managing secure items.

Can In App Purchases be tested in the IOS 8 (Xcode 6) Simulator?

試著忘記壹切 提交于 2019-12-20 11:37:07
问题 I keep finding conflicting information about whether In App Purchases can actually be tested on a simulator using Xcode 6. Some answers say ' yes ', others seem to indicate there are a bug in beta versions of Xcode 6 and others flat out ' no '. I have an app where IAP works great on the device, but in the simulator, trying to refresh the receipt fails with a very unhelpful message: Error Domain=SKErrorDomain Code=0 "The operation couldn’t be completed. (SKErrorDomain error 0.)" . My app was

Verify a Purchase using Firebase Functions

感情迁移 提交于 2019-12-20 11:03:49
问题 I want to verify purchases in my app using Firebase Functions and Purchases.products: get But I don't know how to use the authorization Scope from the link or how to build the request in Firebase Functions. This is what I have so far: const functions = require('firebase-functions'); const admin = require('firebase-admin'); const google = require("googleapis"); const publisher = google.androidpublisher('v2'); admin.initializeApp(functions.config().firebase); exports.validatePurchases =

In App Purchase: dynamically add non consumable items

二次信任 提交于 2019-12-20 10:46:20
问题 I'm developing an app where the user can purchase digital maps, charts and so on. I'd like to wrap these in in-app-purchases. The thing is that I don't know beforehand how many charts there will be, as I'm getting them from another source from the net. There could be hundreds. I have a server that periodically gets the charts from that source and stores them locally; there may appear new charts in the future or disappear existing ones. All this without manual intervention. There are three

IAB helper is not set up. Can't perform operation: queryInventory

 ̄綄美尐妖づ 提交于 2019-12-20 10:33:19
问题 I am trying to implement in-app-billing API in my app but when I run my app it trows an exception. This is the first time that I am dealing with in-app-billing API. This is the log of the exception that I am getting: Process: koemdzhiev.com.quickshoppinglist, PID: 10604 java.lang.RuntimeException: Unable to start activity ComponentInfo{koemdzhiev.com.quickshoppinglist/koemdzhiev.com.quickshoppinglist.ui.MainActivity}: java.lang.IllegalStateException: IAB helper is not set up. Can't perform

Is it possible to have multiple APK support based on country?

孤街浪徒 提交于 2019-12-20 10:23:32
问题 I have an application that has free and priced products, I need to create two APKs for my application and show the application that supports In-App Billing in the countries that support it and show another APK of the same application that doesn't support In-App Billing (It has only the free products) in the countries that don't support it. Can I use the Android Market Multiple APK Support feature to achieve this? If not, is there any feasible suggestions other than creating tow separate

Is an active Paid Applications Contract required for testing In App Purchase?

情到浓时终转凉″ 提交于 2019-12-20 10:13:45
问题 I was following a tutorial on In App Purchase which also shows how to test by using the sandbox environment. As I've tried to add an In App Purchase to my Application the iTunes Connect prompted following hint: You do not have a contract in place for the price tier you selected. To make your app available on the App Store, you must have an active Paid Applications Contract. Am I still able to test In App Purchase? 回答1: For adding and testing InApp purchase in your application you have to

In app purchase for auto-renewable content prompts user to share information

谁都会走 提交于 2019-12-20 09:48:15
问题 I am adding the ability to purchase auto-renewable content through the iOS SDK's StoreKit API. When testing this in the sandbox on my iOS device, the following message appears in an alert after agreeing to purchase: Share your Information? The publisher of [app name here] would like your name, email, and zip code for use in accordance with their privacy policy. With buttons for "Don't Allow" and "Allow" I don't want / need this information and don't want to annoy my users by prompting for it.