{"action":"created","issue":{"url":"https://api.github.com/repos/serso/android-checkout/issues/124","repository_url":"https://api.github.com/repos/serso/android-checkout","labels_url":"https://api.github.com/repos/serso/android-checkout/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/serso/android-checkout/issues/124/comments","events_url":"https://api.github.com/repos/serso/android-checkout/issues/124/events","html_url":"https://github.com/serso/android-checkout/issues/124","id":268924460,"node_id":"MDU6SXNzdWUyNjg5MjQ0NjA=","number":124,"title":"onSuccess() is not triggered within PurchaseListener","user":{"login":"matinzk","id":6269565,"node_id":"MDQ6VXNlcjYyNjk1NjU=","avatar_url":"https://avatars2.githubusercontent.com/u/6269565?v=4","gravatar_id":"","url":"https://api.github.com/users/matinzk","html_url":"https://github.com/matinzk","followers_url":"https://api.github.com/users/matinzk/followers","following_url":"https://api.github.com/users/matinzk/following{/other_user}","gists_url":"https://api.github.com/users/matinzk/gists{/gist_id}","starred_url":"https://api.github.com/users/matinzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matinzk/subscriptions","organizations_url":"https://api.github.com/users/matinzk/orgs","repos_url":"https://api.github.com/users/matinzk/repos","events_url":"https://api.github.com/users/matinzk/events{/privacy}","received_events_url":"https://api.github.com/users/matinzk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-26T21:55:46Z","updated_at":"2018-08-28T20:58:31Z","closed_at":null,"author_association":"NONE","body":"I am testing my app \"android.test.refunded\" and \"android.test.purchased\" but onSuccess is never triggered.\r\n\r\nThe error I get within PurchaseListener is:\r\n```\r\norg.solovyev.android.checkout.Check$AssertionException: Object should not be null\r\n```\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/serso/android-checkout/issues/comments/416738189","html_url":"https://github.com/serso/android-checkout/issues/124#issuecomment-416738189","issue_url":"https://api.github.com/repos/serso/android-checkout/issues/124","id":416738189,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjczODE4OQ==","user":{"login":"Delilovic","id":6611242,"node_id":"MDQ6VXNlcjY2MTEyNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/6611242?v=4","gravatar_id":"","url":"https://api.github.com/users/Delilovic","html_url":"https://github.com/Delilovic","followers_url":"https://api.github.com/users/Delilovic/followers","following_url":"https://api.github.com/users/Delilovic/following{/other_user}","gists_url":"https://api.github.com/users/Delilovic/gists{/gist_id}","starred_url":"https://api.github.com/users/Delilovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delilovic/subscriptions","organizations_url":"https://api.github.com/users/Delilovic/orgs","repos_url":"https://api.github.com/users/Delilovic/repos","events_url":"https://api.github.com/users/Delilovic/events{/privacy}","received_events_url":"https://api.github.com/users/Delilovic/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T20:58:31Z","updated_at":"2018-08-28T20:58:31Z","author_association":"NONE","body":"After 5 days of trying every option (debugging and release billing) I just realized that I forgot to add\r\n\r\n@Override\r\n    protected void onActivityResult(int requestCode, int resultCode, Intent data) {\r\n        super.onActivityResult(requestCode, resultCode, data);\r\n        mCheckout.onActivityResult(requestCode, resultCode, data);\r\n    }\r\n\r\nto my activity. \r\n\r\n@T-igra Your comment helped me to realize that. I was first thinking \"why does he speak about android intern onActivityResult that has nothing to do with this\"....how wrong I was :D \r\n\r\nHope this helps someone searching for this issue."}}
{"actor":{"display_login":"Delilovic"}}