in-app-purchase

In-App Billing switching activities

佐手、 提交于 2019-12-12 10:14:01
问题 Ahh the in-app billing problems never end! ^.^ I have everything working properly to show the transaction page for the in-app purchase. If I complete the purchase it returns me to my application and after about 10 seconds it verifies the purchase and I receive the item. On the other hand, if I press the back button after returning to the application and switch to another activity it never processes the transaction. Even if I return to the in-app billing activity I never receive my purchased

Bazaar(Iranian Android Market) inAppBilling error in Android 5 Lollipop

自作多情 提交于 2019-12-12 09:56:18
问题 For inAppBilling in my app use Bazaar(Iranian Android Market) API. All things are right but in in Android 5 Lollipop this not work correctly and return error : After many search found this similar problem and this link too this one.( solutions are similar together ) So I try to adding this line : serviceIntent.setPackage("ir.cafebazaar.pardakht"); After this line: Intent serviceIntent = new Intent("ir.cafebazaar.pardakht.InAppBillingService.BIND"); Now app return this Errors : java.lang

How do I remove ads with In-App Purchase?

[亡魂溺海] 提交于 2019-12-12 09:27:04
问题 I am having trouble finding out why my iAd is not being removed after a purchase. Here is what I am trying in the file that has the iAd: #define kInAppPurchaseUpgradeProductId @"kInAppPurchaseUpgradeProductId" NSUserDefaults * defaults = [NSUserDefaults standardUserDefaults]; BOOL adsAreOff = [defaults boolForKey:kInAppPurchaseUpgradeProductId]; if (!adsAreOff) { adView = [[ADBannerView alloc] initWithFrame:CGRectZero]; adView.frame = CGRectOffset(adView.frame, 0, -50); adView

In App Purchase iOS access AppleId

不羁岁月 提交于 2019-12-12 08:59:57
问题 Is there a way to access apple id that is enter by user in authentication dialog while doing in-app purchase (email or their internal id) after purchase is done? 回答1: In an official application, there's no way of accessing it, since it would impose great security exploits (for example, one could easily send spam to the specified e-mail address). However, if you're using a jailbroken device, you can get the necessary information from the keychain. The appropriate keychain items have their svce

Is it possible to reliably detect at runtime which store installed an Android App (Google Play or Amazon Market)?

試著忘記壹切 提交于 2019-12-12 08:49:20
问题 There are many similar Stackoverflow questions. All have answers that suggest using methods like getInstallerPackageName on the PackageManager class. All also have comments or conflicting answers saying that this is not a reliable approach, suggesting that the only way to reliably check which store installed a given App is to generate two separate binaries, each with a storeFlag set, and upload one binary to Amazon and one to Google Play. I need to know which store is the App's installer so

Android in-app billing refund

北慕城南 提交于 2019-12-12 08:45:45
问题 This is the first time I am implementing in-app billing in android app and I took most of the code straightly from guideline and everything forget perfectly til I thought about refunding. The example app has already refunding implemented, but in a weird way! Refund is received on app as purchase but with state of refund which is totally understandable but the original source looks like this: // Count the number of times the product was purchased while (cursor.moveToNext()) { int stateIndex =

InAppPurchase invalid product identifiers - Possible Reasons

白昼怎懂夜的黑 提交于 2019-12-12 08:33:20
问题 It has been a long night chasing the problem within my in-app purchase trials yet I can not seem to solve this issue.My product identifier keeps returning as "invalid product identifier". Hopefully someone will point it out; (With current provisioning profile and appId I got push notifications working) My App ID is generated (with no wildcards) - inApp purchase is enabled My IAP(In-App Purchase) is added in "Manage your in-app purchases" and cleared for sale. My IAP is added 24 hours ago (

in-app billing for unsupported countries

时光毁灭记忆、已成空白 提交于 2019-12-12 08:20:09
问题 I want to use Google Play's in-app billing for one of my applications. But it seems I can't use it. First problem is that according to supported locations for merchants my country - Turkey - is not in the list. And as a second problem , my app is listed on some other markets except Google Play. Google Play in-app billing overview section In-app Billing Requirements and Limitations says that In-app billing can be implemented only in applications that you publish through Google Play. Therefore

Apple In app purchase StoreKit error

早过忘川 提交于 2019-12-12 08:15:24
问题 I am implementing in app purchase feature for a bookshelf but an error message RANDOMLY appear during purchasing books. The error message is "Payment requests are restricted to products returned as valid via Store Kit's didReceiveResponse method." I find the document in apple http://developer.apple.com/library/ios/#qa/qa2010/qa1691.html but it does not help to solve the problem... in the same time observer print out another error : "Can't connect to the iTunes Store". my in app purchase logic

Online receipt validation for Mac App Store In-App Purchases

拥有回忆 提交于 2019-12-12 08:13:33
问题 For in-app purchases for iOS we can use an online API for validation, meaning that we can validate the purchase on our own server. Is there any way (API) for such validation of in app purchases for OS X? I've found only this snippet about in-app validation for Mac and it seems that Apple doesn't provide any API for online validation. Or maybe there is some plan from Apple to support online validation for OS X? 回答1: My app EasyBooks provides an online component that users pay yearly for. It