{"action":"created","issue":{"url":"https://api.github.com/repos/open-classifieds/openclassifieds2/issues/1284","labels_url":"https://api.github.com/repos/open-classifieds/openclassifieds2/issues/1284/labels{/name}","comments_url":"https://api.github.com/repos/open-classifieds/openclassifieds2/issues/1284/comments","events_url":"https://api.github.com/repos/open-classifieds/openclassifieds2/issues/1284/events","html_url":"https://github.com/open-classifieds/openclassifieds2/issues/1284","id":85214036,"number":1284,"title":"Shipping custom field","user":{"login":"neo22s","id":241725,"avatar_url":"https://avatars.githubusercontent.com/u/241725?v=3","gravatar_id":"","url":"https://api.github.com/users/neo22s","html_url":"https://github.com/neo22s","followers_url":"https://api.github.com/users/neo22s/followers","following_url":"https://api.github.com/users/neo22s/following{/other_user}","gists_url":"https://api.github.com/users/neo22s/gists{/gist_id}","starred_url":"https://api.github.com/users/neo22s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo22s/subscriptions","organizations_url":"https://api.github.com/users/neo22s/orgs","repos_url":"https://api.github.com/users/neo22s/repos","events_url":"https://api.github.com/users/neo22s/events{/privacy}","received_events_url":"https://api.github.com/users/neo22s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-classifieds/openclassifieds2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"kotsios5","id":11571490,"avatar_url":"https://avatars.githubusercontent.com/u/11571490?v=3","gravatar_id":"","url":"https://api.github.com/users/kotsios5","html_url":"https://github.com/kotsios5","followers_url":"https://api.github.com/users/kotsios5/followers","following_url":"https://api.github.com/users/kotsios5/following{/other_user}","gists_url":"https://api.github.com/users/kotsios5/gists{/gist_id}","starred_url":"https://api.github.com/users/kotsios5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kotsios5/subscriptions","organizations_url":"https://api.github.com/users/kotsios5/orgs","repos_url":"https://api.github.com/users/kotsios5/repos","events_url":"https://api.github.com/users/kotsios5/events{/privacy}","received_events_url":"https://api.github.com/users/kotsios5/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/open-classifieds/openclassifieds2/milestones/27","html_url":"https://github.com/open-classifieds/openclassifieds2/milestones/2.5.0","labels_url":"https://api.github.com/repos/open-classifieds/openclassifieds2/milestones/27/labels","id":1071787,"number":27,"title":"2.5.0","description":"","creator":{"login":"neo22s","id":241725,"avatar_url":"https://avatars.githubusercontent.com/u/241725?v=3","gravatar_id":"","url":"https://api.github.com/users/neo22s","html_url":"https://github.com/neo22s","followers_url":"https://api.github.com/users/neo22s/followers","following_url":"https://api.github.com/users/neo22s/following{/other_user}","gists_url":"https://api.github.com/users/neo22s/gists{/gist_id}","starred_url":"https://api.github.com/users/neo22s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo22s/subscriptions","organizations_url":"https://api.github.com/users/neo22s/orgs","repos_url":"https://api.github.com/users/neo22s/repos","events_url":"https://api.github.com/users/neo22s/events{/privacy}","received_events_url":"https://api.github.com/users/neo22s/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":12,"state":"open","created_at":"2015-04-17T07:05:22Z","updated_at":"2015-06-09T13:31:04Z","due_on":"2015-06-29T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-06-04T18:18:15Z","updated_at":"2015-06-09T13:31:04Z","closed_at":"2015-06-09T13:31:04Z","body":"If user creates a custom field called shipping he can specify how much costs to ship the item.\r\n\r\nWhen creating the order we will put the in the checkout the price of the item and another line the price of the shipping. This only for pay ads $order->id_product == Model_Order::PRODUCT_AD_SELL AND $ad->shipping > 0\r\n\r\nThen the amount of the order needs to be shipping + price. This is set on controller ad action_buy\r\n\r\nThis way when comes back to the IPN we check the mc_gross that needs to be the same as order->amount.\r\n\r\nNot any other change will be needed.\r\n\r\nTodo documentation."},"comment":{"url":"https://api.github.com/repos/open-classifieds/openclassifieds2/issues/comments/110358178","html_url":"https://github.com/open-classifieds/openclassifieds2/issues/1284#issuecomment-110358178","issue_url":"https://api.github.com/repos/open-classifieds/openclassifieds2/issues/1284","id":110358178,"user":{"login":"neo22s","id":241725,"avatar_url":"https://avatars.githubusercontent.com/u/241725?v=3","gravatar_id":"","url":"https://api.github.com/users/neo22s","html_url":"https://github.com/neo22s","followers_url":"https://api.github.com/users/neo22s/followers","following_url":"https://api.github.com/users/neo22s/following{/other_user}","gists_url":"https://api.github.com/users/neo22s/gists{/gist_id}","starred_url":"https://api.github.com/users/neo22s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo22s/subscriptions","organizations_url":"https://api.github.com/users/neo22s/orgs","repos_url":"https://api.github.com/users/neo22s/repos","events_url":"https://api.github.com/users/neo22s/events{/privacy}","received_events_url":"https://api.github.com/users/neo22s/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T13:31:04Z","updated_at":"2015-06-09T13:31:04Z","body":"ok, closing here! lets not forget it!"}}