I have implimented In App Purchase in my application. when i try to buy a product it goes to SKPaymentTransactionStateFailed and gives the error message Can't connect to the iTunes Store when i press a button to buy product then this code is called
MKStoreManager * manager = [MKStoreManager sharedManager];
[manager buyFeatureA];
the classes that i am using for purchase are given on these links
Please help me i am so much worried about this 🙁
Thanx in advance
Guys in my case i didn’t uploaded the application on App store. For In App Purchase we should upload our app on app store and when app is in “Waiting for review” state then reject your App Binary and then check In App Purchase in your App.