{"action":"closed","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1414","repository_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1414/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1414/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1414/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/1414","id":203010836,"node_id":"MDU6SXNzdWUyMDMwMTA4MzY=","number":1414,"title":"Treatment of standing order with zero items included - fees still charged","user":{"login":"sstead","id":10843056,"node_id":"MDQ6VXNlcjEwODQzMDU2","avatar_url":"https://avatars3.githubusercontent.com/u/10843056?v=4","gravatar_id":"","url":"https://api.github.com/users/sstead","html_url":"https://github.com/sstead","followers_url":"https://api.github.com/users/sstead/followers","following_url":"https://api.github.com/users/sstead/following{/other_user}","gists_url":"https://api.github.com/users/sstead/gists{/gist_id}","starred_url":"https://api.github.com/users/sstead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstead/subscriptions","organizations_url":"https://api.github.com/users/sstead/orgs","repos_url":"https://api.github.com/users/sstead/repos","events_url":"https://api.github.com/users/sstead/events{/privacy}","received_events_url":"https://api.github.com/users/sstead/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"oeoeaio","id":2067859,"node_id":"MDQ6VXNlcjIwNjc4NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2067859?v=4","gravatar_id":"","url":"https://api.github.com/users/oeoeaio","html_url":"https://github.com/oeoeaio","followers_url":"https://api.github.com/users/oeoeaio/followers","following_url":"https://api.github.com/users/oeoeaio/following{/other_user}","gists_url":"https://api.github.com/users/oeoeaio/gists{/gist_id}","starred_url":"https://api.github.com/users/oeoeaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oeoeaio/subscriptions","organizations_url":"https://api.github.com/users/oeoeaio/orgs","repos_url":"https://api.github.com/users/oeoeaio/repos","events_url":"https://api.github.com/users/oeoeaio/events{/privacy}","received_events_url":"https://api.github.com/users/oeoeaio/received_events","type":"User","site_admin":false},"assignees":[{"login":"oeoeaio","id":2067859,"node_id":"MDQ6VXNlcjIwNjc4NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2067859?v=4","gravatar_id":"","url":"https://api.github.com/users/oeoeaio","html_url":"https://github.com/oeoeaio","followers_url":"https://api.github.com/users/oeoeaio/followers","following_url":"https://api.github.com/users/oeoeaio/following{/other_user}","gists_url":"https://api.github.com/users/oeoeaio/gists{/gist_id}","starred_url":"https://api.github.com/users/oeoeaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oeoeaio/subscriptions","organizations_url":"https://api.github.com/users/oeoeaio/orgs","repos_url":"https://api.github.com/users/oeoeaio/repos","events_url":"https://api.github.com/users/oeoeaio/events{/privacy}","received_events_url":"https://api.github.com/users/oeoeaio/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2017-01-25T04:37:55Z","updated_at":"2018-07-13T01:37:40Z","closed_at":"2018-07-13T01:37:40Z","author_association":"NONE","body":"If a Customer has a SO setup with no items/products - they are still sent an order confirmation email.\r\n\r\nMy test scenario was the following:\r\n\r\nShop/Producer\r\n1. Create SO for customer with 1 item\r\n2. Pickup fee for SO is cash $10 (which I understand for pickup would likely not be a real charge - I just happened to create it this way)\r\n3. In SO list page I delete item from customer SO (now = 0)\r\n4. New OC opens (which the SO is attached to) and email is sent\r\n\r\nCustomer\r\n1. Receive order confirmation email\r\n2. I am being charged $10 for pickup with no items\r\n\r\nIssue: Looks like if there is a delivery fee associated with the SO, the Customer is being charged even if 0 items will be delivered.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/10843056/22278007/36407b74-e314-11e6-9e97-cdc25c5ed2bd.png)\r\n\r\n*Issue spotted by Yuko"}}
{"actor":{"display_login":"sstead"}}