Testing of In-App-Purchasing in ios
I am using In-App-Purchasing first time in ios,for this i have follow the steps which is given on following links.
I have add two consumables product in my application on itunes connect. create and download new provisioning profile and configure it with my project. create test user for testing in-app-purchase
my issue is
"response.products.count" is empty on device AND on simulator it returns 2(which is correct product).
I don't know why it is not working on device.
(1). Can we test In-App-Purchasing with sandbox mode on "unlock devices" ?
(2). Can we test In-App-Purchasing with sandbox mode on "Jailbreak Devices" ?
Can you please help me to resolve this issue.
please follow this link there is step by step proce dure described. may be possible you miss something. http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial
This is a bug from apple server side. because from last couple of days many test accounts are not working.
fix this issue, I simply registered a new user in iTunesConnect, but I set their store to 'USA'.
for testing in app purchase check that in device you are not logged in to app store from apple id if you are logged in App Store then sign out all of account and then test in app purchase within application..
Some times there will be problem while fetching products from server if your application works in simulator then it will working fine with your Device ....just checkout your certificate that you used for testing in device and also checkout sandbox account ..it working try thanks...