Friday, January 17, 2025
2 changes · saas-17.4
Resolved issues and error corrections
This fix prevents a point-of-sale error when Mercado Pago sends a payment callback without complete payment details. It helps cashiers continue processing payments without being interrupted by a system error.
Original PR description
Before this commit: Once receveiving Mercado Pago callback, a JS traceback would occur: ```js TypeError: Cannot read properties of undefined (reading 'payment_method') at Proxy.get_payment ``` opw-4349957
Self-order customers now see accurate prices for combo items in the POS. This prevents confusing or incorrect totals when ordering bundled products through the self-order interface.
Original PR description
Issue: ======= Combo product lines in the POS frontend displayed incorrect prices when order from self Order Cause: ======= The `price_unit` was being calculated without considering the `combo_line_id`. For example: price_unit += pos_order_line.combo_price + price_extra_child` Fix: ===== The `combo_line_id` was included in the calculation to ensure accuracy: price_unit += pos_order_line.`combo_line_id`.combo_price + price_extra_child Task-4464002