Jump to content

Non riesco ad aggiungere Ordine manualmente


Rpallanti

Recommended Posts

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 by Rpallanti (see edit history)
Link to comment
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...