in-app-purchase

Redeemed promo codes not included in updateTransaction

非 Y 不嫁゛ 提交于 2020-01-12 07:49:09
问题 I have an application that integrates In-App Purchases. The in-app purchasing functionality in general works as expected for purchases that occur in app, and is also fully tested to work for purchases initiated in the app store (tested using "itms-services://?action=....") I am enabling my IAPService as soon as the app is launched in the AppDelegate, and it is correctly calling updateTransaction as expected, but.... When I redeem a promo code it does not arrive in updateTransactions. It does

Redeemed promo codes not included in updateTransaction

一世执手 提交于 2020-01-12 07:49:09
问题 I have an application that integrates In-App Purchases. The in-app purchasing functionality in general works as expected for purchases that occur in app, and is also fully tested to work for purchases initiated in the app store (tested using "itms-services://?action=....") I am enabling my IAPService as soon as the app is launched in the AppDelegate, and it is correctly calling updateTransaction as expected, but.... When I redeem a promo code it does not arrive in updateTransactions. It does

Error refreshing inventory. In-app Billing

夙愿已清 提交于 2020-01-12 05:51:19
问题 I am setting up and testing in-app billing. I managed to purchase the android.test.purchased, and it did what it should. But now I need to consume it to continue my testing. The problem is that I can't reach the inventory. When this is called I get the result.isFaliure() is called and I can't get the inventory. IabHelper.QueryInventoryFinishedListener _gotInventoryListener = new IabHelper.QueryInventoryFinishedListener() { @Override public void onQueryInventoryFinished(IabResult result,

Error refreshing inventory. In-app Billing

微笑、不失礼 提交于 2020-01-12 05:51:11
问题 I am setting up and testing in-app billing. I managed to purchase the android.test.purchased, and it did what it should. But now I need to consume it to continue my testing. The problem is that I can't reach the inventory. When this is called I get the result.isFaliure() is called and I can't get the inventory. IabHelper.QueryInventoryFinishedListener _gotInventoryListener = new IabHelper.QueryInventoryFinishedListener() { @Override public void onQueryInventoryFinished(IabResult result,

How to store and fetch the response of in-app purchase in ios?

无人久伴 提交于 2020-01-11 13:56:27
问题 I have implemented in-app purchase in my project. The implementation worked well but I have a problem to store a response. I unlocked the button and when I go through in-app purchase the button will be unlocked the response becomes true. But when I go back the class from which I came this class, and jump back to this class again, I got the button locked again because I am not able to store response. I am doning this: .h file bool isPurchased; -(void) successfulPurchase:(EBPurchase*)ebp

Apple In-App Purchase

无人久伴 提交于 2020-01-11 05:04:36
问题 While testing In-App-Purchase in the SANDBOX ENVIRONMENT on the device, I'm logging the following error : Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x2916a0 {NSLocalizedDescription=Cannot connect to iTunes Store}.t I'm able to retreive the product id's which i registered through iTunes Connect. I'm displaying data related with these products as in a table view along with Buying option. When i try to buy a product a transaction is initiated but it doesn't ask

Apple In-App Purchase

核能气质少年 提交于 2020-01-11 05:03:10
问题 While testing In-App-Purchase in the SANDBOX ENVIRONMENT on the device, I'm logging the following error : Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x2916a0 {NSLocalizedDescription=Cannot connect to iTunes Store}.t I'm able to retreive the product id's which i registered through iTunes Connect. I'm displaying data related with these products as in a table view along with Buying option. When i try to buy a product a transaction is initiated but it doesn't ask

Donate Feature inside iPhone app

99封情书 提交于 2020-01-11 03:32:22
问题 I am planning to develop a free app. Which could be useful for many people. So, I am planning to put a donate button inside my app. So if any people finds it useful, they will donate for development. Is it good if we implement in app purchase to achieve this functionality. I am not sure is this possible. Please correct me if this question is wrong and I will remove it. Thank you in advance. 回答1: Try to search. There are multiple questions on how to handle donations. You have to look for App

Google IAB return purchase error type=3 subtype=4

喜欢而已 提交于 2020-01-10 10:23:48
问题 When I tried to buy all of items, then it returns the message like bellow "The item you requested is not available for purchase." And logcat logs. 09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.handleError: Error: PurchaseError{type=3 subtype=4} 09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.fail: Purchase failed: PurchaseError{type=3 subtype=4} I guess, purchase error code type 3 is billing api problem BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE 3 Billing API version is not

Google IAB return purchase error type=3 subtype=4

对着背影说爱祢 提交于 2020-01-10 10:22:09
问题 When I tried to buy all of items, then it returns the message like bellow "The item you requested is not available for purchase." And logcat logs. 09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.handleError: Error: PurchaseError{type=3 subtype=4} 09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.fail: Purchase failed: PurchaseError{type=3 subtype=4} I guess, purchase error code type 3 is billing api problem BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE 3 Billing API version is not