Saturday, May 23, 2026
1 change · saas-18.4
Resolved issues and error corrections
Restaurant point-of-sale payments through Stripe are now captured even when a customer chooses a 0% tip. This prevents valid payments from staying pending and being automatically cancelled later, reducing payment follow-up and revenue risk.
Original PR description
Currently, the `pos_restaurant` module only calls capture payment within `validateTip` if there is an amount to tip. Since Stripe requires a capture for all payments and we defer that to later if it can be adjusted, this means that if customers have tip after payment enabled and enter a tip of 0%, it will never be captured, stay pending, and then be automatically cancelled later down the line. This commit catches that by hooking into the `validateTip` method and calling capture anyway on 0% tips. opw-6082596 Forward-Port-Of: odoo/odoo#265507 Forward-Port-Of: odoo/odoo#261129