{"action":"created","issue":{"url":"https://api.github.com/repos/opencart/opencart/issues/4883","repository_url":"https://api.github.com/repos/opencart/opencart","labels_url":"https://api.github.com/repos/opencart/opencart/issues/4883/labels{/name}","comments_url":"https://api.github.com/repos/opencart/opencart/issues/4883/comments","events_url":"https://api.github.com/repos/opencart/opencart/issues/4883/events","html_url":"https://github.com/opencart/opencart/issues/4883","id":176802323,"number":4883,"title":"Orders not getting placed with Fraudlabs or Maxmind enabled","user":{"login":"moneycarlo","id":10111666,"avatar_url":"https://avatars.githubusercontent.com/u/10111666?v=3","gravatar_id":"","url":"https://api.github.com/users/moneycarlo","html_url":"https://github.com/moneycarlo","followers_url":"https://api.github.com/users/moneycarlo/followers","following_url":"https://api.github.com/users/moneycarlo/following{/other_user}","gists_url":"https://api.github.com/users/moneycarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/moneycarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneycarlo/subscriptions","organizations_url":"https://api.github.com/users/moneycarlo/orgs","repos_url":"https://api.github.com/users/moneycarlo/repos","events_url":"https://api.github.com/users/moneycarlo/events{/privacy}","received_events_url":"https://api.github.com/users/moneycarlo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T02:58:46Z","updated_at":"2016-09-14T05:57:20Z","closed_at":"2016-09-14T05:57:20Z","body":"Using 2.3.0.2, orders are not going through when either Maxmind or Fraudlabs is enabled.\r\nThere's no error in the error logs or on the screen, and the payment even goes to processor.  Checking to see if the database recorded the order, I found that the order was partially recorded in the order_history table.  In the Comments field, there was an error:\r\n\r\n`The order could not be completed normally due to the following error:<br /><br /><em>&lt;br /&gt;\r\n&lt;b&gt;Fatal error&lt;/b&gt;:  Call to a member function check() on a non-object in &lt;b&gt;/public_html/system/storage/modification/catalog/model/checkout/order.php&lt;/b&gt; on line &lt;b&gt;267&lt;/b&gt;&lt;br /&gt;\r\n</em><br /><br />Double-check your SMTP settings in System > Settings > Mail, and then try disabling or uninstalling any modifications that affect customer orders (i.e. the /catalog/model/checkout/order.php file). One of those is usually the cause of errors like this.`\r\n\r\nI know SMTP works fine because if I disable the fraud mods, the order goes through fine and emails are sent out."},"comment":{"url":"https://api.github.com/repos/opencart/opencart/issues/comments/246913925","html_url":"https://github.com/opencart/opencart/issues/4883#issuecomment-246913925","issue_url":"https://api.github.com/repos/opencart/opencart/issues/4883","id":246913925,"user":{"login":"danielkerr","id":5079756,"avatar_url":"https://avatars.githubusercontent.com/u/5079756?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkerr","html_url":"https://github.com/danielkerr","followers_url":"https://api.github.com/users/danielkerr/followers","following_url":"https://api.github.com/users/danielkerr/following{/other_user}","gists_url":"https://api.github.com/users/danielkerr/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkerr/subscriptions","organizations_url":"https://api.github.com/users/danielkerr/orgs","repos_url":"https://api.github.com/users/danielkerr/repos","events_url":"https://api.github.com/users/danielkerr/events{/privacy}","received_events_url":"https://api.github.com/users/danielkerr/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T05:57:20Z","updated_at":"2016-09-14T05:57:20Z","body":"maybe you deleted one of your order statuses that you set maxmind or fraudlabs to use"}}
{"actor":{"display_login":"danielkerr"}}