{"action":"created","issue":{"url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase/issues/164","repository_url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase","labels_url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase/issues/164/comments","events_url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase/issues/164/events","html_url":"https://github.com/AlexDisler/cordova-plugin-inapppurchase/issues/164","id":248826487,"node_id":"MDU6SXNzdWUyNDg4MjY0ODc=","number":164,"title":"\"Payment Successful\" - But still catch errors. The success promises is not executing ","user":{"login":"shahkhalid-me","id":8138036,"node_id":"MDQ6VXNlcjgxMzgwMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/8138036?v=4","gravatar_id":"","url":"https://api.github.com/users/shahkhalid-me","html_url":"https://github.com/shahkhalid-me","followers_url":"https://api.github.com/users/shahkhalid-me/followers","following_url":"https://api.github.com/users/shahkhalid-me/following{/other_user}","gists_url":"https://api.github.com/users/shahkhalid-me/gists{/gist_id}","starred_url":"https://api.github.com/users/shahkhalid-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahkhalid-me/subscriptions","organizations_url":"https://api.github.com/users/shahkhalid-me/orgs","repos_url":"https://api.github.com/users/shahkhalid-me/repos","events_url":"https://api.github.com/users/shahkhalid-me/events{/privacy}","received_events_url":"https://api.github.com/users/shahkhalid-me/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-08T19:50:51Z","updated_at":"2018-06-18T14:42:49Z","closed_at":null,"author_association":"NONE","body":"Hi! Trying to implement subscription for an app. An alpha release of the app is available on google play store. The product can be subscribed successfully. But i am always getting error.  The success promise is not executing.\r\n### Here is my code \r\n```js\r\ninAppPurchase\r\n            .getProducts(['APP_ID'])\r\n            .then(function(products) {\r\n                inAppPurchase\r\n                    .subscribe('APP_ID')\r\n                    .then(function(data) {\r\n                        alert(\"Subscription : \" + JSON.stringify(data));\r\n                   }).then(function() {\r\n                        alert(\"Success\");\r\n                    }) .catch(function(err) {\r\n                        // always getting this error\r\n                        alert(\"ERROR:\" + JSON.stringify(err));\r\n                    });\r\n            }) ;\r\n```\r\n\r\n### Here are some screenshots \r\n![Image 1](http://nerdsinn.com/assets/apps/messaging/errors/1.png)\r\n![Image 2](http://nerdsinn.com/assets/apps/messaging/errors/2.png)\r\n![Image 3](http://nerdsinn.com/assets/apps/messaging/errors/3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase/issues/comments/398078369","html_url":"https://github.com/AlexDisler/cordova-plugin-inapppurchase/issues/164#issuecomment-398078369","issue_url":"https://api.github.com/repos/AlexDisler/cordova-plugin-inapppurchase/issues/164","id":398078369,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODA3ODM2OQ==","user":{"login":"acentriatech15","id":37923686,"node_id":"MDQ6VXNlcjM3OTIzNjg2","avatar_url":"https://avatars3.githubusercontent.com/u/37923686?v=4","gravatar_id":"","url":"https://api.github.com/users/acentriatech15","html_url":"https://github.com/acentriatech15","followers_url":"https://api.github.com/users/acentriatech15/followers","following_url":"https://api.github.com/users/acentriatech15/following{/other_user}","gists_url":"https://api.github.com/users/acentriatech15/gists{/gist_id}","starred_url":"https://api.github.com/users/acentriatech15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acentriatech15/subscriptions","organizations_url":"https://api.github.com/users/acentriatech15/orgs","repos_url":"https://api.github.com/users/acentriatech15/repos","events_url":"https://api.github.com/users/acentriatech15/events{/privacy}","received_events_url":"https://api.github.com/users/acentriatech15/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T14:42:49Z","updated_at":"2018-06-18T14:42:49Z","author_association":"NONE","body":"@rremy I have added \"play_store_key\" in the manifest.json file but still the same issue.\r\n\r\nPlease help!"}}
{"actor":{"display_login":"acentriatech15"}}