InAppPurchase Invalid Product Identifiers - Possible Causes

It was a long night chasing a problem in my in-app purchase trials, but I can't solve this problem. My product id keeps returning as "invalid product id". Hope someone points out this; (I have push notifications with the current initialization profile and appId)

  1. My app id generated (no wildcards) - inApp purchase enabled

  2. My IAP (in-app purchase) has been added to the "In-app purchase management" section and has been cleared for sale.

  3. My IAP was added 24 hours ago (maybe a couple more hours) and is in the "Waiting for viewing" state.

  4. My application itself is rejected by the developer> and in the "ready to download" state, a purchase from the application has been added to the application.

  5. My phone is not jailbroken (at least it no longer worked anyway)

  6. I work with 3GS, iOS 5.1.

  7. My current provisioning profile is a Developer Profile, not a Distribution Profile. The "distribution profile" is used only when downloading the application binary.

  8. I'm going for iOS 5.0, and the build configuration is set to Debug.

  9. I literally uninstalled the application 100 times.

  10. All details are installed in iTunes Connect, including bank details.

  11. I created a test user and went into "Settings> Store" on my device.

  12. My SKProductRequest:

    SKProductsRequest *productRequest = [[SKProductsRequest alloc]initWithProductIdentifiers:[NSSet setWithObject:@"com.my_site.my_app.my_product"]];
    

Any other information may be provided.

+7
6

, , . , .

, SKProductRequest :

SKProductsRequest *productRequest = [[SKProductsRequest alloc]initWithProductIdentifiers:[NSSet setWithObject:@"com.my_site.my_app.my_product"]];

:

com.my_site.my_app.my_product

, , WORKED;

# 1

SKProductsRequest *productRequest = [[SKProductsRequest alloc]initWithProductIdentifiers:[NSSet setWithObject:@"my_product"]];

, ;

# 2

SKProductsRequest *productRequest = [[SKProductsRequest alloc]initWithProductIdentifiers:[NSSet setWithObjects:@"com.my_site.my_app","my_product",nil]];

, , , " ", . IAP, .

, , .

+6

iTunes Connect. , .

+1

( ).

0

, , .

  1. XCode.

  2. ?

  3. .plist ?

  4. ?

  5. ?

  6. SKProductRequest?

  7. iTunes Connect?

  8. iTunes Connect?

  9. ? , , IAP .

No , .

,

0

. :

  • , BundleID iTunes Connect Xcode.
0

:

  • XCode, . , Xcode -.
  • , com.company.app.product
  • it took me about 2 hours to make it work, so maybe for a while it updates on Apple servers
0
source

All Articles