{"action":"closed","issue":{"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/652","repository_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase","labels_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/652/labels{/name}","comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/652/comments","events_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/652/events","html_url":"https://github.com/j3k0/cordova-plugin-purchase/issues/652","id":276947348,"node_id":"MDU6SXNzdWUyNzY5NDczNDg=","number":652,"title":"How to Restore Purchase in iOS when user already purchase product?","user":{"login":"singhlovey","id":34024501,"node_id":"MDQ6VXNlcjM0MDI0NTAx","avatar_url":"https://avatars1.githubusercontent.com/u/34024501?v=4","gravatar_id":"","url":"https://api.github.com/users/singhlovey","html_url":"https://github.com/singhlovey","followers_url":"https://api.github.com/users/singhlovey/followers","following_url":"https://api.github.com/users/singhlovey/following{/other_user}","gists_url":"https://api.github.com/users/singhlovey/gists{/gist_id}","starred_url":"https://api.github.com/users/singhlovey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhlovey/subscriptions","organizations_url":"https://api.github.com/users/singhlovey/orgs","repos_url":"https://api.github.com/users/singhlovey/repos","events_url":"https://api.github.com/users/singhlovey/events{/privacy}","received_events_url":"https://api.github.com/users/singhlovey/received_events","type":"User","site_admin":false},"labels":[{"id":42469734,"node_id":"MDU6TGFiZWw0MjQ2OTczNA==","url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-27T09:16:16Z","updated_at":"2018-06-10T16:58:41Z","closed_at":"2018-06-10T16:58:41Z","author_association":"NONE","body":"Hi,\r\n\r\nI just want to know is there any function which I can use to fetch restore purchase in iOS app. I am using this plugin in iOS app and using [cranberrygame/cordova-plugin-payment-iap](url) plugin in android app and they have provide function **restorePurchases() { }** function to fetch already purchased product details. I want the same in iOS app.\r\n\r\nPlease help ASAP!\r\n\r\nIt would be great if someone provide example code.\r\n\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"stale"}}