{"action":"opened","issue":{"url":"https://api.github.com/repos/thelia-modules/SoColissimo/issues/26","labels_url":"https://api.github.com/repos/thelia-modules/SoColissimo/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/thelia-modules/SoColissimo/issues/26/comments","events_url":"https://api.github.com/repos/thelia-modules/SoColissimo/issues/26/events","html_url":"https://github.com/thelia-modules/SoColissimo/issues/26","id":101424268,"number":26,"title":"Can't retry on payment fail","user":{"login":"lopes-vincent","id":6057206,"avatar_url":"https://avatars.githubusercontent.com/u/6057206?v=3","gravatar_id":"","url":"https://api.github.com/users/lopes-vincent","html_url":"https://github.com/lopes-vincent","followers_url":"https://api.github.com/users/lopes-vincent/followers","following_url":"https://api.github.com/users/lopes-vincent/following{/other_user}","gists_url":"https://api.github.com/users/lopes-vincent/gists{/gist_id}","starred_url":"https://api.github.com/users/lopes-vincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopes-vincent/subscriptions","organizations_url":"https://api.github.com/users/lopes-vincent/orgs","repos_url":"https://api.github.com/users/lopes-vincent/repos","events_url":"https://api.github.com/users/lopes-vincent/events{/privacy}","received_events_url":"https://api.github.com/users/lopes-vincent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-17T13:48:53Z","updated_at":"2015-08-17T13:48:53Z","closed_at":null,"body":"When a payment failed if we use SoColissimo as delivery we can't retry the payment.\r\nWe got this error message : \"Got an error with So Colissimo module. Please try again to checkout.\"\r\n\r\nThis is because an AdressSocolissimo is created on event ORDER_SET_DELIVERY_MODULE and then deleted on event ORDER_BEFORE_PAYMENT. So on the second try we don't dispatch the ORDER_SET_DELIVERY_MODULE event and the address was not created. \r\n\r\nSo maybe we don't need to delete this address on ORDER_BEFORE_PAYMENT? "}}