Problems during the test of In-App Purchase - iphone

Im trying to implement In-App Purchase. The code is ready (Im using the framework MKStoreKit 4.0) but I cant test it, I always get an error.
My application is not 100% ready. So I just created the application on itunesconnect without submitting source code.
My app status is "Prepare for Upload" and my In-App Purchase status is "Ready to submit".
Its possible to test In-App Purchase at this point? Or I have to do something else?
Any help would be appreciated.
RafCad

The error that I was getting:
Problem in iTunes connect configuration for product"
But, after following the steps on this page:
troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/ it started working.
I think that the problem was related with the step 5 from the link.

Related

In App purchase is getting rejected again and again

i have implemented the in app purchase in my application and added few in app purchases. on itunes connect i have filled all the details for the in app purchases. Initially the status of in app purchase was "waiting for review" and i was able to test in app purchase in sandbox env. but after every 4 days, in app purchases gets new status "developer action needed" and in the language section there is a "rejected" sign of in app purchase. so to make this use able again i have been using to make little change in description, which makes the in app purchase again in review
as history of the project is: right now application version 1.0 is available on app store in which in app purchases are not implemented
and i have added new application version 2.0 which is in "rejected by developer" state
so i just want to know why itunes connect team is rejecting in app purchase again and again?
also im not getting any email regarding this rejection
any one guide me what is the solution to this problem or any one else has faced this issue before?
Have you uploaded new version on apple store which is having in-app purchase code implemented ? if not then they will reject the in-app purchase items.
also if apple is rejecting your in-app purchased , then have you provided all the details to them. As if they find the in-app purchase improper then they can can reject it. Provide them proper details and proper screen shot for the same.
Also if apple is rejecting your in-app purchase then you may can ask apple review team about the issue. Use the Link. they will let you know the exact issue.
Hope this will help you.
I recently had this problem with an app submitted to Apple.
There is a fallback system that needs to be in place for server side in app purchase validation.
It is documented in Apple, but VERY well hidden in tech note :
http://developer.apple.com/library/ios/#technotes/tn2259/_index.html
Here is the way to do it :
"Always verify your receipt first with the production URL; proceed to verify with the sandbox URL if you receive a 21007 status code.
Following this approach ensures that you do not have to switch between URLs while your application is being tested or reviewed in the sandbox or is live in the App Store."

in app purchase testing is done, do I need to do anything before uploading to app store

I have made an app and integrated in app purchases feature.
After reading a lot and lot I have finally working in app purchasing featured app and when I use my test account (created through iTunesconnect), it all just go smoothly and works as like expected.
I just wanted to ask that, do I need to make any configuration in iTunes connect or enable/disable any options before going live by uploading the app to the app store?
Or should I consider that if the test account works well, it will be working live too without any additional changes.
Also let me tell you all that I am a beginner for this in-app purchasing concern so please forgive if this is a silly question. :)
Thanks,
Just make sure that you link the in-app purchase to the correct version of your app in iTunes Connect and that your in-app purchase is ready for review. It that is correct, then you're ready for upload and review.

iPhone StoreKit: in App Purchase: Invalid Product id

I know this question has been asked before but I am still facing issues with the in app purchase.
I have read the apple document, followed the checklist of http://troybrant.net/blog/2010/01/invalid-product-ids/
But I am still facing problem in making the in app purchase to work.
I followed a video tutorial to create the StoreKit, my codes are fine. When I do NSLog for
NSLog(#"Invalid productRequest count %d", [response.invalidProductIdentifiers count]);
The result: Invalid productRequest count 1
I have submitted the binary code and rejected it. I hope this is not an issue for the IAP to work.
What I am doing different in order to make the in App Purchase to work.
Can someone kindly advice me if I am making a mistake or what should I do to ensure the iap to work.
Your response will be much appreciated.
Thank you.
if you are working on jailbroken device, I'd suggest you to restore factory version and try again. Somewhat jailbroken device has an issue to run testing in app purchase in sandbox.
The steps taken to make the in-app-Purchase to work:
1) Created unique App ID: com.yakimbi.inAppPurchase
2) Created Provisioning Profile, download and installed it.
3) Add the application to iTunes Connect App Store.
4) Upload the app binary file, and rejected it. The status is Developer Rejected.
5) The product is added in Manage You in App Purchase, ProductID is com.yakimbi.inAppPurchase.ProductTest1, created as non-consumable item.
6) Wrote the StoreKit code to request the Product.
7) Waited for more then 48hours once the product is added.
8) Created a Test User account.
9) Updated the code with supporting transaction.
10) Sign Out my account on the device.
11) Run the app on the device.
12) But I get inValidPurchaseIdentifier count 1.
13) Never got prompted for username and password.
What steps have I left out while creating this. I hope someone could guide me. Thank you.
Try to remove the app manually from the device.
Sign out of your account on the device.
Then reset the device and try again.
These worked for me.
Restarted my Macbook, and it worked.

Help me on my app version 2

I have one iPhone app in app store, in that application my in app purchase was working correctly.
again submited my another version of application without changing the code but now the in app purchase it is not working...
Please help me out, why my in app purchase is not working actually.
Check Whether it is showing "Clear for sale" status for in app purchase items in itunes.

Help! Do i need to approve the application

I am trying to implemend in app purchase in my application.
when i run the application on the device, i get invalid product identifiers as response.
I have added the application to in app purchase , and made it to cleared for sale.
And the status is " Pending developer approval"
But i did not approve the application still...
Do i need to approve the the application to fix the invalid product identifiers error....
am i missing any point here..
Thanks for any help.
You need to add an "In-App Purchase Test User" on iTunes Connect, and use it for testing your in-app purchase.