ios,objective-c,testing,in-app-purchase,runtime-error
There is no runtime error in this story. All that's happened is that you've created an Exceptions breakpoint. Now you are pausing at it. Simply resume running. If this is troublesome, disable the Exceptions breakpoint.
android,api,in-app-purchase,in-app-billing
Digging through the source for IabHelper, I found the problem: The result of the purchasing intent will be sent to the Activity's onActivityResult(...) method. From there, it needs to be manually forwarded to the IabHelper's handleActivityResult(...) method with something like this: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data)...
ios,iphone,ipad,in-app-purchase,storekit
I found the answer to my question here: iOS Server Side Validation - receipt types This is expected behavior....
android,json,amazon-web-services,in-app-purchase
The JSON you posted is invalid. It has an extra comma after the last sub-object. If this is just a posting error, then no idea.
android,in-app-purchase,in-app-billing
Testing payments will still have an email generated with an order number, payment type and company you have purchased from. The body of the email will be exactly the same as a legitimate purchase, however the email subject will start with "Test:". Also you can check if a purchase will...
Apparently, the contracts in "Agreements, Tax, and Banking" had been expired. So I requested both of them.
android,in-app-purchase,in-app-billing
No you need not republish app unless you want to distribute it to your testers using alpha testing link. You can directly install the apk with modified code on your device to test. Just ensure that the version code and name remains the same as the one installed on the...
ios,connection,in-app-purchase,offline
In-app purchase need internet connection to communicate with apple server. You can handle internet connection state with https://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html
ios,in-app-purchase,restore,storekit
According to Apple's documentation, you can't restore non-renewing subscriptions. Also, have a read here for a more detailed explanation.
amazon-web-services,in-app-purchase,amazon
Amazon In-App Purchasing API works on non-Amazon device. Did you download your app from Amazon Appstore? Only the build downloaded from Amazon Appstore would run outside of sandbox mode. You can test your app outside of sandbox mode with their Live App Testing service....
ios,swift,parse.com,in-app-purchase
It's not possible to test in-app purchases (IAP) in the simulator as far as I know. To test them you need to use a real device and use an iTunes account that has been specifically setup as a test user. Apple has more details here https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/Chapters/TestingInAppPurchases.html...
android,in-app-purchase,in-app-billing
It just means that you should not leave your key in a plain string constant because probably not even by obfuscating it can be hidden from the curious eyes... So build the key from different pieces of strips as, for example, let´s suppose the key is "123456". You can have...
Doh! I wasnt passing in my new in app purchase product ids into the following, so Apple wasnt looking for them to return the details: [[SKProductsRequest alloc] initWithProductIdentifiers:_productIdentifiers]; Hopefully this answer might help someone else in the future. Just used up one of my annual Apple tickets to answer this....
ios,iphone,in-app-purchase,itunesconnect
You either have to ship all the images with your app and hard code the mapping of product identifier to image or load the product ids from the app store and use an external web site or server to upload the images for the identifiers. It is a shame that...
ios,in-app-purchase,itunesconnect
Impossible. Reference name is a internal name in iTunes Connect configuration. The product’s reference name is displayed in iTunes Connect and in Sales and Trends reports. It isn’t displayed on the App Store. You can't retrieve the Reference Name for an app....
ios,in-app-purchase,in-app,auto-renewing
I hope you have also checked : http://blog.mugunthkumar.com/coding/mkstorekit-4-0-supporting-auto-renewable-subscriptions/. It allows Auto Renewable Product as well.
Add your email id to the testers account on google developer console. Add the iap products in google developer console. Sign the build with live keystore. Do inapp. (Make sure that the prompt that comes up says This is a test account bla bla) ...
android,in-app-purchase,in-app-billing
You should use managed products. This product will be synced between all devices and preserved by Google Play Services until you consume it. The main point is not to consume the item so it will be available forever once purchased. Of course you can utilize unmanaged products the same way...
ios,swift,in-app-purchase,storekit
It turns out that you need to have an active iOS Paid Applications under iTunes Connect (Agreements, Tax, and Banking).
ios,in-app-purchase,itunesconnect
Make sure that your sales contracts are in effect. It kept returning the identifiers as invalid until I set that up.
ios,objective-c,iphone,in-app-purchase
This is currently not supported by the in-app purchase system. The closest you can get to doing so is to have your in-app purchase product set to the "Free" price tier, and purchase it for them in the background, as you described. Alternatively, you could save your IAPSuccessful flag in...
ios,objective-c,in-app-purchase
I don't think there is any sure fire method. Interested to know why. As this is an iOS alert it could be that the app is inactive while it's presented so you would receive an app delegate callback / notification when the alert is dismissed. I haven't tested that so...
in-app-purchase,apple,itunesconnect
I just was on the phone with apple developer support. They said that this is a known issue with itunes connect and they are hoping to resolve it by the middle of today. (we are having the exact same issue with an application that is already in store with recurring...
android,libgdx,in-app-purchase
If I remember correctly, I got rid of this message by creating Google Group (https://groups.google.com) and adding my test accounts there. Then go to Google Play Developer Console, Your app -> APK -> Alpha testers and choose "Manage list of testers". There, add just created Google Group, and share a...
ios,objective-c,swift,xcode6,in-app-purchase
Finally solved the problem. The reason was my InApp Purchase product description was more than 255 characters. But when I first create the products it accepted the description. After a few month it was returning null. Hope this helps someone.
As a side note, the documentation is inconsistent on the types of purchases and their persistence in the receipt -- see my answer to this question. The receipt is updated on the server-side when the auto-renew ticks over -- you can confirm this by checking with a call to the...
Google's in-app billing will not directly support your case of a trial. This is because the in-app billing is a simple one-time purchase model (for managed in-app products), which simply handles the actual purchase flow and ownership management. It's up to you to provision the actual in-app product based on...
ios,swift,in-app-purchase,app-store
First of all you should never validate receipt with apple servers directly from device. It is not very secure. You should choose either local receipt validation, or your server receipt validation which in case will talk to apple validation server. I think your code is crashing because you are not...
ios,objective-c,iphone,in-app-purchase,in-app-billing
You don't need to upload a new application on Apple Store every time. You can fetch the product dynamically using store kit api. Then you can manage your view accordingly. Yes, Apple will reject your application. For more info refer In App Purchase Policy Section For the Android, You...
android,in-app-purchase,google-play,google-play-services,in-app-billing
Yes, it is recurring by default. When user buys subscription, it automatically recurs based on an interval you specify in Developer Console, and User can cancel at any time. The docs say: After users have purchased subscriptions, they can view the subscriptions and cancel them from the My Apps screen...
android,unity3d,in-app-purchase
From google play' official documentation: you need to call queryInventoryAsync(QueryInventoryFinishedListener) method and handle the data in QueryInventoryFinishedListener. From Amazon's documentation: you need to call PurchasingService.getPurchaseUpdates() method for retrieving users purchase history...
windows-store-apps,in-app-purchase,windows-store
Obtaining a list of in-app purchases is done through CurrentApp.loadListingInformationAsync, which gives you the app’s ListingInformation. From there, its productListings collection contains all of the in-app purchases you’ve registered through the Store dashboard, regardless of type (consumable, durable, etc.) This collection is a MapView of ProductListing objects, in which you'll...
When you're checking to see if the user has purchased the IAP to remove ads in this line if let showAds = defaults.dataForKey("remove_adverts") you're checking for dataForKey when you should be checking for objectForKey because you used setObject when setting your default value. Alternatively, you could use setBool so your...
android,google-analytics,in-app-purchase,in-app-billing,currency
I actually could get it working using this answer here: SOLUTION Google added to its API a new field which is "price_currency_code", to getSkuDetails, which allows us to get the currency code of a transaction. You must edit SkuDetails.java as this answer shows....
android,c++,in-app-purchase,cocos2d-x,android-billing
@Noah you should first try to go over the Getting Started on the SOOMLA Knowledge Base: http://know.soom.la/cocos2dx/cpp/store/store_gettingstarted If this doesn't work for you, you should really ask your SOOMLA related questions on http://answers.soom.la. The SOOMLA community and our team will be happy to get you running :)...
android,eclipse,multithreading,in-app-purchase
You are not allowed to make network calls on the main thread, this is due to the fact that you don't want to block the user from performing actions while this is happenning. So, you should use an AsyncTask for this operation, which will make the network call in the...
You can save your saved info to iOS KeyChain, they will probably be there for you. See an example code at: KeychainItemWrapper...
android,in-app-purchase,in-app-billing,in-app,android-jsinterface
Change this: MainActivity cls2= new MainActivity(); cls2.purchaseItem(sku); To : mContext.startActivity(new Intent(mContext, MainActivity.class).putExtra("item", sku)); And then, in your OnCreate in MainActivity: String item = getIntent().getStringExtra("item"); purchaseItem(item); ...
I figured it out finally. I basically took the same code that is used to identify a product when one of the buy buttons is pressed. I just replaced the line that loads the buyProduct() function with the label details. Such as this example of one of my price labels....
ios,in-app-purchase,itunesconnect,application-loader
As it turned out, all I had to do was to use an outdated version of the Application Loader. The current version is 3.1, and can be downloaded from the iTunesConnect website (Under "resources and help", and not - as is stated in the Application Loader User Guide - under...
Improtant ! I've spent a lot of time trying to find out why I'm getting error "Error Authentication is required.You need to sign into your google account". And after a lot of hours I found out - I was trying to access wrong item id from the console. In the...
iphone,in-app-purchase,cocos2d-x,cocos2d-x-3.0
You can have a pretty good base here: http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial You can also check the Apple's documentation whenever you need. :)...
Yes! If the images that are being sold, once purchased, are available outside the app. According to Google Play Developer Program Policies : Developers offering virtual goods or currencies within a game downloaded from Google Play must use Google Play's in-app billing service as the method of payment. Developers offering...
ios,in-app-purchase,sandbox,testflight
So, yes it is broken and it will never ever expire. Got this answer on Apple dev forums.
ios,in-app-purchase,ios8-today-widget,today-extension,rmstore
All receipts (app purchase and in-app purchase/s) are stored in a file inside the application bundle. The app extension resides in a bundle that's nested inside the application bundle - so I would be surprised if it has access to the receipt file in the outer bundle (but worth checking...
ios,parse.com,in-app-purchase,uiactivityindicatorview
As the prompt is issued by iOS, not your app, you will get a call to the applicationWillResignActive method in your app delegate, just as you would if a phone call is received. You should be able to track your app operation (i.e. purchase initiated) and react accordingly when your...
android,in-app-purchase,app-store,google-play,in-app-billing
Based on your comment: you can't convert free app to paid app later In-app billing can be implemented in both paid and free apps. I would like to know whether it is possible to add IAP to a already released free game? Yes, it is....
In ios7 and later the receipt file contains all the transactions that were performed on this apple id for this app on that device. Apple covers local validation process and the receipt format as well. So yes, you can get a particular transactions info from this file. WWDC 2104, is...
ios,xcode,in-app-purchase,jailbreak
You have to have a server component that you can withhold from the client if your server contacts Apple's App Store to verify the receipt and the verification fails.
I ended up storing the receipt string and running cron to go through the transactions and look for cancellation field. $url = "https://buy.itunes.apple.com/verifyReceipt"; $data = json_encode(array('receipt-data' => $receipt)); $ch = curl_init($url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); $response = curl_exec($ch); $errno...
ios,swift,in-app-purchase,storekit
don't forget to check if you can make a payment: if (SKPaymentQueue.canMakePayments()) { SKPaymentQueue.defaultQueue().restoreCompletedTransactions() } for check if the restore was good you have to follow the protocol: SKPaymentTransactionObserver and then implement the method: func paymentQueue(queue: SKPaymentQueue!, updatedTransactions transactions: [AnyObject]!) and subscribe to the event by doing: SKPaymentQueue.defaultQueue().addTransactionObserver(self) Finally here...
Apple doesn't allowed to set price out side of iTunes. Here are the link that help you to change price tier at any time once your application become live. Apple Developer ...
android,in-app-purchase,in-app-billing,android-billing
There's no API to cancel a purchase through the Google Wallet Merchant. You have to do it manually.
My app was accepted by apple with the restore purchases button in an alert view with the buy it button. So it looks like the restore button isn't required to be separate in the UIView.
Please look at the documentation for SKPaymentTransaction. It appears you will need to check the SKPaymentTransaction.downloads NSArray which is "An array of download objects representing the downloadable content associated with the transaction. (read-only)". ...
android,ios,transactions,in-app-purchase,in-app-billing
I found answer my self i.e if my product is managed product that will be handled by google, managed means if it once purchased then it is purchased for that account(like gmail account), so if user is uninstalls it and again install then that product is purchased(based on account Id)....
There isn't any reason to close testing the sandbox - you'll only need to turn it on again next time you submit an app for review (because Apple's reviewers use the sandbox). Other developers won't be able to use sandbox users to purchase items in your production apps. I just...
ios,ios8,in-app-purchase,app-store,itunesconnect
Is it correct, that real Apple IDs only work in distribution signed apps (for/from the AppStore) and won't work in development signed apps? Yes. You can't use real apple IDs' in your sandbox environment. Sandbox Accounts work in a Sandbox Environment no matter how the app was signed? Test...
in-app-purchase,google-play,google-play-services,in-app-billing,in-app
When an app is uploaded to Google Play, you will be asked to set a default price for the app in your home currency. This price will be used for all countries/regions which you do not manually override. Additionally, you can set a price for each app separately in individual...
android,in-app-purchase,in-app-billing
Do it like this: Intent serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND"); serviceIntent.setPackage("com.android.vending"); bindService(serviceIntent, mServiceConn, Context.BIND_AUTO_CREATE); Use explicit intent only to bind a service otherwise it will throw exception in Android 5.0 and above. Before Android 5.0 also it is suggested to use explicit intent only to bind a service. The Context.bindService() method...
c#,windows-phone-8,in-app-purchase
You should put an if condition that checks if the product has been purchased before calling for the Ad Service Function in your App. In this way, if a user has purchased the App then the App will never Enter the Ad-function and by a using a Bool to Visibility...
android,in-app-purchase,in-app-billing
In my application I have used mHelper.onConsumeAsync(). So I removed this method when I click on the button so next time it is not consuming(means not asking for purchase second time). So it is useful for consumable products like subscribed products(Non-Managed products).So I am not used that kind of products...
there is a way to check which error occurred on SKPaymentTransaction, you can do: ... case SKPaymentTransactionStateFailed: [self failedTransaction:transaction]; ... - (void)failedTransaction:(SKPaymentTransaction *)transaction { NSLog(@"failedTransaction..."); if (transaction.error.code != SKErrorPaymentCancelled) { NSLog(@"Transaction error: %@", transaction.error.localizedDescription); } [[SKPaymentQueue defaultQueue] finishTransaction: transaction]; } apply this code and tell us what the log says...
You can store a "receipt" in the user defaults (NSUserDefaults) then check if the receipt exists when the app is launched. HOWEVER plainly using NSUserDefaults is prone to hacking so you can use a secure version of user defaults from here. another solution (and the recommended one if done correctly)...
The activity you are starting is a part of google play services. Its not yours to customize. Besides, it's not a good idea to think of customizing it. Its better to have "Similar looking UI perform similar functions" across applications. Showing the default google play payment activity imparts a trust...
ios,iphone,swift,in-app-purchase
The answer is quite easy and I found it HERE The In-App Purchases do not work on the simulation a real device must be used! In fact I used a real device and everything worked smoothly.
ios,cocoa-touch,in-app-purchase,storekit
Assuming iOS 7+, you should be validating the receipt, ala A complete solution to LOCALLY validate an in-app receipts and bundle receipts on iOS 7 to determine what's purchased, what's valid (in the case of subscriptions or consumables), and as noted in the other comment, offer a "Restore Purchases" UI...
ios,objective-c,in-app-purchase,stripe-payments
Their API has been updated since the tutorial that you are using. The new access method for this is: [[STPAPIClient sharedClient] createTokenWithCard:card completion:completion] ...
android,in-app-purchase,in-app-billing
yes this is normal. what is recommended is that every time you get a success you keep a time that was checked. With that time you can decide weather to allow your user to use the app for a certain amount of time for not. Ex the user is allowed...
I think you're in the wrong method. From Apple documentation, paymentQueueRestoreCompletedTransactionsFinished tells the observer that the payment queue has finished sending restore transactions. This method is called after all restorable transactions have been processed by the payment queue. Your application is nos required to do anything in this method. I...
ios,objective-c,in-app-purchase,restore
Try the following : On Restore button click --> - (IBAction)retoreinApp:(id)sender { //set addTransactionObserver to self. [[SKPaymentQueue defaultQueue] addTransactionObserver:self]; [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; } This will call - (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue { UIAlertView *alert ; if(queue.transactions.count >0) { for (SKPaymentTransaction *transaction in queue.transactions) { NSString *productId = transaction.payment.productIdentifier; NSLog(@"...
This is now fixed. I was using a remote notifications SDK and it was tracking purchases too (So I was able to send notifications to specific paying users). The SDK was adding a transactionObserver before the payment system and it wasn't doing anything with it. That means that the updateTransaction...
android,in-app-purchase,in-app-billing,in-app-subscription
I want to give Ans to my own que's ans, So that if some one looking for the same can find the solution. After lots of google I did not find a exact solution I was looking for So I create a method in BillingProcessor class in iabv3 library project...
ios,in-app-purchase,itunes-store
There is no way for you to detect if the user has signed into their account in the app store. Is there a particular reason why you are looking for this functionality? Your app should not worry about this....
ios,objective-c,in-app-purchase
If your application is in Waiting for review state then you can submit your IAP by rejecting current version & uploading new version. Otherwise your IAP will be available once you upload a new version on iTunes Store. "Your first In-App Purchase must be submitted with a new app version....
See this link- iPhone : In-App Purchase(s) must be submitted with a new app version Before app submission you have to submit your all products....
ios,objective-c,in-app-purchase
No. Not at all. Apple is very clear about this: "work on all devices".
ios,in-app-purchase,app-store,apple
If anyone have the same problem... Most of the times are developer errors but this time the problem was on apple side. So, after a week trying to solve them with no success, they suddenly worked without any changes. Hope it helps!...
This is definitely more of a philosophical question. When it comes to security in general, there is never enough. It comes down to risk-assessment. Your situation has three-facets: Purchase authentication - which if you are doing it right, Google has created a practically secure solution. If you don't even call...
android,android-studio,in-app-purchase
The Android emulator does not support In App Purchases. See the official documentation for more information: http://developer.android.com/google/play/billing/billing_testing.html...
android,in-app-purchase,admob,in-app-billing,interstitial
Look at line #211 of GameActivity. You are calling interstitial.isAdLoaded(). At this point in time interstitial is null.
The guidelines are very clean about this. Probably Apple does not notice that you have your own purchase system, but are you willing to base your business on a risk that one day you app will be removed from the App Store? 11.2 Apps utilizing a system other than the...
ios,in-app-purchase,storekit,non-renewing-subscription
Yes you can use the non-renewing subscription option for your application. Reference tutorial link If you would not like to provide any functionality free then I will suggest to make your application as paid application. Otherwise maximum chances are there for your application to be rejected....
Apple does not allow in-app purchases from the simulator. You'll need a real device. In App Purchases For IOS 7 Simulator Possible?
It's up to you what you do when a payment is restored. What I do in my app is the same thing I do in the .Purchased case - I switch on the hidden functionality. It looks like in your app, you'd turn off the ads. In fact, in my...
ios,in-app-purchase,storekit,skproduct
Ok, I had the exact same problem yesterday with another app of mine. Do this. Launch App Store on your actual device Go to featured tab All the way at the bottom change your Apple ID to your test ID When you do that then maybe another window that may...
If you connect to your server for registering user info, you can always create an API which executes on app launch to verify that user is full access user or not. But I am afraid your case is not the above one. In that case you would require to sync...
I finally found a user getting a null intent who was not doing anything dodgy with in-app purchases. He was on kitkat. The fix was this: if (OSUtils.lollipopOrHigher) { serviceIntent = getExplicitIapIntent(); } else { serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND"); serviceIntent.setPackage("com.android.vending"); } Another option would be to check for null and...
ios,objective-c,in-app-purchase
Here is a good start for what Apple suggests for data storage locations: https://developer.apple.com/icloud/documentation/data-storage/index.html You have multiple options for digging into the bundled vs purchased content. In your example, your image name is prefixed by something that could be used to differentiate categories of content, so you can use...
Soomla IAB error while purchasing in Game on Android this was my question, i think is the same problem, so , the problem is on the Google developer console, in order to buy you must publish the apk ,even if it is a beta or Alpha, and after ,you can...
android,in-app-purchase,in-app-billing
You have to do it in your Google Wallet Merchant. Read this Google Documentation: Once an order is refunded - on a non-rooted device - the order will be invalid if queried. IAB considers it as a purchaseState==2 (2 is refunded according to Table 4 in here). Note that the...
ios,xcode,cocoa-touch,ios8,in-app-purchase
So after many hours of searching the Stack-Exchanges, Google and the Apple Dev Forums, I finally found an answer that helped me... and now I feel really dumb. Thanks to THIS answer here on this Exchange, I've solved my problem and have now successfully purchased my In-App Purchase using a...
I've previously applied to use an auto-renewing subscription for a business app, and was rejected (I've seen reports from others that this has been the case well). Even though the guidelines list the 'business' usage is acceptable, Apple are clearly aiming them at periodicals only. There are other issues with...
ios,in-app-purchase,payment,subscription,mastercard
You should consider familiarizing yourself with the App Store Review Guidelines Specifically section 11 which outlines Purchasing and Currency in the iOS world. Typically you can't use the users credit card for any digital products that can be used in your App. This is why Kindle, for instance, only let...
Non consumable in first instance. It doesn't consume. Once the user has purchased info on certain member x that info when valid will always be available. And non auto renewing for the second instance ...
android,in-app-purchase,android-billing
You have to add emails of testers into Google Play Console. There is field in the settings tab, looks like this: ...
ios,in-app-purchase,auto-renewing
"can I unlock some premium feature in my app with auto renewable subcription and keep a limited version of my app available for unsubscribed users? " Yes, as long as your app falls into certain categories. Per 11.15 of the App Store Review Guidelines (28-Feb-2015): Apps may only use auto-renewing...
Please go through apple review guidelines and your doubts will be cleared. You can use third party payment gateway,if you are offering physical goods,service outside app. If you are selling your content or service inside app then you must use inapp-purchase. As per purchasing currencies guideline, Apps utilizing a system...