{"action":"opened","issue":{"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/467","repository_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase","labels_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/467/comments","events_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/467/events","html_url":"https://github.com/j3k0/cordova-plugin-purchase/issues/467","id":162145751,"number":467,"title":"Question on purchase flow","user":{"login":"DigitalMystery","id":6118971,"avatar_url":"https://avatars.githubusercontent.com/u/6118971?v=3","gravatar_id":"","url":"https://api.github.com/users/DigitalMystery","html_url":"https://github.com/DigitalMystery","followers_url":"https://api.github.com/users/DigitalMystery/followers","following_url":"https://api.github.com/users/DigitalMystery/following{/other_user}","gists_url":"https://api.github.com/users/DigitalMystery/gists{/gist_id}","starred_url":"https://api.github.com/users/DigitalMystery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigitalMystery/subscriptions","organizations_url":"https://api.github.com/users/DigitalMystery/orgs","repos_url":"https://api.github.com/users/DigitalMystery/repos","events_url":"https://api.github.com/users/DigitalMystery/events{/privacy}","received_events_url":"https://api.github.com/users/DigitalMystery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-24T13:23:48Z","updated_at":"2016-06-24T13:23:48Z","closed_at":null,"body":"Is there something similar to finish() that you call if the purchase does not go thru?  My use case is something like this...\r\n\r\n- Once inside approved do validation on my server\r\n\r\n- After my own validation call .finish()\r\n\r\nHowever, what happens if my call to the server fails?  Is there some way to cancel out the transaction?  I tried looking thru the documentation and issues on here, but could not find anything.\r\n"}}
{"actor":{"display_login":"DigitalMystery"}}