Skip to content

Commit 527cf78

Browse files
committed
[ADD] payment_providers: Pay on site & Cash on delivery
task-4987726 Group bank payments (wire transfer and SDD) in a single file closes #15308 Signed-off-by: Audrey Vandromme (auva) <auva@odoo.com>
1 parent 981251c commit 527cf78

File tree

11 files changed

+160
-105
lines changed

11 files changed

+160
-105
lines changed

content/applications/finance/accounting/payments/batch_sdd.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ To create an |sdd| mandate:
8181
(:guilabel:`gear`) icon, then select :guilabel:`Mandate form`.
8282
- The :guilabel:`SDD Scheme` depends on the type of customer: Select :guilabel:`CORE` for B2C
8383
customers and :guilabel:`B2B` for B2B customers.
84-
- |sdd| mandates are created automatically for :doc:`online payments made with SDD
85-
<../../payment_providers/sdd>`.
84+
- |sdd| mandates are created automatically for :ref:`online payments made with SDD
85+
<payment_providers/bank_payments/sdd>`.
8686

8787
Once an |sdd| mandate is active, subsequent |sdd| payments can be generated via Odoo and
8888
:ref:`uploaded to your online banking interface <accounting/batch_sdd/XML>`. Customers with an
89-
active |sdd| mandate can also use this payment method for :doc:`online purchases
90-
<../../payment_providers/sdd>`.
89+
active |sdd| mandate can also use this payment method for :ref:`online purchases
90+
<payment_providers/bank_payments/sdd>`.
9191

9292
.. _accounting/batch_sdd/close-revoke-mandate:
9393

@@ -139,7 +139,7 @@ of all posted |sdd| payments to your online banking interface. To do so, follow
139139

140140
.. seealso::
141141
- :doc:`batch`
142-
- :doc:`SEPA Direct Debit for online payments <../../payment_providers/sdd>`
142+
- :ref:`SEPA Direct Debit for online payments <payment_providers/bank_payments/sdd>`
143143
- `SEPA guidelines
144144
<https://www.europeanpaymentscouncil.eu/document-library/implementation-guidelines/sepa-credit-transfer-inter-psp-implementation-guidelines>`_
145145

content/applications/finance/accounting/payments/online.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Configuration
1919
Make sure your :doc:`payment providers are correctly configured <../../payment_providers>`.
2020

2121
.. note::
22-
By default, ":doc:`Wire Transfer </applications/finance/payment_providers/wire_transfer>`" is the
22+
By default, :ref:`Wire Transfer <payment_providers/bank_payments/wire_transfer>` is the
2323
only payment provider activated, but you still have to fill out the payment details.
2424

