GitHub PullRequestReviewCommentEvent at 2014-04-16 16:02:40
Repository: PrestaShop-modules
Actor: gaillafr
Payload: {"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop-modules/pulls/comments/11691608","id":11691608,"diff_hunk":"@@ -133,23 +131,21 @@ public static function ManageUrlCall()\n \t\t\t\t\t\tKwixoLogger::insertLogKwixo(__METHOD__.' : '.__LINE__, 'Paiement accepté : $order->id = '.$id_order);\n \n \t\t\t\t\t\t//Insert in kwixo order with urlcall method\n-\t\t\t\t\t\t$payment->manageKwixoOrder($id_order, '', $TransactionID, $id_cart, 'urlcall');\n+\t\t\t\t\t\t$payment->manageKwixoOrder($id_order, '', $transaction_id, $id_cart, $payment_type, 'urlcall');\n \n \t\t\t\t\t\t//cart clean\n-\t\t\t\t\t\tif ($cookie->id_cart == (int) $cookie->last_id_cart)\n+\t\t\t\t\t\tif ($cookie->id_cart == (int)$cookie->last_id_cart)\n \t\t\t\t\t\t\tunset($cookie->id_cart);\n-\n-\t\t\t\t\t\t$customer = new Customer((int) $cart->id_customer);\n \t\t\t\t\t\tbreak;\n \n \t\t\t\t\t//for unknowned tag\n \t\t\t\t\tdefault:\n \t\t\t\t\t\t//error saved\n \t\t\t\t\t\t$errors[] = $payment->l('One or more error occured during the validation').\"\\n\";\n-\t\t\t\t\t\tKwixoLogger::insertLogKwixo(__METHOD__.' : '.__LINE__, 'Tag inconnu \"'.$tag.'\" recu.');\n+\t\t\t\t\t\tKwixoLogger::insertLogKwixo(__METHOD__.' : '.__LINE__, 'Tag inconnu '.$tag.' recu.');\n \n \t\t\t\t\t\t//cart clean\n-\t\t\t\t\t\tif ($cookie->id_cart == (int) $cookie->last_id_cart)\n+\t\t\t\t\t\tif ($cookie->id_cart == (int)$cookie->last_id_cart)","path":"kwixo/KwixoUrlCallFrontController.php","position":147,"original_position":147,"commit_id":"d18317d12c036016de9bea33fc3b7c9935140cdc","original_commit_id":"d18317d12c036016de9bea33fc3b7c9935140cdc","user":{"login":"gaillafr","id":2244330,"avatar_url":"https://avatars.githubusercontent.com/u/2244330?","gravatar_id":"0ced08a4ffc2ed4695e9bbfd5b465527","url":"https://api.github.com/users/gaillafr","html_url":"https://github.com/gaillafr","followers_url":"https://api.github.com/users/gaillafr/followers","following_url":"https://api.github.com/users/gaillafr/following{/other_user}","gists_url":"https://api.github.com/users/gaillafr/gists{/gist_id}","starred_url":"https://api.github.com/users/gaillafr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaillafr/subscriptions","organizations_url":"https://api.github.com/users/gaillafr/orgs","repos_url":"https://api.github.com/users/gaillafr/repos","events_url":"https://api.github.com/users/gaillafr/events{/privacy}","received_events_url":"https://api.github.com/users/gaillafr/received_events","type":"User","site_admin":false},"body":"You should use the cart id from the Context","created_at":"2014-04-16T16:02:40Z","updated_at":"2014-04-16T16:02:40Z","html_url":"https://github.com/PrestaShop/PrestaShop-modules/pull/304#discussion_r11691608","pull_request_url":"https://api.github.com/repos/PrestaShop/PrestaShop-modules/pulls/304","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop-modules/pulls/comments/11691608"},"html":{"href":"https://github.com/PrestaShop/PrestaShop-modules/pull/304#discussion_r11691608"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop-modules/pulls/304"}}}}