\classes\PaymentModule.php
Agregar debajo de:
$order->total_discounts = $order->total_discounts_tax_incl;
$order->total_importcost_tax_excl = Tools::ps_round( (float) $cart->getTotalImportCost(false), $computingPrecision ); $order->total_importcost_tax_incl = Tools::ps_round( (float) $cart->getTotalImportCost(true), $computingPrecision ); $order->total_importcost = $order->total_importcost_tax_incl;
Agregar columnas a la tabla = ps_orders
`total_importcost` decimal(20,6) NOT NULL DEFAULT '0.000000', `total_importcost_tax_incl` decimal(20,6) NOT NULL DEFAULT '0.000000', `total_importcost_tax_excl` decimal(20,6) NOT NULL DEFAULT '0.000000',