{"action":"closed","issue":{"url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1899","labels_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1899/labels{/name}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1899/comments","events_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1899/events","html_url":"https://github.com/django-oscar/django-oscar/issues/1899","id":114468860,"number":1899,"title":"skip condition in checkout causes internal server error","user":{"login":"Rodrockz","id":1231105,"avatar_url":"https://avatars.githubusercontent.com/u/1231105?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodrockz","html_url":"https://github.com/Rodrockz","followers_url":"https://api.github.com/users/Rodrockz/followers","following_url":"https://api.github.com/users/Rodrockz/following{/other_user}","gists_url":"https://api.github.com/users/Rodrockz/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodrockz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodrockz/subscriptions","organizations_url":"https://api.github.com/users/Rodrockz/orgs","repos_url":"https://api.github.com/users/Rodrockz/repos","events_url":"https://api.github.com/users/Rodrockz/events{/privacy}","received_events_url":"https://api.github.com/users/Rodrockz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/django-oscar/django-oscar/labels/%E2%98%81%20Bug","name":"☁ Bug","color":"F8C1C1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T13:11:09Z","updated_at":"2015-11-18T11:50:28Z","closed_at":"2015-11-18T11:50:28Z","body":"in `oscar/apps/checkout/session.py`, line 235:\r\n`shipping_charge = D('0.00')`\r\n\r\nIn the next line shipping charge is passed to `get_order_totals`, which passes shipping charge to the `OrderTotalCalculator`. \r\n\r\nThe `OrderTotalCalculator` tries to access the attribute `shipping_charge.excl_tax`, which does not work for decimal objects.\r\n\r\n`shipping_charge`cannot be a decimal object."}}