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 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

im developing an application on windows using flash, compiling in AIR 2.0. This compiler
I'm developing application WinForms .net 4.0 using C# and the backend is SQL Server
I'm developing a data-driven application using Core Data. I display the tables from the
I started developing application with Django on Ubuntu. I am using Apache 2.2. with
We are developing an MVC app using STS. We used the WIF tools to
I am developing a mobile app using HTML5, Javascript, jQuery Mobile, and offline storage.
I am developing an application in C# under Framework 4.0. In my application I
I'm developing a web application with multiple frameworks (spring, hibernate, spring-security, ZK for GUI),
What is the best-practice for developing web-pages for both non-JS-enabled and JS-enabled pages? I
I hope you can help! In brief, what I need is something like a

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.