in-app-purchase

Android - How to check if subscription is renewed?

拟墨画扇 提交于 2019-12-30 05:53:10
问题 I have an android app with renewable monthly subscriptions. In this app I want to notify user some info when his subcription continues in next month. As I can see renewals in merchant center(orderId ends with eg. ..0, ..1), but when querying the inventory my purchase orderId is same as befor eq. { "orderId": "GPA.XXXX-YYYY-XXXX-ZZZZZ", "packageName": "my.packageName", "productId": "my.sku", "purchaseTime": 1456398623654, "purchaseState": 0, "developerPayload": "mypayload", "purchaseToken":

Pay for a physical product with in-app purchase

社会主义新天地 提交于 2019-12-30 05:22:05
问题 I am a complete novice and have no technical skills and little knowledge concerning iphone app development an in-app / itunes store purchases. But I have been playing with some ideas for my coffeeshop / lunchbar and was wondering If any experts would like to give me some feedback on my ideas. As I said I run a coffee and lunch(break) shop and allot of my customers are iphone (and blackberry) users. What also happens alot is that the customers ring to order their coffee and food so that they

Using in app purchase to unlock features vs. using free & paid app versions for iPhone

淺唱寂寞╮ 提交于 2019-12-30 04:33:08
问题 I have an app that I was going to release as a free (lite) version with some of the total functionality and a paid full version with advanced functionality. Now, with in app purchase for free apps I am thinking of going that route with the ability to unlock features as needed. I'm not talking about a trial version that expires.I want people to be able to try out the app and get an idea of the interface and functionality before deciding to purchase the full functionality of each major section

Using in app purchase to unlock features vs. using free & paid app versions for iPhone

只愿长相守 提交于 2019-12-30 04:33:08
问题 I have an app that I was going to release as a free (lite) version with some of the total functionality and a paid full version with advanced functionality. Now, with in app purchase for free apps I am thinking of going that route with the ability to unlock features as needed. I'm not talking about a trial version that expires.I want people to be able to try out the app and get an idea of the interface and functionality before deciding to purchase the full functionality of each major section

Restore purchases in In-app Billing (IAB Version 3) android

点点圈 提交于 2019-12-30 03:02:06
问题 Google has upgraded to IAB3(In App Billing version 3). First what a issue in example code.. super.onDestroy() is missed. I implemented v3 with the help of http://developer.android.com/google/play/billing/billing_integrate.html It is tested on phone, does not work in emulator.It stuck in emulator. My issue is, I did not see the API for restoring transactions. How can I restore purchases with IAB3? Is it mService.getPurchases(apiVersion, packageName, type, continuationToken) . Has anyone tested

Removing Ad's with in-app-purchase

风格不统一 提交于 2019-12-30 02:18:06
问题 I'm searching for a tutorial or an explanation on how to remove advertisement in my application with in-app purchase? I will put some ads with ad-mob in my app but I also want, that the user can disable the ads when he pays a little donation. Do you know a site or tutorial where I can find a step-by-step explanation how to do this? Or do I need to publish 2 versions of my app? One with ads and one without ads for paying? 回答1: Don't use the SharedPreferences method because if the user flushes

How can I reset sandboxed in-app purchases on iOS for testing?

大憨熊 提交于 2019-12-30 02:17:11
问题 I made a sandbox iTunes user, bought an item. That worked but there were some issues in my code for displaying the item. So, I want to re-buy it to test again. Problem is, I can't clear my purchases. I signed out my sandbox user, deleted the app and re-installed it, changed itunes users a few times... the item still shows up as purchased. I'm using MKStoreKit. Any ideas? 回答1: Well, I figured it out. MKStoreKit saves purchased items to the keychain, which persists even if you change iTunes

Auto-renewing subscription – Differences to non-renewing subscription

懵懂的女人 提交于 2019-12-29 08:13:07
问题 I have a question regarding in-app payments for iPhone apps. I thought the only difference between auto-renewing subscriptions and non-renewing subscriptions was obviously the self-renewing thing. But as I read through the documentation it seems that there are other important differences. This is how I understood it: Auto-renewing: user can disable auto-renewing (so it might behave like a non-renewing subscription) is restored after a device reset is automatically transfered between different

how to get subscription expire date in inapp v3 android

拈花ヽ惹草 提交于 2019-12-29 06:28:34
问题 Hi I have I implemented inapp billing V3 for one year subscription for a item using android-inapp-billing-v3. I want to show remaining days in my app. I am calling getSubscriptionTransactionDetails to get Transaction details for the product but it always returns null . here is my code. private BillingProcessor startInappCheck(){ bp = new BillingProcessor(mContext, BASE64ENCODEDPUBLICKEY, new BillingProcessor.IBillingHandler() { @Override public void onProductPurchased(String productId,

Price of in-app purchases shown on screen(with currency)

半世苍凉 提交于 2019-12-29 05:21:37
问题 I want the buttons that you have to tap to buy something to show the price of that. For example: "5 coins €0,99" But if I create a UIlabel with exactly that text, Americans will also see the price in € instead of usd. Now how can I set the price where it adjust to the currency the user lives in? I saw it on some games so I am convinced that this is possible. thank you! 回答1: If purchases are done via Apple App Store (using StoreKit framework) you need to get price + currency from SKProduct