{"action":"created","issue":{"url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32","repository_url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless","labels_url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32/comments","events_url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32/events","html_url":"https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32","id":303797013,"number":32,"title":"Extension does not work with CiviCRM Webforms with Contribution page","user":{"login":"PJKerrigan","id":7714835,"avatar_url":"https://avatars1.githubusercontent.com/u/7714835?v=4","gravatar_id":"","url":"https://api.github.com/users/PJKerrigan","html_url":"https://github.com/PJKerrigan","followers_url":"https://api.github.com/users/PJKerrigan/followers","following_url":"https://api.github.com/users/PJKerrigan/following{/other_user}","gists_url":"https://api.github.com/users/PJKerrigan/gists{/gist_id}","starred_url":"https://api.github.com/users/PJKerrigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PJKerrigan/subscriptions","organizations_url":"https://api.github.com/users/PJKerrigan/orgs","repos_url":"https://api.github.com/users/PJKerrigan/repos","events_url":"https://api.github.com/users/PJKerrigan/events{/privacy}","received_events_url":"https://api.github.com/users/PJKerrigan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-09T10:38:27Z","updated_at":"2018-03-09T11:57:18Z","closed_at":null,"author_association":"NONE","body":"I am using civicrm_webform (7.x-4.19) in Drupal (7.52) and have a webform which uses a Contribution page on CiviCRM 4.7.30.\r\n\r\nThe GoCardless payment processor fails with the following notice:\r\n\r\n> Notice: Undefined index: description in CRM_Core_Payment_GoCardless->doTransferCheckoutWorker() (line 122 of /var/www/vhosts/my.site/dev/sites/all/extensions/uk.artfulrobot.civicrm.gocardless/CRM/Core/Payment/GoCardless.php).\r\n\r\nI have tried to simply set the $params['description'] value by hard-coding it, but that led to the following error being displayed:\r\n\r\n> We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site administrator for assistance. \r\n> \r\n> Error type: Could not find a valid session key.\r\n\r\nI'm guessing that the description is used to create the session key, so changing it in CRM_Core_Payment_GoCardless::doTransferCheckoutWorker breaks it.\r\n\r\nDoes anyone have any ideas? Thanks."},"comment":{"url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/comments/371793452","html_url":"https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32#issuecomment-371793452","issue_url":"https://api.github.com/repos/artfulrobot/uk.artfulrobot.civicrm.gocardless/issues/32","id":371793452,"user":{"login":"artfulrobot","id":870343,"avatar_url":"https://avatars1.githubusercontent.com/u/870343?v=4","gravatar_id":"","url":"https://api.github.com/users/artfulrobot","html_url":"https://github.com/artfulrobot","followers_url":"https://api.github.com/users/artfulrobot/followers","following_url":"https://api.github.com/users/artfulrobot/following{/other_user}","gists_url":"https://api.github.com/users/artfulrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/artfulrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artfulrobot/subscriptions","organizations_url":"https://api.github.com/users/artfulrobot/orgs","repos_url":"https://api.github.com/users/artfulrobot/repos","events_url":"https://api.github.com/users/artfulrobot/events{/privacy}","received_events_url":"https://api.github.com/users/artfulrobot/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T11:57:18Z","updated_at":"2018-03-09T11:57:18Z","author_association":"OWNER","body":"Hmmm.\r\n\r\nThe redirect page is set at \r\n<https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/blob/master/CRM/Core/Payment/GoCardless.php#L111>\r\n\r\nSo if it's not for an event, it's the generic contribute/transact. But note the `qfKey` is here - is that in use in a webform context?"}}
{"actor":{"display_login":"artfulrobot"}}