Rpallanti Posted April 30, 2013 Share Posted April 30, 2013 (edited) vers. installata Prestashop 1.5.4.1 Salve a tutti, premetto che sono un Newbie assoluto di Prestashop, ho cercato di inserire un'ordine manualmente dalla tab ordini "aggiungi nuovo" ed ho riempito tutti i campi necessari (cliente, carrello, spedizione ecc.) ma appena clicco "crea ordine" vengo reindirizzato a questa pagina: Qualcuno sa darmi una dritta per risolvere il problema? [PrestaShopException] Can't save Order at line 264 in file classes/PaymentModule.php 258. 259. // Creating order 260. $result = $order->add(); 261. 262. if (!$result) 263. throw new PrestaShopException('Can\'t save Order'); 264. 265. // Amount paid by customer is not the right one -> Status = payment error 266. // We don't use the following condition to avoid the float precision issues : http://www.php.net/m...types.float.php 267. // if ($order->total_paid != $order->total_paid_real) 268. // We use number_format in order to compare two string Edited April 30, 2013 by Rpallanti (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now