Ivan Rodriguez G Posted August 21, 2020 Share Posted August 21, 2020 Estimados mi tienda tiene dos monedas, bolivares (la predefinida) y dolares. en bolivares funciona todo bien. pero cuando se itenta pagar en dolares, da el siguiente error: [PrestaShopException] La propiedad OrderDetail->product_price no es válida at line 1003 in file classes/ObjectModel.php 998. } 999. 1000. $message = $this->validateField($field, $this->$field); 1001. if ($message !== true) { 1002. if ($die) { 1003. throw new PrestaShopException($message); 1004. } 1005. 1006. return $error_return ? $message : false; 1007. } 1008. } ObjectModelCore->validateFields - [line 292 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 559 - classes/ObjectModel.php] ObjectModelCore->add - [line 875 - classes/order/OrderDetail.php] - [2 Arguments] OrderDetailCore->add - [line 516 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 714 - classes/order/OrderDetail.php] OrderDetailCore->create - [line 740 - classes/order/OrderDetail.php] - [7 Arguments] OrderDetailCore->createList - [line 1032 - classes/PaymentModule.php] - [7 Arguments] PaymentModuleCore->createOrderFromCart - [line 339 - classes/PaymentModule.php] - [17 Arguments] PaymentModuleCore->validateOrder - [line 58 - modules/ps_wirepayment/controllers/front/validation.php] - [9 Arguments] Ps_WirepaymentValidationModuleFrontController->postProcess - [line 281 - classes/controller/Controller.php] ControllerCore->run - [line 515 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Alguien con orientacion al respecto? Link to comment Share on other sites More sharing options...
juanrojas Posted August 24, 2020 Share Posted August 24, 2020 Hola, el metodo de pago que usas acepta las 2 divisas? 1 Link to comment Share on other sites More sharing options...
Ivan Rodriguez G Posted August 24, 2020 Author Share Posted August 24, 2020 Hola gracias por la orientacion. Ciertamente el metodo de pago no acepta ambas divisas, lo separé y funciona sin problemas. gracias por el tips. 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