2525
To activate the Invoice Online Payment, go to :menuselection:`Accounting --> Configuration -->

content/applications/finance/payment_providers.rst

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ Online payments
77
.. toctree::
88
:titlesonly:
99

10-
payment_providers/wire_transfer
11-
payment_providers/sdd
1210
payment_providers/adyen
1311
payment_providers/amazon_payment_services
1412
payment_providers/asiapay
@@ -27,6 +25,8 @@ Online payments
2725
payment_providers/stripe
2826
payment_providers/worldline
2927
payment_providers/xendit
28+
payment_providers/bank_payments
29+
payment_providers/inperson_payments
3030

3131
Odoo embeds several **payment providers** that allow your customers to pay online, on their
3232
*customer portals*, or on your *eCommerce website*. They can pay sales orders, invoices, or
@@ -52,7 +52,8 @@ Supported payment providers
5252

5353
To access the supported payment providers, go to :menuselection:`Accounting --> Configuration -->
5454
Payment Providers`, :menuselection:`Website --> Configuration --> Payment Providers`, or
55-
:menuselection:`Sales --> Configuration --> Payment Providers`.
55+
:menuselection:`Sales --> Configuration --> Payment Providers`. Click the relevant payment provider
56+
card to access and configure the related provider.
5657

5758
.. _payment_providers/online_providers:
5859

@@ -196,12 +197,20 @@ Online payment providers
196197
Bank payments
197198
-------------
198199

199-
- | :doc:`Wire Transfer <payment_providers/wire_transfer>`
200-
| When selected, Odoo displays your payment information with a payment reference. You have to
201-
approve the payment manually once you have received it in your bank account.
202-
- | :doc:`SEPA Direct Debit <payment_providers/sdd>`
203-
| Your customers can make a bank transfer to register a SEPA Direct Debit mandate and get their
204-
bank account charged directly.
200+
- | :ref:`Wire Transfer <payment_providers/bank_payments/wire_transfer>`
201+
| Odoo displays your payment information with a payment reference. You have to approve the payment
202+
manually once it has been received in your bank account.
203+
- | :ref:`SEPA Direct Debit <payment_providers/bank_payments/sdd>`
204+
| Customers can make a bank transfer to register a SEPA Direct Debit mandate and allow their
205+
account to be charged directly for future payments.
206+
207+
In-person payments
208+
------------------
209+
210+
- | :ref:`Pay on Site <payment_providers/inperson_payments/pay_on_site>`
211+
| Customers can reserve products online and pay when collecting their orders in store.
212+
- | :ref:`Cash on Delivery <payment_providers/inperson_payments/cash_on_delivery>`
213+
| Customers can pay for their orders upon delivery.
205214
206215
.. _payment_providers/add_new:
207216

@@ -258,36 +267,39 @@ are the ones that have been activated. To activate or deactivate a payment metho
258267
click :guilabel:`Enable Payment Methods`, then click the toggle button of the related method.
259268

260269
.. tip::
261-
Payment methods are displayed on your website based on their sequence order. To reorder them,
262-
click :guilabel:`Enable Payment Methods` in the payment provider form, then, in the
263-
:guilabel:`Payment Methods` list, drag and drop the payment methods in the desired order.
270+
- To view the complete list of supported payment methods, go to :menuselection:`Accounting -->
271+
Configuration --> Payment Methods`, :menuselection:`Website --> Configuration -->
272+
Payment Methods`, or :menuselection:`Sales --> Configuration --> Payment Methods`.
273+
- Payment methods are displayed on the ecommerce website based on their sequence order. To
274+
reorder them, drag and drop the payment methods into the desired order in the
275+
:guilabel:`Payment Methods` list.
264276

265277
Icons and brands
266278
----------------
267279

268280
The icons displayed next to the payment method on your website are either the icons of the brands
269281
activated for the payment method or, if there aren't any, the icons of the payment methods
270-
themselves. To modify them, go to :menuselection:`Accounting --> Configuration --> Payment Methods`,
271-
:menuselection:`Website --> Configuration --> Payment Methods` or :menuselection:`Sales -->
272-
Configuration --> Payment Methods`, then click on the payment method.
282+
themselves. To modify them, :ref:`access the list of payment methods
283+
<payment_providers/payment_methods>`, then click the relevant one.
273284

274285
To modify a payment method's icon, hover your mouse over the image in the upper-right corner of the
275286
payment method's form and click the :icon:`fa-pencil` (:guilabel:`pencil`) icon.
276287

277288
Select the :guilabel:`Brands` tab to view the brands that have been activated for the payment
278289
method. The brands and their related icons are displayed based on their sequence order; to reorder
279-
them, drag and drop them in the desired order. To modify a brand's icon, select the brand, then,
290+
them, drag and drop them into the desired order. To modify a brand's icon, select the brand, then,
280291
in the popup window that opens, hover the mouse over the image in the upper-right corner and click
281292
the :icon:`fa-pencil` (:guilabel:`pencil`) icon.
282293

283294
Advanced configuration
284295
----------------------
285296

286-
To configure payment methods further, go to :menuselection:`Accounting --> Configuration --> Payment
287-
Methods`, :menuselection:`Website --> Configuration --> Payment Methods` or :menuselection:`Sales
288-
--> Configuration --> Payment Methods`. Click on the payment method, then activate the
289-
:ref:`developer mode <developer-mode>`. Click the :guilabel:`Configuration` tab to adapt the
290-
features.
297+
To further configure payment methods, follow these steps:
298+
299+
#. Activate the :ref:`developer mode <developer-mode>`.
300+
#. :ref:`Access the list of payment methods <payment_providers/payment_methods>` and click the
301+
relevant one.
302+
#. Go to the :guilabel:`Configuration` tab and adjust the features as needed.
291303

292304
.. danger::
293305
- Each payment method is preconfigured in a way that aligns with the payment providers'
@@ -483,8 +495,6 @@ payments from other payments.
483495
:alt: Define an outstanding account for a payment provider.
484496

485497
.. seealso::
486-
- :doc:`payment_providers/wire_transfer`
487-
- :doc:`payment_providers/sdd`
488498
- :doc:`payment_providers/adyen`
489499
- :doc:`payment_providers/authorize`
490500
- :doc:`payment_providers/asiapay`
@@ -500,4 +510,6 @@ payments from other payments.
500510
- :doc:`payment_providers/stripe`
501511
- :doc:`payment_providers/worldline`
502512
- :doc:`payment_providers/xendit`
513+
- :doc:`payment_providers/bank_payments`
514+
- :doc:`payment_providers/inperson_payments`
503515
- :doc:`accounting/bank`

content/applications/finance/payment_providers/sdd.rst renamed to content/applications/finance/payment_providers/bank_payments.rst

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,56 @@
1-
=================
1+
=============
2+
Bank payments
3+
=============
4+
5+
.. seealso::
6+
:doc:`../payment_providers`
7+
8+
.. _payment_providers/bank_payments/wire_transfer:
9+
10+
Wire transfer
11+
=============
12+
13+
The **Wire Transfer** payment method allows you to provide payment instructions to customers,
14+
such as your bank details and a reference to include with the payment. These instructions are
15+
displayed after the customer selects :guilabel:`Wire Transfer` as the payment method and clicks the
16+
:guilabel:`Pay now` button at the end of the checkout process on your ecommerce website or on the
17+
customer portal.
18+
19+
.. note::
20+
- While this method is widely accessible and requires minimal setup, it is not efficient
21+
process-wise. It is recommended to set up a :doc:`payment provider <../payment_providers>`
22+
instead.
23+
- Online orders remain in the :guilabel:`Quotation sent` (i.e., unpaid order) stage until you
24+
receive the payment and manually :guilabel:`Confirm` the order.
25+
26+
To configure **Wire Transfer**, follow these steps:
27+
28+
#. :ref:`Navigate to the Wire Transfer payment provider <payment_providers/supported_providers>`.
29+
#. In the :guilabel:`Configuration` tab, select whether the memo or :guilabel:`Communication` to be
30+
displayed alongside the payment instructions should be:
31+
32+
- :guilabel:`Based on Document Reference`: the sales order or invoice number
33+
- :guilabel:`Based on Customer ID`: the customer identifier
34+
35+
#. Enable :guilabel:`Enable QR codes` to activate QR code payments.
36+
37+
.. note::
38+
:doc:`Additional accounting setup <../accounting/customer_invoices/epc_qr_code>` is required
39+
to use QR codes.
40+
41+
#. Define the payment instructions in the :guilabel:`Messages` tab. If :doc:`a bank account
42+
<../accounting/bank>` has already been defined, the account number is automatically added to the
43+
default message generated by Odoo. You can also add it afterward and update the message by
44+
clicking :guilabel:`Reload pending message`.
45+
#. Set the :guilabel:`State` field to :guilabel:`Enabled`.
46+
47+
.. tip::
48+
The **Wire transfer** payment method can serve as a template for other payment methods that are
49+
processed manually, such as checks. :ref:`Access the Wire Transfer payment method
50+
<payment_providers/payment_methods>`, then duplicate it if needed and rename it accordingly.
51+
52+
.. _payment_providers/bank_payments/sdd:
53+
254
SEPA Direct Debit
355
=================
456

@@ -24,7 +76,7 @@ customers' bank accounts based on a signed :ref:`SEPA Direct Debit mandate
2476
.. _sdd/configuration:
2577

