{"action":"created","issue":{"url":"https://api.github.com/repos/csob/paymentgateway/issues/128","labels_url":"https://api.github.com/repos/csob/paymentgateway/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/csob/paymentgateway/issues/128/comments","events_url":"https://api.github.com/repos/csob/paymentgateway/issues/128/events","html_url":"https://github.com/csob/paymentgateway/issues/128","id":128786021,"number":128,"title":"unable to verify signature","user":{"login":"mobilttl","id":16777818,"avatar_url":"https://avatars.githubusercontent.com/u/16777818?v=3","gravatar_id":"","url":"https://api.github.com/users/mobilttl","html_url":"https://github.com/mobilttl","followers_url":"https://api.github.com/users/mobilttl/followers","following_url":"https://api.github.com/users/mobilttl/following{/other_user}","gists_url":"https://api.github.com/users/mobilttl/gists{/gist_id}","starred_url":"https://api.github.com/users/mobilttl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobilttl/subscriptions","organizations_url":"https://api.github.com/users/mobilttl/orgs","repos_url":"https://api.github.com/users/mobilttl/repos","events_url":"https://api.github.com/users/mobilttl/events{/privacy}","received_events_url":"https://api.github.com/users/mobilttl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-26T10:37:35Z","updated_at":"2016-01-31T12:57:12Z","closed_at":null,"body":"zdravím,\r\nv testovacím provozu mi nějak zlobí veřejný klíč. Požadavek na platbu se odešle, ale odpověď už nejde ověřit podpisem:\r\n\r\npreparing payment init data ...\r\n\r\npreparing cart data:\r\n[\r\n    {\r\n        \"name\": \"Shopping at ...\",\r\n        \"quantity\": 1,\r\n        \"amount\": 120000,\r\n        \"description\": \"Lenovo ThinkPad Edge E540...\"\r\n    },\r\n    {\r\n        \"name\": \"Shipping\",\r\n        \"quantity\": 1,\r\n        \"amount\": 0,\r\n        \"description\": \"PPL\"\r\n    }\r\n]\r\n\r\ndata to sign:\r\n\"M1MIPS0297|123456|20160126112927|payment|card|120000|CZK|false|https://vasobchod.cz/gateway-return|POST|Shopping at ...|1|120000|Lenovo ThinkPad Edge E540...|Shipping|1|0|PPL|Nákup na vasobchod.cz (Lenovo ThinkPad Edge E540, Doprava PPL)|1234|CZ\"\r\n\r\nprepared payment/init request:\r\n{\r\n    \"merchantId\": \"M1MIPS0297\",\r\n    \"orderNo\": \"123456\",\r\n    \"dttm\": \"20160126112927\",\r\n    \"payOperation\": \"payment\",\r\n    \"payMethod\": \"card\",\r\n    \"totalAmount\": 120000,\r\n    \"currency\": \"CZK\",\r\n    \"closePayment\": \"false\",\r\n    \"returnUrl\": \"https://vasobchod.cz/gateway-return\",\r\n    \"returnMethod\": \"POST\",\r\n    \"cart\": [\r\n        {\r\n            \"name\": \"Shopping at ...\",\r\n            \"quantity\": 1,\r\n            \"amount\": 120000,\r\n            \"description\": \"Lenovo ThinkPad Edge E540...\"\r\n        },\r\n        {\r\n            \"name\": \"Shipping\",\r\n            \"quantity\": 1,\r\n            \"amount\": 0,\r\n            \"description\": \"PPL\"\r\n        }\r\n    ],\r\n    \"description\": \"Nákup na vasobchod.cz (Lenovo ThinkPad Edge E540, Doprava PPL)\",\r\n    \"merchantData\": null,\r\n    \"customerId\": \"1234\",\r\n    \"language\": \"CZ\",\r\n    \"signature\": \"NxqZqs4XR5CdC9GplEI/f47LpFMNXWasC4E34fRfFz+PQMjFN+KuivYWC8U0Zta1a5BDSUO3jJpYuJsjWmoDlUzKVjxTDhNoW26TtEOdQDKZjUOA5cvOynrFPMJPLoj6En1zF7CRSp5d5FCps89ahBJCbnNq7G5ve6wfVEBGJj2j6Aom+MDGJQ6Lm+tbb/YoFu3mX++I7vd9XRbE4vFC1jeSu1VBGdZNIcPm2G7+okptxGwZle2BTWEkF95X0Sk91d4I9UfRjExp5sFJNTCUI3mpqGaUs5JKVHKzdCrkQx0qD9sd8OXVDSoahHbZhnwTUM7feQ/mwvuI7dC+6KlG/Q==\"\r\n}\r\n\r\nprocessing payment/init request ...\r\n\r\npayment/init result:\r\n{\"dttm\":\"20160126112927\",\"signature\":\"La2FXP12DkFHpE/MHBMwtYg4N4i+wzweuchxyBF7ll4Dokxhg16nQuOeFcpEF0xK2ABwOb1yxiLxb+JsU6iO/lLGOblq2zBjQC7W1wrtnlv9EZU5Twj4e76V9/wl+zzyNFLQ/1HgGxFht0zdSeWjzakDhIbn+zyYani1PLIOhItzysanf3rp0OIshr/781l+GC8SMmUIWN7Fr8TiyhGJywhp/VvHekvt0NxKiAIw/PeGTnBIQhOCuHwotbtkcpq109qdk8k0tJNh0n87ppLh7AxE+Q9C9S5kiWfX/QDkuM9zkQ9JIlKBht42zLQuZghTlfxAcVqH36I4u+GBedBEqA==\",\"payId\":\"a587fea8ef612BA\",\"resultCode\":0,\"resultMessage\":\"OK\",\"paymentStatus\":1}\r\n\r\npayment/init failed, unable to verify signature\r\n\r\n\r\n\r\ndíky za radu.\r\n\r\nTomáš"},"comment":{"url":"https://api.github.com/repos/csob/paymentgateway/issues/comments/177495268","html_url":"https://github.com/csob/paymentgateway/issues/128#issuecomment-177495268","issue_url":"https://api.github.com/repos/csob/paymentgateway/issues/128","id":177495268,"user":{"login":"mobilttl","id":16777818,"avatar_url":"https://avatars.githubusercontent.com/u/16777818?v=3","gravatar_id":"","url":"https://api.github.com/users/mobilttl","html_url":"https://github.com/mobilttl","followers_url":"https://api.github.com/users/mobilttl/followers","following_url":"https://api.github.com/users/mobilttl/following{/other_user}","gists_url":"https://api.github.com/users/mobilttl/gists{/gist_id}","starred_url":"https://api.github.com/users/mobilttl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobilttl/subscriptions","organizations_url":"https://api.github.com/users/mobilttl/orgs","repos_url":"https://api.github.com/users/mobilttl/repos","events_url":"https://api.github.com/users/mobilttl/events{/privacy}","received_events_url":"https://api.github.com/users/mobilttl/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T12:57:12Z","updated_at":"2016-01-31T12:57:12Z","body":"Dobrý den,\r\n\r\nděkuji..funguje. Ale proč mi nešli klíče, které jsem si generoval na https://iplatebnibrana.csob.cz/keygen/ ?\r\n\r\nkaždopádně děkuji za pomoc"}}