{"action":"created","issue":{"url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/issues/13","repository_url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions","labels_url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/issues/13/comments","events_url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/issues/13/events","html_url":"https://github.com/devinsays/woocommerce-coupon-restrictions/issues/13","id":308300265,"number":13,"title":"Zip code validation if country selected?","user":{"login":"devinsays","id":431879,"avatar_url":"https://avatars0.githubusercontent.com/u/431879?v=4","gravatar_id":"","url":"https://api.github.com/users/devinsays","html_url":"https://github.com/devinsays","followers_url":"https://api.github.com/users/devinsays/followers","following_url":"https://api.github.com/users/devinsays/following{/other_user}","gists_url":"https://api.github.com/users/devinsays/gists{/gist_id}","starred_url":"https://api.github.com/users/devinsays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinsays/subscriptions","organizations_url":"https://api.github.com/users/devinsays/orgs","repos_url":"https://api.github.com/users/devinsays/repos","events_url":"https://api.github.com/users/devinsays/events{/privacy}","received_events_url":"https://api.github.com/users/devinsays/received_events","type":"User","site_admin":false},"labels":[{"id":878484314,"url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/labels/Backend%20UX","name":"Backend UX","color":"061560","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-24T21:27:03Z","updated_at":"2018-04-02T20:34:51Z","closed_at":null,"author_association":"OWNER","body":"Perhaps provide some validation for zip code input if countries are also restricted. i.e. Someone shouldn't be able to restrict to a US zip code if a UK country restriction is selected."},"comment":{"url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/issues/comments/378035967","html_url":"https://github.com/devinsays/woocommerce-coupon-restrictions/issues/13#issuecomment-378035967","issue_url":"https://api.github.com/repos/devinsays/woocommerce-coupon-restrictions/issues/13","id":378035967,"user":{"login":"devinsays","id":431879,"avatar_url":"https://avatars0.githubusercontent.com/u/431879?v=4","gravatar_id":"","url":"https://api.github.com/users/devinsays","html_url":"https://github.com/devinsays","followers_url":"https://api.github.com/users/devinsays/followers","following_url":"https://api.github.com/users/devinsays/following{/other_user}","gists_url":"https://api.github.com/users/devinsays/gists{/gist_id}","starred_url":"https://api.github.com/users/devinsays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinsays/subscriptions","organizations_url":"https://api.github.com/users/devinsays/orgs","repos_url":"https://api.github.com/users/devinsays/repos","events_url":"https://api.github.com/users/devinsays/events{/privacy}","received_events_url":"https://api.github.com/users/devinsays/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T20:34:51Z","updated_at":"2018-04-02T20:34:51Z","author_association":"OWNER","body":"WooCommerce has zipcode validation functions that could be piggybacked on:\r\nhttps://github.com/woocommerce/woocommerce/blob/master/includes/class-wc-validation.php#L47"}}
{"actor":{"display_login":"devinsays"}}