Commit Graph
5 Commits
Author SHA1 Message Date
lejeune quentin f4a95639d4 [FIX] pos_stripe: Improves error handling
Currently if an error occurs on the server side it is not
reported to the POS interface and therefore to the user.

With this commit all responses to requests to the Stripe
server are managed in the POS so that the cashier is correctly
informed of any errors that may occur

closes odoo/odoo#104870

X-original-commit: a9c794ed31cfe1527f0e480729212859338bca60
Signed-off-by: Trinh Jacky (trj) <trj@odoo.com>
2022-11-03 16:43:36 +01:00
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
Horacio Tellez f7b8f07501 [IMP] payment: rename of acquirer to provider
Changing the name of model payment.acquirer to payment.provider
and everything that it touches. It is technically incorrect to
use the term "acquirer" for systems that only provide a service
of payment.
After this commit the model payment.acquirer and all related to
it will be renamed to payment.provider.

Task - 2842088

closes odoo/odoo#90899

Related: odoo/upgrade#3542
Related: odoo/documentation#1981
Related: odoo/enterprise#27131
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-09-09 13:38:08 +02:00
lejeune quentin dbc065423b [FIX] pos_stripe: Add a link to Stripe connect
We need to complete the onboarding of Stripe connect or
record the secret key

Actually there are not a direct link to payment from POS

So we add a link from the Stripe payment method to Stripe view form

closes odoo/odoo#92869

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2022-06-03 16:41:19 +02:00
lejeune quentin 143f632d96 [ADD] pos_stripe: Add the possibility to pay with Stripe in the POS
Add a stripe payment provider to the POS

To be able to use this payment provider, you must have configured Stripe in Odoo

closes odoo/odoo#92421

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2022-06-02 12:05:00 +02:00