Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8746127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:08:46+00:00 2026-06-13T12:08:46+00:00

I am Using MKStoreKit for autorenewable subscription. On Button’s TouchUpInside method I am using

  • 0

I am Using MKStoreKit for autorenewable subscription.

On Button’s TouchUpInside method I am using following code..

if([[MKStoreManager sharedManager] isSubscriptionActive:kSubscriptionMonthlyIdentifier]){
  //access to subscription feature
}else{
  //ask user to buy
}

It always returns me false. And ask user to buy.

When I tried to buy again it shows me that You are already subscribed.

  • Is there something that I am doing wrong?

  • Is there any other method to check if subscription is active or not.

  • How should I know that subscription is renewed?

Any help would be appreciated.

Thanks in Advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:08:47+00:00Added an answer on June 13, 2026 at 12:08 pm

    1) You should initialize MKStoreKit by adding [MKStoreManager sharedManager]; in your applicationDidFinishLaunching.

    2) You should check, that you correctly fill MKStoreKitConfigs.plist:

    you must add your subscriptions in-app ids to Subscriptions dictionary (in format: "subs id" - "subs duration").

    In apple documentation you could find info about auto-renewable subs:
    every renewal of the auto-renewable subscription new transaction would be generated and send to your application. In theory, MKStoreKit must take care about all this stuff, and isSubscriptionActive should work.

    Also, you could add button for restoring previous purchases. So, in your case, when user press buy button before calling -isSubscriptionActive call -restorePreviousTransactions, or you can add this button, so user can restore previous transaction^ if he already has bought subscription.

    You could add observers for this notifications:

    #define kSubscriptionsPurchasedNotification @"MKStoreKitSubscriptionsPurchased"
    #define kSubscriptionsInvalidNotification @"MKStoreKitSubscriptionsInvalid"
    

    First notification MKStoreKit generate, when Subscription was renewed (or purchased), second one – when renewing failed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using MKStoreKit, and it features a rather useful method to restore purchases, as
I am using in-app purchase to buy a set audiobooks. I am using MKStoreKit
My Xcode project imported MKStoreKit. And I followed to this. http://blog.mugunthkumar.com/coding/using-mkstorekit-in-your-apps/ But it has
I'm trying to implement in app purchases in my App using MKStoreKit. I've followed
I'm using the latest MKStoreKit to make an in-app purchase. The problem I've ran
I'm using MKStoreKit in my application. Now I'd like to add RestKit as well,
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button
Im trying to implement In-App Purchase. The code is ready (Im using the framework
I'm looking at using MKStoreKit to handle in-app purchases, Server Product Model, non-consumables, where
Using following mysql query: SELECT DATE_FORMAT(time, '%Y-%m-%d') AS time,report,count(ip) AS countip FROM asn_data WHERE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.