{"action":"created","issue":{"url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/issues/8","repository_url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase","labels_url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/issues/8/comments","events_url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/issues/8/events","html_url":"https://github.com/dooboolab/flutter_inapp_purchase/issues/8","id":349209339,"node_id":"MDU6SXNzdWUzNDkyMDkzMzk=","number":8,"title":"Modifying Subscriptions","user":{"login":"mwesolek","id":6911218,"node_id":"MDQ6VXNlcjY5MTEyMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6911218?v=4","gravatar_id":"","url":"https://api.github.com/users/mwesolek","html_url":"https://github.com/mwesolek","followers_url":"https://api.github.com/users/mwesolek/followers","following_url":"https://api.github.com/users/mwesolek/following{/other_user}","gists_url":"https://api.github.com/users/mwesolek/gists{/gist_id}","starred_url":"https://api.github.com/users/mwesolek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwesolek/subscriptions","organizations_url":"https://api.github.com/users/mwesolek/orgs","repos_url":"https://api.github.com/users/mwesolek/repos","events_url":"https://api.github.com/users/mwesolek/events{/privacy}","received_events_url":"https://api.github.com/users/mwesolek/received_events","type":"User","site_admin":false},"labels":[{"id":1001454984,"node_id":"MDU6TGFiZWwxMDAxNDU0OTg0","url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":1001454987,"node_id":"MDU6TGFiZWwxMDAxNDU0OTg3","url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-09T16:53:18Z","updated_at":"2018-08-11T07:09:26Z","closed_at":null,"author_association":"NONE","body":"When modifying subscriptions on iOS in Sandbox environment the purchase fails even though it is updated on the iTunes Store. With version 0.4.3 I was able to modify the subscription once and then it would fail but for some reason right now it is failing every time after initial purchase on 0.5.0.\r\n\r\n**On Version 0.4.3**\r\nThe error is: **type 'String' is not a subtype of type 'Map<String, dynamic>'**\r\n\r\nThe line seems to be on 274: `Map<String, dynamic> param = json.decode(result.toString());`\r\n\r\n**On Version 0.5.0**\r\nThe error is with invoking: `await _channel\r\n          .invokeMethod('buyProductWithFinishTransaction', <String, dynamic>{\r\n        'sku': sku,\r\n      });`\r\n\r\nIt seems to fail on the native layer."},"comment":{"url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/issues/comments/412256757","html_url":"https://github.com/dooboolab/flutter_inapp_purchase/issues/8#issuecomment-412256757","issue_url":"https://api.github.com/repos/dooboolab/flutter_inapp_purchase/issues/8","id":412256757,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjI1Njc1Nw==","user":{"login":"dooboolab","id":27461460,"node_id":"MDQ6VXNlcjI3NDYxNDYw","avatar_url":"https://avatars0.githubusercontent.com/u/27461460?v=4","gravatar_id":"","url":"https://api.github.com/users/dooboolab","html_url":"https://github.com/dooboolab","followers_url":"https://api.github.com/users/dooboolab/followers","following_url":"https://api.github.com/users/dooboolab/following{/other_user}","gists_url":"https://api.github.com/users/dooboolab/gists{/gist_id}","starred_url":"https://api.github.com/users/dooboolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dooboolab/subscriptions","organizations_url":"https://api.github.com/users/dooboolab/orgs","repos_url":"https://api.github.com/users/dooboolab/repos","events_url":"https://api.github.com/users/dooboolab/events{/privacy}","received_events_url":"https://api.github.com/users/dooboolab/received_events","type":"User","site_admin":false},"created_at":"2018-08-11T07:09:26Z","updated_at":"2018-08-11T07:09:26Z","author_association":"OWNER","body":"@mwesolek Ok. Please come back again when you have any news for this one. I currently have no idea why this is occurring. I will leave this as an issue and see who's coming next."}}
{"actor":{"display_login":"dooboolab"}}