{"action":"created","issue":{"url":"https://api.github.com/repos/unitpay/php-sdk/issues/8","repository_url":"https://api.github.com/repos/unitpay/php-sdk","labels_url":"https://api.github.com/repos/unitpay/php-sdk/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/unitpay/php-sdk/issues/8/comments","events_url":"https://api.github.com/repos/unitpay/php-sdk/issues/8/events","html_url":"https://github.com/unitpay/php-sdk/issues/8","id":225299752,"node_id":"MDU6SXNzdWUyMjUyOTk3NTI=","number":8,"title":"api method","user":{"login":"MattRh","id":9138285,"node_id":"MDQ6VXNlcjkxMzgyODU=","avatar_url":"https://avatars0.githubusercontent.com/u/9138285?v=4","gravatar_id":"","url":"https://api.github.com/users/MattRh","html_url":"https://github.com/MattRh","followers_url":"https://api.github.com/users/MattRh/followers","following_url":"https://api.github.com/users/MattRh/following{/other_user}","gists_url":"https://api.github.com/users/MattRh/gists{/gist_id}","starred_url":"https://api.github.com/users/MattRh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattRh/subscriptions","organizations_url":"https://api.github.com/users/MattRh/orgs","repos_url":"https://api.github.com/users/MattRh/repos","events_url":"https://api.github.com/users/MattRh/events{/privacy}","received_events_url":"https://api.github.com/users/MattRh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-30T02:39:30Z","updated_at":"2018-07-30T03:35:19Z","closed_at":null,"author_association":"NONE","body":"Предлагаю в функцию UnitPay::api добавить автоматическое добавление параметра ip пользователя"},"comment":{"url":"https://api.github.com/repos/unitpay/php-sdk/issues/comments/408737467","html_url":"https://github.com/unitpay/php-sdk/issues/8#issuecomment-408737467","issue_url":"https://api.github.com/repos/unitpay/php-sdk/issues/8","id":408737467,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODczNzQ2Nw==","user":{"login":"RomaZveR25","id":9025735,"node_id":"MDQ6VXNlcjkwMjU3MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/9025735?v=4","gravatar_id":"","url":"https://api.github.com/users/RomaZveR25","html_url":"https://github.com/RomaZveR25","followers_url":"https://api.github.com/users/RomaZveR25/followers","following_url":"https://api.github.com/users/RomaZveR25/following{/other_user}","gists_url":"https://api.github.com/users/RomaZveR25/gists{/gist_id}","starred_url":"https://api.github.com/users/RomaZveR25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomaZveR25/subscriptions","organizations_url":"https://api.github.com/users/RomaZveR25/orgs","repos_url":"https://api.github.com/users/RomaZveR25/repos","events_url":"https://api.github.com/users/RomaZveR25/events{/privacy}","received_events_url":"https://api.github.com/users/RomaZveR25/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T03:35:19Z","updated_at":"2018-07-30T03:35:19Z","author_association":"NONE","body":"Это поломает очень много интеграций. бекенд может стоять за прокси (nginx, haproxy итд) или сервисами аля cloudflare, где нужно либо править конфиги веб сервера, либо дергать ip посетителя из специальной переменной, например `$_SERVER[\"HTTP_CF_CONNECTING_IP\"]`."}}
{"actor":{"display_login":"RomaZveR25"}}