in-app-purchase

NSUbiquitousKeyValueStore and In-App-Purchase

那年仲夏 提交于 2019-12-11 10:50:30
问题 today I just opened my 1,5 month old project and wanted to add a new In-App-Purchase to the app, so I added all the information to iTunesConnect, didn't change anything for the existing ones. When I now run the app ALL of the purchases won't work, I'm using MKStoreKit but the SKRequest also doesn't throw any errors. In addition I'm getting the following logged in console without adding iCloud support: NSUbiquitousKeyValueStore error: com.mycompany.myapp has no valid com.apple.developer

Android In-App and Virtual Currency?

早过忘川 提交于 2019-12-11 10:44:17
问题 I am making the planifiacion of a game for android and some research. But i get stuck when i have to deal with the Virtual Currency (actually i dont know if this is what i need). The user need to be able to purchase some virtual currency (in my case beans) and with those beans purchase upgrades or whatever he wants or needs. I see that Facebook supports this right away with his API, but Google Play (altough they dont explain how to do it) appears to not support this functionallity. how do i

How to offer discount in auto renewable subscription

╄→尐↘猪︶ㄣ 提交于 2019-12-11 08:44:23
问题 Hi Apart from introductory discount is there some way by which we can offer discount to users? Example : Say he has cancelled the subscription and his subscription is about to expire then offer him 45% discount on prices? Solution : We can create another discounted subscription group that would have same subscription but for a lesser price. The only issue with this plan is that it may happen that a user get subscribed to two subscription gp. Also the original transaction Id changes so it will

How to identify the InAppPurchase alerts

主宰稳场 提交于 2019-12-11 08:24:10
问题 i am doing one application.In that i am using IAP concept.In that once user finish the subscription, i am calling the proideContent method. And if user again try to subscribe before end of subscription i need to call that method. But in that time i am getting the alert from apple like " Already subscribed " with Ok button. If i click that button failed transaction method is firing. If i call provideContent method at here then this will calling when the user cancel the transaction at the first

google-api-ruby-client The current user has insufficient permissions to perform the requested operation

北城以北 提交于 2019-12-11 08:18:37
问题 I am using the google-api-ruby-clientgoogle-api-ruby-client for my backend server to validate the android inapppurchase code (see below): require 'google/api_client' require 'google/api_client/client_secrets' require 'google/api_client/auth/installed_app' API_VERSION = 'v1.1' service_account_email = 'xxx@developer.gserviceaccount.com' # Email of service account key_file = 'xxx.p12' # File containing your private key key_secret = 'notasecret' # Password to unlock private key scope_url = 'https

In App Purchases don't work during Apple review

做~自己de王妃 提交于 2019-12-11 07:26:46
问题 In App Purchases work in Sandbox environment but don't work during Apple review which results in the app rejection: I can't find the problem as In App purchases work well on the test device with Sandbox accounts. I did send the IAPs for review as well and I don't do any kind of receipt validation. Any ideas where I can find the problem roots? 回答1: Add some sort of logging that you can see remotely. I suspect they're hitting one of the SKErrorDomain errors because of the weird environment they

Google play API returns error

人走茶凉 提交于 2019-12-11 06:36:53
问题 i am getting the same issue as described in this post . we have used almost exactly the same code. i have tried both with Client ID and Email address of the google service account in below mehotd setServiceAccountId(GOOGLE_SERVICE_CLIENT_EMAIL) OR setServiceAccountId(GOOGLE_CLIENT_ID) error changes with the change in a/c id. if i use client id, error is 400 Bad Request { "error" : "invalid_grant" } and if i use service email id, error is 401 Unauthorized { "code" : 401, "errors" : [ { "domain

Windows Phone In-App Purchase

主宰稳场 提交于 2019-12-11 06:28:41
问题 I am trying to implement in app purchase in my app for windows phone 8 with no luck. I've created a beta app and added an in app purchase product to it. I took the product id from the Beta app and put it in the WMAppManifest.xml file and recompiled. I tried running the app in the emulator and on my device with no luck! I've titled the product FullVersion for both the alias and in app name; In my app here's how I am checking the purchase and proceeding with the transaction. It opens the

SKProduct localizedTitle always English

断了今生、忘了曾经 提交于 2019-12-11 06:28:30
问题 I have in app purchase in my app. I am testing a Japanase language device with a test account that is in the Japan store. I have both English and Japanese in app purchase titles and descriptions. No matter what I do the localizedTitle and localizedDescription of SKProduct always come back in English. What am I doing wrong? My iPad 3 was originally setup in the United States store with English as the language, but I signed out of my store account and went through the normal process in the app

In-app purchase iOS 6

て烟熏妆下的殇ゞ 提交于 2019-12-11 06:28:02
问题 I am trying to implement in app purchase for iOS 6 and I am following Ray Wenderlich iOS 6 in-app tutorial as my reference point. One big change I am making from Ray's code is that I have a single button (there is only 1 in app purchase) that the user taps to purchase opposed to making a custom table view for it. I cannot seem to get it work and I keep getting -[__NSMallocBlock__ allObjects]: unrecognized selector sent to instance 0x1d5846d0 2012-10-03 00:03:25.715 myapp[752:907] ***