{"action":"created","issue":{"url":"https://api.github.com/repos/angelleye/paypal-woocommerce/issues/267","labels_url":"https://api.github.com/repos/angelleye/paypal-woocommerce/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/angelleye/paypal-woocommerce/issues/267/comments","events_url":"https://api.github.com/repos/angelleye/paypal-woocommerce/issues/267/events","html_url":"https://github.com/angelleye/paypal-woocommerce/issues/267","id":100715869,"number":267,"title":"Refunds are not working correctly.","user":{"login":"angelleye","id":629241,"avatar_url":"https://avatars.githubusercontent.com/u/629241?v=3","gravatar_id":"","url":"https://api.github.com/users/angelleye","html_url":"https://github.com/angelleye","followers_url":"https://api.github.com/users/angelleye/followers","following_url":"https://api.github.com/users/angelleye/following{/other_user}","gists_url":"https://api.github.com/users/angelleye/gists{/gist_id}","starred_url":"https://api.github.com/users/angelleye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelleye/subscriptions","organizations_url":"https://api.github.com/users/angelleye/orgs","repos_url":"https://api.github.com/users/angelleye/repos","events_url":"https://api.github.com/users/angelleye/events{/privacy}","received_events_url":"https://api.github.com/users/angelleye/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angelleye/paypal-woocommerce/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"nishitlangaliya","id":11435772,"avatar_url":"https://avatars.githubusercontent.com/u/11435772?v=3","gravatar_id":"","url":"https://api.github.com/users/nishitlangaliya","html_url":"https://github.com/nishitlangaliya","followers_url":"https://api.github.com/users/nishitlangaliya/followers","following_url":"https://api.github.com/users/nishitlangaliya/following{/other_user}","gists_url":"https://api.github.com/users/nishitlangaliya/gists{/gist_id}","starred_url":"https://api.github.com/users/nishitlangaliya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishitlangaliya/subscriptions","organizations_url":"https://api.github.com/users/nishitlangaliya/orgs","repos_url":"https://api.github.com/users/nishitlangaliya/repos","events_url":"https://api.github.com/users/nishitlangaliya/events{/privacy}","received_events_url":"https://api.github.com/users/nishitlangaliya/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angelleye/paypal-woocommerce/milestones/20","html_url":"https://github.com/angelleye/paypal-woocommerce/milestones/1.1.6.3.5","labels_url":"https://api.github.com/repos/angelleye/paypal-woocommerce/milestones/20/labels","id":1199071,"number":20,"title":"1.1.6.3.5","description":"","creator":{"login":"angelleye","id":629241,"avatar_url":"https://avatars.githubusercontent.com/u/629241?v=3","gravatar_id":"","url":"https://api.github.com/users/angelleye","html_url":"https://github.com/angelleye","followers_url":"https://api.github.com/users/angelleye/followers","following_url":"https://api.github.com/users/angelleye/following{/other_user}","gists_url":"https://api.github.com/users/angelleye/gists{/gist_id}","starred_url":"https://api.github.com/users/angelleye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelleye/subscriptions","organizations_url":"https://api.github.com/users/angelleye/orgs","repos_url":"https://api.github.com/users/angelleye/repos","events_url":"https://api.github.com/users/angelleye/events{/privacy}","received_events_url":"https://api.github.com/users/angelleye/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":22,"state":"open","created_at":"2015-07-08T16:25:16Z","updated_at":"2015-08-18T05:43:22Z","due_on":"2015-07-11T05:00:00Z","closed_at":null},"comments":6,"created_at":"2015-08-13T08:45:11Z","updated_at":"2015-08-18T06:53:48Z","closed_at":null,"body":"This may have something to do with the WC 2.4 update.  I'm not sure.\r\n\r\nI ran an order with Express Checkout for $90.27.  I then ran a partial refund through WooCommerce for 50.00.\r\n\r\nI can see that our PayPal request was accurate and did refund $50.00...\r\n\r\n\r\n        [REQUESTDATA] => Array\r\n        (\r\n            [USER] => sandbo_1215254764_biz_api1.angelleye.com\r\n            [PWD] => 1215254774\r\n            [VERSION] => 112.0\r\n            [BUTTONSOURCE] => AngellEYE_SP_WooCommerce\r\n            [SIGNATURE] => AiKZhEEPLJjSIccz.2M.tbyW5YFwAb6E3l6my.pY9br1z2qxKx96W18v\r\n            [METHOD] => RefundTransaction\r\n            [TRANSACTIONID] => 6B332538PL464154S\r\n            [REFUNDTYPE] => Partial\r\n            [AMT] => 50.00\r\n            [CURRENCYCODE] => USD\r\n        )\r\n\r\n\r\nHowever, in WooCommerce the order got updated as if the entire amount was refunded...\r\n\r\n![image](https://cloud.githubusercontent.com/assets/629241/9245945/b1aac732-416d-11e5-9f86-82aabec47e5d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/angelleye/paypal-woocommerce/issues/comments/132093683","html_url":"https://github.com/angelleye/paypal-woocommerce/issues/267#issuecomment-132093683","issue_url":"https://api.github.com/repos/angelleye/paypal-woocommerce/issues/267","id":132093683,"user":{"login":"angelleye","id":629241,"avatar_url":"https://avatars.githubusercontent.com/u/629241?v=3","gravatar_id":"","url":"https://api.github.com/users/angelleye","html_url":"https://github.com/angelleye","followers_url":"https://api.github.com/users/angelleye/followers","following_url":"https://api.github.com/users/angelleye/following{/other_user}","gists_url":"https://api.github.com/users/angelleye/gists{/gist_id}","starred_url":"https://api.github.com/users/angelleye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelleye/subscriptions","organizations_url":"https://api.github.com/users/angelleye/orgs","repos_url":"https://api.github.com/users/angelleye/repos","events_url":"https://api.github.com/users/angelleye/events{/privacy}","received_events_url":"https://api.github.com/users/angelleye/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T06:53:48Z","updated_at":"2015-08-18T06:53:48Z","body":"We still have problems here, and I think this is also happening with Express Checkout.  I just didn't notice it before.\r\n\r\nWhatever you did caused the refund amount to reflect correctly in WooCommerce.  The problem is that now the order status is not updating to Refunded, but instead is getting left with the current status (Processing).  \r\n\r\nAlso, the refund transaction ID and notes are not getting added into the WooCommerce order notes the way they used to.  "}}