{"action":"created","issue":{"url":"https://api.github.com/repos/spree/spree/issues/6879","repository_url":"https://api.github.com/repos/spree/spree","labels_url":"https://api.github.com/repos/spree/spree/issues/6879/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/6879/comments","events_url":"https://api.github.com/repos/spree/spree/issues/6879/events","html_url":"https://github.com/spree/spree/issues/6879","id":117111154,"number":6879,"title":"Do not delete nearly-completed orders after merge","user":{"login":"mvz","id":10898,"avatar_url":"https://avatars.githubusercontent.com/u/10898?v=3","gravatar_id":"","url":"https://api.github.com/users/mvz","html_url":"https://github.com/mvz","followers_url":"https://api.github.com/users/mvz/followers","following_url":"https://api.github.com/users/mvz/following{/other_user}","gists_url":"https://api.github.com/users/mvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvz/subscriptions","organizations_url":"https://api.github.com/users/mvz/orgs","repos_url":"https://api.github.com/users/mvz/repos","events_url":"https://api.github.com/users/mvz/events{/privacy}","received_events_url":"https://api.github.com/users/mvz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spree/spree/labels/address_feedback","name":"address_feedback","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-16T12:14:44Z","updated_at":"2016-02-29T09:59:15Z","closed_at":null,"body":"We're running into the problem that if payments fail for some reason, and customers start a new session later on, the originally failed order is merged into the new cart and deleted, and the payments with it. This makes it very hard to figure out later what went wrong, because the payment provider's data cannot be matched to Spree's anymore.\r\n\r\nPerhaps merged orders that were not 'cart' to begin with can be kept for later reference, perhaps in some other state?"},"comment":{"url":"https://api.github.com/repos/spree/spree/issues/comments/190133927","html_url":"https://github.com/spree/spree/issues/6879#issuecomment-190133927","issue_url":"https://api.github.com/repos/spree/spree/issues/6879","id":190133927,"user":{"login":"aishmita-aggarwal","id":8336633,"avatar_url":"https://avatars.githubusercontent.com/u/8336633?v=3","gravatar_id":"","url":"https://api.github.com/users/aishmita-aggarwal","html_url":"https://github.com/aishmita-aggarwal","followers_url":"https://api.github.com/users/aishmita-aggarwal/followers","following_url":"https://api.github.com/users/aishmita-aggarwal/following{/other_user}","gists_url":"https://api.github.com/users/aishmita-aggarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/aishmita-aggarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aishmita-aggarwal/subscriptions","organizations_url":"https://api.github.com/users/aishmita-aggarwal/orgs","repos_url":"https://api.github.com/users/aishmita-aggarwal/repos","events_url":"https://api.github.com/users/aishmita-aggarwal/events{/privacy}","received_events_url":"https://api.github.com/users/aishmita-aggarwal/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T09:59:15Z","updated_at":"2016-02-29T09:59:15Z","body":":+1:, @mvz . Would you be creating a PR to fix this?"}}