2678
Configuration
27-
=============
79+
-------------
2880

2981
To configure **SEPA Direct Debit**, follow these steps:
3082

@@ -54,11 +106,8 @@ To configure **SEPA Direct Debit**, follow these steps:
54106
.. tip::
55107
You can also test SEPA direct debit payments using the :ref:`payment_providers/test-mode`.
56108

57-
.. seealso::
58-
:doc:`../payment_providers`
59-
60109
Online payments with |sdd|
61-
==========================
110+
--------------------------
62111

63112
Customers selecting |sdd| as a payment method are prompted to enter their IBAN to complete the
64113
:ref:`SEPA Direct Debit mandate <accounting/batch_sdd/sdd_mandates>`.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
==================
2+
In-person payments
3+
==================
4+
5+
.. note::
6+
Sales orders are automatically confirmed when paid using an in-person payment method.
7+
8+
.. _payment_providers/inperson_payments/pay_on_site:
9+
10+
Pay on site
11+
===========
12+
13+
To allow customers to reserve products online and pay when collecting them in-store, enable and
14+
configure the :ref:`Click & Collect feature <ecommerce/shipping/instore-pickup>`. The **Pay on
15+
Site** payment provider is automatically enabled and published. To edit the default instructions
16+
shown to customers, :ref:`access the payment provider form <payment_providers/supported_providers>`
17+
and go to the :guilabel:`Messages` tab.
18+
19+
.. note::
20+
The method is only available at checkout for customers who select the **Pick up in store**
21+
delivery method.
22+
23+
.. _payment_providers/inperson_payments/cash_on_delivery:
24+
25+
Cash on delivery
26+
================
27+
28+
The **Cash on Delivery** payment method allows customers to pay for their order at the time of
29+
delivery. To make it available to customers, :doc:`navigate to the relevant delivery method form
30+
</applications/inventory_and_mrp/inventory/shipping_receiving/setup_configuration/new_delivery_method>`
31+
and enable :guilabel:`Cash on Delivery`. The **Cash on Delivery** payment provider is automatically
32+
enabled and published. To edit the default instructions shown to customers, :ref:`access the payment
33+
provider form <payment_providers/supported_providers>` and go to the :guilabel:`Messages` tab.
34+
35+
.. note::
36+
This method is only available at checkout for customers who select a delivery method with the
37+
:guilabel:`Cash on Delivery` feature enabled.
38+
39+
.. seealso::
40+
:doc:`../payment_providers`

content/applications/finance/payment_providers/wire_transfer.rst

Lines changed: 0 additions & 58 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)