Jump to content

Non riesco ad aggiungere Ordine manualmente


Recommended Posts

vers. installata Prestashop


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?




Can't save Order

at line 264 in file classes/PaymentModule.php



259. // Creating order

260. $result = $order->add();


262. if (!$result)

263. throw new PrestaShopException('Can\'t save Order');


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 by Rpallanti (see edit history)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More