Questions tagged [mkstorekit]

MKStoreKit is a 3rd party framework for implementing In App Purchases in iOS apps. It supports virtually every feature supported by App Store. It supports, Auto-renewable subscriptions, Consumables, non-renewable subscriptions, and good old non-consumables and a whole lot others. MKStoreKit uses zLib licensing. All of the source code can be used royalty-free, just makeing sure that the copyright notice is not removed from the source code.

85 questions
14
votes
1 answer

iOS Incompatible block pointer types issue

I have an implementation problem with a project using MKStoreKit. I am trying to implement an UIAlertView with various purchase options. Here is the code where I do various things and call up UIAlertView: -…
8
votes
2 answers

How can I reset sandboxed in-app purchases on iOS for testing?

I made a sandbox iTunes user, bought an item. That worked but there were some issues in my code for displaying the item. So, I want to re-buy it to test again. Problem is, I can't clear my purchases. I signed out my sandbox user, deleted the app and…
Kenny Winker
  • 11,919
  • 7
  • 56
  • 78
7
votes
1 answer

MKStoreKit crash on iOS 7 with SIGTRAP error

I have been over and over this live app crash log and cannot find the problem: 1 CoreFoundation _CFHash + 130 2 CoreFoundation CFBasicHashFindBucket + 724 3 CoreFoundation _CFDictionaryGetValue + 99 4 CoreFoundation …
SAHM
  • 4,078
  • 7
  • 41
  • 77
7
votes
5 answers

Cannot connect to iTunes store error

Well, I'm having this issue now. I'm using MKStoreKit in my in-app purchase. This are my errors: Failed transaction: error: Error Domain=SKErrorDomain Code=2 "Cannot connect to iTunes Store" UserInfo=0x13654a90…
Vergmort
  • 399
  • 1
  • 6
  • 18
6
votes
1 answer

Notifications with MKStoreKit

I'm using MKStoreKit for auto-renewable subscriptions and everything is working fine, but I don't know what do these Notifications do. (kSubscriptionsPurchasedNotificationand kSubscriptionsInvalidNotification). When I call them in ViewDidLoad or…
Slavcho
  • 2,792
  • 3
  • 30
  • 48
5
votes
1 answer

Implementing dynamic server product list with MKStoreKit?

I'm implementing MKStoreKit in my app, but the nature of the app is such that it will need to support frequent, dynamic changes to the list of available (non-consumable) products for in app purchase. Thus, I need to be able to regularly query our…
Murdock
  • 826
  • 9
  • 21
5
votes
0 answers

In-App purchases Apple ID vs server's user

I'm trying to implement a multi-platform app with in-app purchases. I'm using MKStoreKit and non-consumable content. I would use user registration in the server side. The app could be used without registering any user, so it would be possible to…
4
votes
2 answers

iPhone: Check In-App Purchase status Programmatically

As you know that, In-App Purchase can be turned on and off from Settings->General->Restrictions. Now i am wondering, is there any way to check the status of of In-App Purchase programmatically, before we actually make any payment.
Ansari
  • 1,907
  • 2
  • 23
  • 34
4
votes
1 answer

MKStoreKit autorenewable subscriptions

I am using MKStoreKit to handle autorenewable subscriptions. I'm currently testing a 1 month subscription (in test a subscription lasts 5 minutes). After I purchase the subscription I wait for it to expire. Once it expires I check if the…
Joe
  • 61
  • 5
3
votes
1 answer

MKStoreKit 4.0 for Auto-renewal subscriptions

The app is such that all content can be accessed only once a user has subscribed to a scheme (1 month, 3 months, 6 months or a year). So initially when the app is first installed a view with options to buy these schemes appears. Once a user selects…
Jefferson
  • 1,457
  • 2
  • 11
  • 13
3
votes
1 answer

Is MKStoreKit still maintained and fully compatible to iOS 12?

I have been using an earlier version of MKStoreKit within an older iOS app to manage the In-App Purchases. It worked quite well. Now I am working on a new app which should support auto renewable subscriptions. I would like to use MKStoreKit again.…
Andrei Herford
  • 17,570
  • 19
  • 91
  • 225
3
votes
1 answer

Can I persist SKProduct to disk to speed up in app purchases (remove network calls)?

I want to remove any round trip needed in order to create a list of SKProduct options which is then used to create a SKMutablePayment / SKPayment action. Is there any guidance on how to serialize SKProduct? How long can the data can be cached for…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
3
votes
1 answer

MKStoreKit without internet connection

I'm using the latest MKStoreKit to make an in-app purchase. The problem I've ran into is that when the app doesn't have internet when it starts, the products aren't loaded from the app store. If I then run - (void) buyFeature:(NSString*) featureId …
thejaz
  • 2,763
  • 2
  • 26
  • 40
3
votes
1 answer

SFHFKeychainUtilsErrorDomain error -2000

The operation could not be completed. (SFHFKeychainUtilsErrorDomain error -2000.)(trouble with password) SFHFKeychainUtilsErrorDomain used by MKStorekit.
3
votes
2 answers

Compile error in MKStoreKit

I'm getting an error: Incompatible block pointer types sending 'void (^)(NSString *_strong)' to parameter of type 'void (^)(NSString *_strong, NSData *__strong)' When I'm implementing MKStoreKit 4.3 in my app on the line of…
XIII
  • 2,036
  • 16
  • 25
1
2 3 4 5 6