{"action":"created","issue":{"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/217","labels_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/217/comments","events_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/217/events","html_url":"https://github.com/j3k0/cordova-plugin-purchase/issues/217","id":87711410,"number":217,"title":"How to display the price without store.refresh()","user":{"login":"Sanafan","id":8384797,"avatar_url":"https://avatars.githubusercontent.com/u/8384797?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanafan","html_url":"https://github.com/Sanafan","followers_url":"https://api.github.com/users/Sanafan/followers","following_url":"https://api.github.com/users/Sanafan/following{/other_user}","gists_url":"https://api.github.com/users/Sanafan/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanafan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanafan/subscriptions","organizations_url":"https://api.github.com/users/Sanafan/orgs","repos_url":"https://api.github.com/users/Sanafan/repos","events_url":"https://api.github.com/users/Sanafan/events{/privacy}","received_events_url":"https://api.github.com/users/Sanafan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T12:13:50Z","updated_at":"2015-06-12T13:24:34Z","closed_at":null,"body":"Hey Guys,\r\nwe have an Application in which we have some non consumeable products. We want to display the price for the user, but therefore we need store.refresh(). Apples Guidelines are clear: If you want to display the price, you have to take the price which comes from your request to the server. \r\n\r\nSo if i no implement store.refresh() it will prompt the user to sign in into his apple ID but this isn't a normal behaviour. \r\n\r\nIf i choose an application from the app store, which has InApp-Purchases, and i start the application for the first time, i don't have to log in to the the prices for the inApp-Purchases. \r\n\r\nSo... does anybody have an idea how to fix this or what would be the best workflow for that? I don't want the user to enter his password, only for the reason, that he's able to see our prices. \r\n\r\nAnd if i would need the user to login into his apple id, why do i retrieve title, description and price although i click cancel when the login window appears."},"comment":{"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/comments/111492362","html_url":"https://github.com/j3k0/cordova-plugin-purchase/issues/217#issuecomment-111492362","issue_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/217","id":111492362,"user":{"login":"uareurapid","id":2683953,"avatar_url":"https://avatars.githubusercontent.com/u/2683953?v=3","gravatar_id":"","url":"https://api.github.com/users/uareurapid","html_url":"https://github.com/uareurapid","followers_url":"https://api.github.com/users/uareurapid/followers","following_url":"https://api.github.com/users/uareurapid/following{/other_user}","gists_url":"https://api.github.com/users/uareurapid/gists{/gist_id}","starred_url":"https://api.github.com/users/uareurapid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uareurapid/subscriptions","organizations_url":"https://api.github.com/users/uareurapid/orgs","repos_url":"https://api.github.com/users/uareurapid/repos","events_url":"https://api.github.com/users/uareurapid/events{/privacy}","received_events_url":"https://api.github.com/users/uareurapid/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T13:24:34Z","updated_at":"2015-06-12T13:24:34Z","body":"You mean in production env? When you´re just using the app downloaded from the App Store? \r\nNo, it should not since you´re already logged in with your real account, and you´re just getting the product details, not buying anything. \r\nHowever, it is possible that at the moment that you actually purchase it can ask you a password just for confirmation (this depends of the device configurations on Settings-->iTunes & App Store-->Password Settings). There are some options there regarding \"password requirement\" for in-app purchases that should be considered"}}