{"action":"created","issue":{"url":"https://api.github.com/repos/spree-contrib/better_spree_paypal_express/issues/171","labels_url":"https://api.github.com/repos/spree-contrib/better_spree_paypal_express/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/spree-contrib/better_spree_paypal_express/issues/171/comments","events_url":"https://api.github.com/repos/spree-contrib/better_spree_paypal_express/issues/171/events","html_url":"https://github.com/spree-contrib/better_spree_paypal_express/issues/171","id":93182155,"number":171,"title":"3-0-stable NotImplementedError (You must implement cancel method for this payment method.)","user":{"login":"simontseng","id":733931,"avatar_url":"https://avatars.githubusercontent.com/u/733931?v=3","gravatar_id":"","url":"https://api.github.com/users/simontseng","html_url":"https://github.com/simontseng","followers_url":"https://api.github.com/users/simontseng/followers","following_url":"https://api.github.com/users/simontseng/following{/other_user}","gists_url":"https://api.github.com/users/simontseng/gists{/gist_id}","starred_url":"https://api.github.com/users/simontseng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simontseng/subscriptions","organizations_url":"https://api.github.com/users/simontseng/orgs","repos_url":"https://api.github.com/users/simontseng/repos","events_url":"https://api.github.com/users/simontseng/events{/privacy}","received_events_url":"https://api.github.com/users/simontseng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-06T04:03:40Z","updated_at":"2015-08-05T10:50:20Z","closed_at":null,"body":"looks like spree is required some thing to be implemented now\r\n\r\n```\r\nNotImplementedError (You must implement cancel method for this payment method.):\r\nvendor/bundle/ruby/2.2.0/gems/spree_core-3.0.1/app/models/spree/payment_method.rb:69:in `cancel'\r\nvendor/bundle/ruby/2.2.0/gems/spree_core-3.0.1/app/models/spree/payment/processing.rb:72:in `cancel!'\r\nvendor/bundle/ruby/2.2.0/gems/spree_core-3.0.1/app/models/spree/order.rb:631:in `block in after_cancel'\r\nvendor/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'\r\nvendor/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'\r\n...\r\n```\r\n\r\nany suggestion about this"},"comment":{"url":"https://api.github.com/repos/spree-contrib/better_spree_paypal_express/issues/comments/127954132","html_url":"https://github.com/spree-contrib/better_spree_paypal_express/issues/171#issuecomment-127954132","issue_url":"https://api.github.com/repos/spree-contrib/better_spree_paypal_express/issues/171","id":127954132,"user":{"login":"leokra","id":6018460,"avatar_url":"https://avatars.githubusercontent.com/u/6018460?v=3","gravatar_id":"","url":"https://api.github.com/users/leokra","html_url":"https://github.com/leokra","followers_url":"https://api.github.com/users/leokra/followers","following_url":"https://api.github.com/users/leokra/following{/other_user}","gists_url":"https://api.github.com/users/leokra/gists{/gist_id}","starred_url":"https://api.github.com/users/leokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leokra/subscriptions","organizations_url":"https://api.github.com/users/leokra/orgs","repos_url":"https://api.github.com/users/leokra/repos","events_url":"https://api.github.com/users/leokra/events{/privacy}","received_events_url":"https://api.github.com/users/leokra/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T10:50:20Z","updated_at":"2015-08-05T10:50:20Z","body":"I get the same exception when trying to \"Cancel\" an already paid order in the backend (spree-2-4). And in \"app/models/spree/gateway/pay_pal_express.rb\" is no cancel-method implemented. \r\n\r\nI'm not sure why not. Wouldn't it make sense to call the already existing refund-method, if the payment is successfully executed and an order cancelled?"}}