Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Labels:None
-
Similar issues:
PSCFV-6582Double rule for taxes
PSCFV-4879 How to insert a additional value to the database using web service??PSCFV-8904Warehouses-addresses : database ids incoherenciesPSCFV-8178Products doubled only in Featured Products and Rapid searchPSCFV-7589Big big big bug with $cart->id_carrier only using "One Page Checkout" on all order steps (javascript issue) that value is not set after choosing the delivery methodPSCFV-5336double-click of entries in lists of category/manufacturer Prestashop (1.5.2.)PSCFV-1511AdminCustomer : Incorrect orders amount
PSCFV-7286 There is lack of foreign keys in database
Description
hi
Using my two payment modules only today (after updated the system with svn checkout comand), I get this error in the "total_paid_real" field of order table, the price is double and to make a test I've tried to pass the total cart value to $this->module->validateOrder with its value and not with the variable and I get the same error
With bankwire is ok, but the structure is the same and some hours ago this problem was not present
Hi
I've found where is the problem
is in this code, if I remove it from "validateOrder" the value of "total_paid_real" (the problem is only into the database) return ok like total_paid
// Register Payment only if the order status validate the order
{ if (!$order->addOrderPayment($amount_paid)) throw new PrestaShopException('Can\'t save Order Payment'); }if ($result && $order_status->logable)