in-app-purchase

appStoreReceiptURL Error

a 夏天 提交于 2019-12-11 20:14:22
问题 I can't understand why it does not enter into the if control. Anyone knows explain to me? - (void)verifyapp{ NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL]; NSLog(@"%@", receiptURL); //CONTROLLO SE ESISTE if ([[NSFileManager defaultManager] fileExistsAtPath:receiptURL.path]) { } } 回答1: Receipt only exist if you install app from the AppStore. If you install it from the XCode Debug mode, it will not have a receipt. To debug your code you need to install app from AppStore first,

BlackBerry App world not able to download application in draft mode

柔情痞子 提交于 2019-12-11 19:59:45
问题 I am trying to create BB application that features the in-app purchase. I followed the following steps and was expecting the result. Setup a 'sandbox' account in using the BlackBerry App World vendor portal Upload your app into BlackBerry App world but don't publish it, just leave it in draft state Also in the vendor portal, set up your digital goods (the things available for in-app purchase) On your BlackBerry, load App World and login with your sandbox account email address. Within any

How to let only paid members into my iOS app's some sections with in-app purchase?

允我心安 提交于 2019-12-11 19:15:39
问题 I am developing an application where I have a section only for paid users where they purchase for the section using the in-app purhcase system in iOS. I know that I need to keep track of the purchase history myself, and this is where the problem begins. I have a database and I am capable of storing users in my database, with a web service interface. How can I create a system where a URL is pinged only when a user has made the purchase. As an example, I have the URL: http://example.com

Working with Google in-app billing?

独自空忆成欢 提交于 2019-12-11 19:06:03
问题 I'm trying to use Google in app billing in my app. My code dose not have any error in eclipse but when I run it on my phone it force closes! and log cat points error to "new Thread" line. what is the problem? I'll be thankful if someone could help. Here is my code: in onCreate under donate button: @Override public void onClick(View v) { new Thread(new Runnable() { public void run() { ArrayList<String> skuList = new ArrayList<String>(); skuList.add("My Selling Obj ID"); Bundle querySkus = new

Adding Subscriptions to Windows Phone app as an in-app purchase

不想你离开。 提交于 2019-12-11 19:04:16
问题 From my understanding, Windows Phone now allows in-app purchases. I would like to empower my users to signup for one-of-three subscription levels within my app. However, I do not understand how to enable this type of scenario. I see the option to add an "In-app product". However, in my case, I'm not sure of the following: Am I offering one product or three separate products (one for each subscription level). I don't understand the "Product Identifier" is this an identifier for the

IAP: Receives `paymentQueueRestoreCompletedTransactionsFinished:` callback with unfinished transactions

僤鯓⒐⒋嵵緔 提交于 2019-12-11 18:55:09
问题 Some times I get this callback - (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue Even before I receive this - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions I don't even get to say finishTransaction: . I find this superweird. I've all this time been assuming paymentQueueRestoreCompletedTransactionsFinished: wouldn't be triggered before I had marked every unfinished transaction as finished. Is this expected behavior? This

Restore purchase swift 4 programmatically

时光毁灭记忆、已成空白 提交于 2019-12-11 17:05:23
问题 This problem occurs to me: Purchase a subscription through a movie with a lock. I click on the camera button. The subscription view opens. I make my purchase: I display an error message (but the purchase is still successful). func subscribe(sub: SubscriptionType) { DispatchQueue.main.async { let _ = MBProgressHUD.standardHud(over: self.managedView) } FS2Recipes.subscribe(sku: sub.sku()).then { _ in self.subscribed() }.catch { error in debugPrint("Error \(error.localizedDescription)") let

Google play iap customer details

时光怂恿深爱的人放手 提交于 2019-12-11 15:44:15
问题 I recently launched mobile app I found a purchase made by the user for some reason for this transaction my app could not capture customer details nowhere I could find in console customer details like mail id phone number I was under impression iap report from Google play will provide all these details & hence in my app not annoying my users to provide their details at time of purchase but it looks like Google does not share these details What is my next step? Please help, don't want to keep

Getting user email during iOS InApp purchase

天大地大妈咪最大 提交于 2019-12-11 14:44:33
问题 Is there anyway in iOS to retrieve the current user email (I suppose it would be the iTunes profile email) after a InApp purchase attempt (either successful or not)? 回答1: This is not possible with iOS public SDK (i.e. SDK 7 at this time). cf. this question for another way to get the user's email. 来源: https://stackoverflow.com/questions/16998742/getting-user-email-during-ios-inapp-purchase

Is there a way to implement custom in app upgrade in windows phone 7?

删除回忆录丶 提交于 2019-12-11 13:55:12
问题 I have a few Windows phone 7 app developed with Windows phone 7.1 SDK. Currently, I'm showing ads in all those free apps. I would like to provide an option to remove ads from the app and allow user to buy the app when they click on it. I know there are such in-app purchase api for windows phone 8. Does anyone know anything about similar api in wp7 or to implement similar thing for windows phone 7 in a custom way? I see 9gag app by Rudy Huyn (http://www.windowsphone.com/en-us/store/app/9gag