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

  • SEARCH
  • Home
  • 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 1093037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:46:16+00:00 2026-05-16T23:46:16+00:00

I am developing an application and using in-app purchases in it. i have created

  • 0

I am developing an application and using in-app purchases in it. i have created in-app products in iTunes Connect. till yesterday everything was working fine. but today. it started giving this error.

“Error: Payment requests are restricted to products returned as valid via Store Kit’s didRecieveResponse method.”

i have no idea what is the issue. please reply

  • 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-05-16T23:46:16+00:00Added an answer on May 16, 2026 at 11:46 pm

    Ok, This may be the smoking gun —

    According to the official dataflow from the Store Kit apps, you are supposed to retrieve information about the available purchases (SKProductsRequest) before trying to make a purchase (SKPaymentQueue).

    I added code to do just that, even though the localized data wasn’t being used. I made the call, verified the item was present, and just dumped an NSLOG about it.

    The purchase went through, with no errors!

    I then removed the code that called SKProductsRequest, and re-ran it, and got the “Payment requests are restricted…” error message.

    It almost seems like the store kit framework was changed in such a way as to REQUIRE you to make a call to SKProductsRequest, in order for purchases to behave correctly when tehy are added to SKPaymentQueue.

    In computer science speak, they seem to have introduced a hard dependence between the two logically related, but separate modules. This is a REALLY bad practice.

    Try adding this code into your app, and call dumpProductInfo at some point prior to making “real” calls to SKPaymentQueue and see if it starts working — be sure to update the embedded string literal with your actual product identifier(s).

    -(void) dumpProductInfo
    {
            SKProductsRequest *request = [[SKProductsRequest alloc] initWithProductIdentifiers:[NSSet setWithObject:@"com.company.domain.app.purchase"]];
            request.delegate = self;
            [request start];
    }
    
    - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
    {
        NSArray *myProduct = response.products;
        // populate UI
        NSLog(@"Products:");
        for (int i = 0; i < [myProduct count]; i++)
        {
            SKProduct *product = [myProduct objectAtIndex:i];
            NSLog(@"Name: %@ - Price: %f   ID: %@" ,
                  [product localizedTitle],
                  [[product price] doubleValue], 
                  [product productIdentifier]);
    
        }
    }
    

    Follow-up: as mentioned below, Apple Technical Note QA1691 confirms that what I thought was happening was correct — two weeks after we figured it out :p

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

Sidebar

Related Questions

I am developing an application using MVC Preview 5. I have used typed views.
I am developing a web application using Struts 2.1.2 and Hibernate 3.2.6.GA. I have
Hey I am developing an desktop application using Spring and Hibernate, and I have
I`m developing an application using Spring WebFlow 2, Facelets and JSF. One of my
I am developing an application using Windows Mobile 5.0, under embedded VC++ 4.0, and
I developing ASP.NET application using a Swedish version of Windows XP and Visual studio
I'm developing a web- application using NHibernate. Can you tell me how to write
I'm developing a Java application using Eclipse. My project has two source directories that
I am developing a WinForms application using the MVP pattern. I would like to
I am currently developing a Rails application using a database that was designed before

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.