{"action":"created","issue":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1725","repository_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro","labels_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1725/labels{/name}","comments_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1725/comments","events_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1725/events","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/pull/1725","id":306121739,"number":1725,"title":"Validate payment gateway API keys","user":{"login":"tnorthcutt","id":796639,"avatar_url":"https://avatars3.githubusercontent.com/u/796639?v=4","gravatar_id":"","url":"https://api.github.com/users/tnorthcutt","html_url":"https://github.com/tnorthcutt","followers_url":"https://api.github.com/users/tnorthcutt/followers","following_url":"https://api.github.com/users/tnorthcutt/following{/other_user}","gists_url":"https://api.github.com/users/tnorthcutt/gists{/gist_id}","starred_url":"https://api.github.com/users/tnorthcutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnorthcutt/subscriptions","organizations_url":"https://api.github.com/users/tnorthcutt/orgs","repos_url":"https://api.github.com/users/tnorthcutt/repos","events_url":"https://api.github.com/users/tnorthcutt/events{/privacy}","received_events_url":"https://api.github.com/users/tnorthcutt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tnorthcutt","id":796639,"avatar_url":"https://avatars3.githubusercontent.com/u/796639?v=4","gravatar_id":"","url":"https://api.github.com/users/tnorthcutt","html_url":"https://github.com/tnorthcutt","followers_url":"https://api.github.com/users/tnorthcutt/followers","following_url":"https://api.github.com/users/tnorthcutt/following{/other_user}","gists_url":"https://api.github.com/users/tnorthcutt/gists{/gist_id}","starred_url":"https://api.github.com/users/tnorthcutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnorthcutt/subscriptions","organizations_url":"https://api.github.com/users/tnorthcutt/orgs","repos_url":"https://api.github.com/users/tnorthcutt/repos","events_url":"https://api.github.com/users/tnorthcutt/events{/privacy}","received_events_url":"https://api.github.com/users/tnorthcutt/received_events","type":"User","site_admin":false},"assignees":[{"login":"tnorthcutt","id":796639,"avatar_url":"https://avatars3.githubusercontent.com/u/796639?v=4","gravatar_id":"","url":"https://api.github.com/users/tnorthcutt","html_url":"https://github.com/tnorthcutt","followers_url":"https://api.github.com/users/tnorthcutt/followers","following_url":"https://api.github.com/users/tnorthcutt/following{/other_user}","gists_url":"https://api.github.com/users/tnorthcutt/gists{/gist_id}","starred_url":"https://api.github.com/users/tnorthcutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnorthcutt/subscriptions","organizations_url":"https://api.github.com/users/tnorthcutt/orgs","repos_url":"https://api.github.com/users/tnorthcutt/repos","events_url":"https://api.github.com/users/tnorthcutt/events{/privacy}","received_events_url":"https://api.github.com/users/tnorthcutt/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/milestones/10","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/milestone/10","labels_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/milestones/10/labels","id":892505,"number":10,"title":"3.0","description":null,"creator":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars1.githubusercontent.com/u/1034109?v=4","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":7,"state":"open","created_at":"2014-12-05T04:16:04Z","updated_at":"2018-04-02T19:15:53Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-03-17T02:39:39Z","updated_at":"2018-04-06T08:51:50Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/pulls/1725","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/pull/1725","diff_url":"https://github.com/restrictcontentpro/restrict-content-pro/pull/1725.diff","patch_url":"https://github.com/restrictcontentpro/restrict-content-pro/pull/1725.patch"},"body":"As of now this only includes Stripe and PayPal – and PayPal is pretty loose; it only requires that there be no spaces. I did it that way since there are so many variations of PayPal products and platforms, and I wasn't sure how strict we should get.\r\n\r\nFor Stripe, I made it very strict, since they follow (AFAIK) a very strict pattern of sk_live_xxxxx, sk_test_xxxxx, etc.\r\n\r\nI'm not as familiar with other gateways; I'd love some input from others on what patterns we should use for them.\r\n\r\nTo keep it simple, I used `title` attributes to customize the validation error messaging. Of course if we wanted to we could get fancy with custom callbacks, determining what validation rule exactly failed (e.g. a space was added, a `#` character, etc.).\r\n\r\nBut for now, IMO shipping > perfection, especially with a small feature like this.\r\n\r\nCloses https://github.com/restrictcontentpro/restrict-content-pro/issues/1196"},"comment":{"url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/comments/379190607","html_url":"https://github.com/restrictcontentpro/restrict-content-pro/pull/1725#issuecomment-379190607","issue_url":"https://api.github.com/repos/restrictcontentpro/restrict-content-pro/issues/1725","id":379190607,"user":{"login":"nosegraze","id":6324272,"avatar_url":"https://avatars2.githubusercontent.com/u/6324272?v=4","gravatar_id":"","url":"https://api.github.com/users/nosegraze","html_url":"https://github.com/nosegraze","followers_url":"https://api.github.com/users/nosegraze/followers","following_url":"https://api.github.com/users/nosegraze/following{/other_user}","gists_url":"https://api.github.com/users/nosegraze/gists{/gist_id}","starred_url":"https://api.github.com/users/nosegraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosegraze/subscriptions","organizations_url":"https://api.github.com/users/nosegraze/orgs","repos_url":"https://api.github.com/users/nosegraze/repos","events_url":"https://api.github.com/users/nosegraze/events{/privacy}","received_events_url":"https://api.github.com/users/nosegraze/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T08:51:50Z","updated_at":"2018-04-06T08:51:50Z","author_association":"MEMBER","body":"PayPal Address: `ashleygibson@nosegraze.com`\r\nTest API Username: `ashleygibson_api1.nosegraze.com`\r\nTest API Password: `ABCDEFG123` (anything with numbers/letters)\r\nTest API Signature: `ABcDefg123a` (same as above - anything with numbers/letters)\r\n\r\nThere aren't any spaces in any of them. I basically can't get anything to save.\r\n\r\nI tried saving just `a` in the signature field and that worked. Just saving `1` worked. But saving `a1` did not work."}}
{"actor":{"display_login":"nosegraze"}}