{"action":"opened","issue":{"url":"https://api.github.com/repos/thephpleague/omnipay-authorizenet/issues/62","repository_url":"https://api.github.com/repos/thephpleague/omnipay-authorizenet","labels_url":"https://api.github.com/repos/thephpleague/omnipay-authorizenet/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/omnipay-authorizenet/issues/62/comments","events_url":"https://api.github.com/repos/thephpleague/omnipay-authorizenet/issues/62/events","html_url":"https://github.com/thephpleague/omnipay-authorizenet/issues/62","id":188338473,"number":62,"title":"deleteCard with cardReference","user":{"login":"runia1","id":6709518,"avatar_url":"https://avatars.githubusercontent.com/u/6709518?v=3","gravatar_id":"","url":"https://api.github.com/users/runia1","html_url":"https://github.com/runia1","followers_url":"https://api.github.com/users/runia1/followers","following_url":"https://api.github.com/users/runia1/following{/other_user}","gists_url":"https://api.github.com/users/runia1/gists{/gist_id}","starred_url":"https://api.github.com/users/runia1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runia1/subscriptions","organizations_url":"https://api.github.com/users/runia1/orgs","repos_url":"https://api.github.com/users/runia1/repos","events_url":"https://api.github.com/users/runia1/events{/privacy}","received_events_url":"https://api.github.com/users/runia1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-09T19:59:12Z","updated_at":"2016-11-09T19:59:12Z","closed_at":null,"body":"deleting cards does not work when your provide a cardReference string.\r\n\r\nIn order to fix this, please add these three lines at the top of the getData() method in CIMDeletePaymentProfileRequest.\r\n\r\n```\r\n$cardRef = $this->getCardReference(false);\r\n$this->setCustomerProfileId($cardRef->getCustomerProfileId());\r\n$this->setCustomerPaymentProfileId($cardRef->getPaymentProfileId());\r\n```\r\n\r\nPlace these before the call to validate().  This will parse the string and get the customerProfileId and customerPaymentProfileId from the card reference json string.\r\n\r\nCan submit a pull request if needed, let me know.\r\n\r\n"}}
{"actor":{"display_login":"runia1"}}