{"action":"created","issue":{"url":"https://api.github.com/repos/elcodi/bamboo/issues/299","labels_url":"https://api.github.com/repos/elcodi/bamboo/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/elcodi/bamboo/issues/299/comments","events_url":"https://api.github.com/repos/elcodi/bamboo/issues/299/events","html_url":"https://github.com/elcodi/bamboo/pull/299","id":65398870,"number":299,"title":"added coupon discount to payment bridge","user":{"login":"claretcrab","id":3634607,"avatar_url":"https://avatars.githubusercontent.com/u/3634607?v=3","gravatar_id":"","url":"https://api.github.com/users/claretcrab","html_url":"https://github.com/claretcrab","followers_url":"https://api.github.com/users/claretcrab/followers","following_url":"https://api.github.com/users/claretcrab/following{/other_user}","gists_url":"https://api.github.com/users/claretcrab/gists{/gist_id}","starred_url":"https://api.github.com/users/claretcrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claretcrab/subscriptions","organizations_url":"https://api.github.com/users/claretcrab/orgs","repos_url":"https://api.github.com/users/claretcrab/repos","events_url":"https://api.github.com/users/claretcrab/events{/privacy}","received_events_url":"https://api.github.com/users/claretcrab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-31T08:40:51Z","updated_at":"2015-03-31T09:08:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elcodi/bamboo/pulls/299","html_url":"https://github.com/elcodi/bamboo/pull/299","diff_url":"https://github.com/elcodi/bamboo/pull/299.diff","patch_url":"https://github.com/elcodi/bamboo/pull/299.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/elcodi/bamboo/issues/comments/88006785","html_url":"https://github.com/elcodi/bamboo/pull/299#issuecomment-88006785","issue_url":"https://api.github.com/repos/elcodi/bamboo/issues/299","id":88006785,"user":{"login":"alch","id":682515,"avatar_url":"https://avatars.githubusercontent.com/u/682515?v=3","gravatar_id":"","url":"https://api.github.com/users/alch","html_url":"https://github.com/alch","followers_url":"https://api.github.com/users/alch/followers","following_url":"https://api.github.com/users/alch/following{/other_user}","gists_url":"https://api.github.com/users/alch/gists{/gist_id}","starred_url":"https://api.github.com/users/alch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alch/subscriptions","organizations_url":"https://api.github.com/users/alch/orgs","repos_url":"https://api.github.com/users/alch/repos","events_url":"https://api.github.com/users/alch/events{/privacy}","received_events_url":"https://api.github.com/users/alch/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T09:08:44Z","updated_at":"2015-03-31T09:08:44Z","body":"@xphere correct, we have to be very careful. [This method](https://github.com/PaymentSuite/PaypalWebCheckoutBundle/blob/master/Services/PaypalWebCheckoutManager.php#L270) is used to compare amounts from the `PaymentBridge` and the Paypal response.\r\nIt also checks for consistency by inspecting a pseudo-signature for possible MIM tampering.\r\nMaybe we should add more tests for this, just in case"}}