Tuesday, August 5, 2025
2 changes · 18.0
Enhancements to existing features
Xendit credit card payments now support the required customer authentication flow. After an initial authorized transaction, recurring purchases can use Xendit's merchant-initiated transaction support, improving reliability for repeat payments while aligning with Xendit's requirements.
Original PR description
By default, Xendit will require authentication for all credit card payment. Previously, we assume that optional 3DS is easily configurable for each user which will omit authentication for tokenization flow. Turns out, this configuration requires permission from Xendit. Instead of that, Xendit provides the Merchant Initiated Transactions (MIT) which allow users to purchase without authorization as long as the first transaction was already authorized successfully. To accomodate this, we need to support authentication flow and adding extra parameter `is_recurring` in the payload, --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Opening the customer list in Point of Sale is now much faster when many customers are loaded and the cart has several items. The system avoids repeating the same total calculation while the list is open, reducing wait times for cashiers and improving checkout flow.
Original PR description
Before this commit, opening the customer list in PoS could be slow when many customers were loaded (common in active PoS environments) and the current order had numerous orderlines. This performance hit was due to repeated recalculations of `get_total_with_tax`. This commit resolves the issue by storing the `get_total_with_tax` value of the current order when the customer list is opened. This value remains constant while the customer list is active, eliminating unnecessary recalculations. Performance Impact: With 500 customers loaded and 20 orderlines in the cart, opening the customer list improved from 5 seconds to 200 ms. opw-4921262