Files
odoo_source/addons/pos_stripe
Joren Van Onder 0d16724945 [ADD] pos_restaurant_stripe: support adding tip after payment
This is analogous to pos_restaurant_adyen and adds support for the two
American tipping flows:

- customer tips immediately themselves after paying using the TipScreen
- waiter adds tips end-of-day using paper receipts using the TicketScreen

To allow for tipping an optional amount= parameter was added to
stripe_capture_payment and the transaction_id on the paymentline was
saved a bit sooner so it can be used in the backend in set_no_tip and
_update_payment_line_for_tip.

Stripe docs:
https://stripe.com/docs/terminal/features/collecting-tips/on-receipt

task-2979312

closes odoo/odoo#99973

Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-09-14 21:22:05 +02:00
..
…