{"action":"closed","issue":{"url":"https://api.github.com/repos/kbower/tickettest2/issues/268","repository_url":"https://api.github.com/repos/kbower/tickettest2","labels_url":"https://api.github.com/repos/kbower/tickettest2/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/kbower/tickettest2/issues/268/comments","events_url":"https://api.github.com/repos/kbower/tickettest2/issues/268/events","html_url":"https://github.com/kbower/tickettest2/issues/268","id":195846456,"number":268,"title":"Error when refunding","user":{"login":"kbower","id":4621154,"avatar_url":"https://avatars.githubusercontent.com/u/4621154?v=3","gravatar_id":"","url":"https://api.github.com/users/kbower","html_url":"https://github.com/kbower","followers_url":"https://api.github.com/users/kbower/followers","following_url":"https://api.github.com/users/kbower/following{/other_user}","gists_url":"https://api.github.com/users/kbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbower/subscriptions","organizations_url":"https://api.github.com/users/kbower/orgs","repos_url":"https://api.github.com/users/kbower/repos","events_url":"https://api.github.com/users/kbower/events{/privacy}","received_events_url":"https://api.github.com/users/kbower/received_events","type":"User","site_admin":false},"labels":[{"id":500797733,"url":"https://api.github.com/repos/kbower/tickettest2/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"kentbower","id":5034099,"avatar_url":"https://avatars.githubusercontent.com/u/5034099?v=3","gravatar_id":"","url":"https://api.github.com/users/kentbower","html_url":"https://github.com/kentbower","followers_url":"https://api.github.com/users/kentbower/followers","following_url":"https://api.github.com/users/kentbower/following{/other_user}","gists_url":"https://api.github.com/users/kentbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kentbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentbower/subscriptions","organizations_url":"https://api.github.com/users/kentbower/orgs","repos_url":"https://api.github.com/users/kentbower/repos","events_url":"https://api.github.com/users/kentbower/events{/privacy}","received_events_url":"https://api.github.com/users/kentbower/received_events","type":"User","site_admin":false},"assignees":[{"login":"kentbower","id":5034099,"avatar_url":"https://avatars.githubusercontent.com/u/5034099?v=3","gravatar_id":"","url":"https://api.github.com/users/kentbower","html_url":"https://github.com/kentbower","followers_url":"https://api.github.com/users/kentbower/followers","following_url":"https://api.github.com/users/kentbower/following{/other_user}","gists_url":"https://api.github.com/users/kentbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kentbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentbower/subscriptions","organizations_url":"https://api.github.com/users/kentbower/orgs","repos_url":"https://api.github.com/users/kentbower/repos","events_url":"https://api.github.com/users/kentbower/events{/privacy}","received_events_url":"https://api.github.com/users/kentbower/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-15T16:12:35Z","updated_at":"2016-12-15T16:12:37Z","closed_at":"2016-12-15T16:12:37Z","body":"_Imported from trac ticket 3701.\nCreated by sshah\nOpened in trac: Aug 10, 2016, 11:32:26 AM\nLast modified in trac: Aug 10, 2016, 11:35:51 AM_\n***\nWhen I try and refund I get this error message. I am using the order histroy tab to get to the transaction however our accoutning staff is telling me that if I did the same thing but use transaction histroy instead of order history it would work fine. I want you to look at the error before I attempt using transaction history.\r\n\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/controllers/artran.py', line 834 in save_refund_payments\r\n  saved_tran = ArTran.record_refund_payment(passed_tran, order, adjusting_refundtran, referenced_token)\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 27813 in record_refund_payment\r\n  refund._record_refund_payment(locked_refundingtran, token)\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 27829 in _record_refund_payment\r\n  elif self.order and self.order.balancedue + self.amount > 0:\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 7047 in balancedue\r\n  return self.orderbalance - self.financebalancedue\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 7083 in financebalancedue\r\n  return (self.financedamount or Decimal(0)) + self.financepaymentstotal\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 6844 in financedamount\r\n  liabilityassumption = self.financeliabilityassumption\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 7169 in financeliabilityassumption\r\n  (a._original_status_ == u'F' or\r\nFile 'build/bdist.linux-x86_64/egg/sqlalchemy/util/langhelpers.py', line 485 in __get__\r\nFile '/home/rarch/trunk/src/appserver/pylotengine/model/objects.py', line 9678 in _original_status_\r\n  raise ProgrammingError(\"expected %r to have _orig!\" % self)\r\nProgrammingError: expected <Return: orderid=[0613606VS26] customerid=[PARKC64566] status=[F]> to have _orig!\r\n"}}
{"actor":{"display_login":"kbower"}}