{"action":"created","issue":{"url":"https://api.github.com/repos/alfio-event/alf.io/issues/393","repository_url":"https://api.github.com/repos/alfio-event/alf.io","labels_url":"https://api.github.com/repos/alfio-event/alf.io/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/alfio-event/alf.io/issues/393/comments","events_url":"https://api.github.com/repos/alfio-event/alf.io/issues/393/events","html_url":"https://github.com/alfio-event/alf.io/issues/393","id":298119963,"number":393,"title":"Paypal payments not working - INVALID_EXPERIENCE_PROFILE_ID","user":{"login":"cougil","id":2370634,"avatar_url":"https://avatars0.githubusercontent.com/u/2370634?v=4","gravatar_id":"","url":"https://api.github.com/users/cougil","html_url":"https://github.com/cougil","followers_url":"https://api.github.com/users/cougil/followers","following_url":"https://api.github.com/users/cougil/following{/other_user}","gists_url":"https://api.github.com/users/cougil/gists{/gist_id}","starred_url":"https://api.github.com/users/cougil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cougil/subscriptions","organizations_url":"https://api.github.com/users/cougil/orgs","repos_url":"https://api.github.com/users/cougil/repos","events_url":"https://api.github.com/users/cougil/events{/privacy}","received_events_url":"https://api.github.com/users/cougil/received_events","type":"User","site_admin":false},"labels":[{"id":117129783,"url":"https://api.github.com/repos/alfio-event/alf.io/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"syjer","id":498146,"avatar_url":"https://avatars1.githubusercontent.com/u/498146?v=4","gravatar_id":"","url":"https://api.github.com/users/syjer","html_url":"https://github.com/syjer","followers_url":"https://api.github.com/users/syjer/followers","following_url":"https://api.github.com/users/syjer/following{/other_user}","gists_url":"https://api.github.com/users/syjer/gists{/gist_id}","starred_url":"https://api.github.com/users/syjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syjer/subscriptions","organizations_url":"https://api.github.com/users/syjer/orgs","repos_url":"https://api.github.com/users/syjer/repos","events_url":"https://api.github.com/users/syjer/events{/privacy}","received_events_url":"https://api.github.com/users/syjer/received_events","type":"User","site_admin":false},"assignees":[{"login":"syjer","id":498146,"avatar_url":"https://avatars1.githubusercontent.com/u/498146?v=4","gravatar_id":"","url":"https://api.github.com/users/syjer","html_url":"https://github.com/syjer","followers_url":"https://api.github.com/users/syjer/followers","following_url":"https://api.github.com/users/syjer/following{/other_user}","gists_url":"https://api.github.com/users/syjer/gists{/gist_id}","starred_url":"https://api.github.com/users/syjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syjer/subscriptions","organizations_url":"https://api.github.com/users/syjer/orgs","repos_url":"https://api.github.com/users/syjer/repos","events_url":"https://api.github.com/users/syjer/events{/privacy}","received_events_url":"https://api.github.com/users/syjer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-18T21:29:33Z","updated_at":"2018-02-18T21:42:47Z","closed_at":null,"author_association":"NONE","body":"Hi.\r\n\r\nWe've found a new issue with Paypal. We have just updated the real _client ID_ and _client secret_ (only in the system configuration, we didn't setup anything in any other place) and we found that now it is not possible to pay with Paypal (even we checked that everything was working perfectly in the \"demo mode\" with the Paypal demo user/pwd). \r\n\r\nThis is what we are seeing in the log:\r\n\r\n`\r\nERROR com.paypal.base.HttpConnection - Response code: 400\tError response: {\"name\":\"INVALID_EXPERIENCE_PROFILE_ID\",\"message\":\"The requested experience profile ID was not found\",\"information_link\":\"https://developer.paypal.com/docs/api/payments/#errors\",\"debug_id\":\"XXXXXX\"\r\n`\r\n\r\nWhat we are doing wrong? What we can do?\r\n\r\nBest,"},"comment":{"url":"https://api.github.com/repos/alfio-event/alf.io/issues/comments/366550429","html_url":"https://github.com/alfio-event/alf.io/issues/393#issuecomment-366550429","issue_url":"https://api.github.com/repos/alfio-event/alf.io/issues/393","id":366550429,"user":{"login":"syjer","id":498146,"avatar_url":"https://avatars1.githubusercontent.com/u/498146?v=4","gravatar_id":"","url":"https://api.github.com/users/syjer","html_url":"https://github.com/syjer","followers_url":"https://api.github.com/users/syjer/followers","following_url":"https://api.github.com/users/syjer/following{/other_user}","gists_url":"https://api.github.com/users/syjer/gists{/gist_id}","starred_url":"https://api.github.com/users/syjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syjer/subscriptions","organizations_url":"https://api.github.com/users/syjer/orgs","repos_url":"https://api.github.com/users/syjer/repos","events_url":"https://api.github.com/users/syjer/events{/privacy}","received_events_url":"https://api.github.com/users/syjer/received_events","type":"User","site_admin":false},"created_at":"2018-02-18T21:42:47Z","updated_at":"2018-02-18T21:42:47Z","author_association":"OWNER","body":"hi @cougil , actually you found a bug :). For performance reason I've cached the profile id (see https://github.com/alfio-event/alf.io/blob/master/src/main/java/alfio/manager/PaypalManager.java#L59 ).\r\n\r\nBut I've not taken in account the change of  secret key. As a simple workaround, you can restart the instance so the cache is empty.\r\n\r\n"}}
{"actor":{"display_login":"syjer"}}