Skip to content

Commit 199a9db

Browse files
committed
[IMP] accounting: payment provider amount restrictions
1 parent 36b1dae commit 199a9db

File tree

3 files changed

+53
-26
lines changed

3 files changed

+53
-26
lines changed

content/applications/finance/payment_providers.rst

Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Online payments
3131

3232
Odoo embeds several **payment providers** that allow your customers to pay online, on their
3333
*customer portals*, or on your *eCommerce website*. They can pay sales orders, invoices, or
34-
subscriptions with recurring payments using their favorite payment methods, such as
35-
**credit cards**.
34+
subscriptions with recurring payments using their favorite payment methods, such as **credit
35+
cards**.
3636

3737
Each payment provider is linked to a list of supported :ref:`payment methods
3838
<payment_providers/payment_methods>` that can be (de)activated based on your needs.
@@ -185,8 +185,7 @@ Online payment providers
185185
.. [*] Refer to the :doc:`Xendit documentation <payment_providers/xendit>` for more information.
186186
187187
.. note::
188-
- Each provider has its own specific configuration flow, depending on which feature is
189-
available.
188+
- Each provider has its own specific configuration flow, depending on which feature is available.
190189
- Some of these online payment providers can also be added as :doc:`bank accounts
191190
<../finance/accounting/bank>`, but this is **not** the same process as adding them as payment
192191
providers. Payment providers allow customers to pay online, and bank accounts are added and
@@ -240,10 +239,10 @@ proceed as follows:
240239
- The fields available in the :guilabel:`Credentials` tab depend on the payment provider. Refer
241240
to the :ref:`related documentation <payment_providers/supported_providers>` for more
242241
information.
243-
- Once you have enabled the payment provider, it is automatically published on your website.
244-
If you wish to unpublish it, click the :guilabel:`Published` button. Customers cannot make
245-
payments through an unpublished provider, but they can still manage
246-
:dfn:`(delete and assign to a subscription)` their existing tokens linked to such a provider.
242+
- Once you have enabled the payment provider, it is automatically published on your website. If
243+
you wish to unpublish it, click the :guilabel:`Published` button. Customers cannot make
244+
payments through an unpublished provider, but they can still manage :dfn:`(delete and assign to
245+
a subscription)` their existing tokens linked to such a provider.
247246

248247
.. _payment_providers/test-mode:
249248

@@ -263,6 +262,34 @@ test account or environment for this purpose.
263262
By default, the payment provider remains **unpublished** in test mode so that it's not visible to
264263
visitors.
265264

265+
Customizing payment amounts
266+
===========================
267+
268+
To allow for customization of payment providers, Odoo allows for payment amount restrictions to be
269+
configured. This is useful when companies need to comply with specific government or vendor contract
270+
regulations.
271+
272+
There are several ways to navigate to the :guilabel:`Payment Providers` page. Go to the
273+
**Accounting**, **Website**, or **Sales** app and then click :menuselection:`Configuration -->
274+
Payment Providers`.
275+
276+
On the :guilabel:`Payment Providers` page, select the desired payment provider and click the
277+
:guilabel:`Configuration` tab. In the :guilabel:`Availability` section, enter the desired
278+
information for the following fields. All fields follow the logic that leaving it blank means no
279+
restrictions are applied:
280+
281+
- :guilabel:`Minimum Amount`: The minimum amount that can be charged when the payment provider is
282+
selected.
283+
- :guilabel:`Maximum Amount`: The maximum amount that can be charged when the payment provider is
284+
selected.
285+
- :guilabel:`Currencies`: Select the type of currencies available for this payment provider when it
286+
is selected.
287+
- :guilabel:`Countries`: Select which countries this payment provider is available in.
288+
- :guilabel:`Pricelists`: Select which pricelists can be used when the payment provider is selected.
289+
290+
.. image:: payment_providers/payment-provider-availability-section.png
291+
:alt: Example of the Availability section configured for a payment provider.
292+
266293
.. _payment_providers/payment_methods:
267294

268295
Payment methods
@@ -275,8 +302,8 @@ click :guilabel:`Enable Payment Methods`, then click the toggle button of the re
275302

276303
.. tip::
277304
- To view the complete list of supported payment methods, go to :menuselection:`Accounting -->
278-
Configuration --> Payment Methods`, :menuselection:`Website --> Configuration -->
279-
Payment Methods`, or :menuselection:`Sales --> Configuration --> Payment Methods`.
305+
Configuration --> Payment Methods`, :menuselection:`Website --> Configuration --> Payment
306+
Methods`, or :menuselection:`Sales --> Configuration --> Payment Methods`.
280307
- Payment methods are displayed on the ecommerce website based on their sequence order. To
281308
reorder them, drag and drop the payment methods into the desired order in the
282309
:guilabel:`Payment Methods` list.
@@ -309,11 +336,11 @@ To further configure payment methods, follow these steps:
309336
#. Go to the :guilabel:`Configuration` tab and adjust the features as needed.
310337

311338
.. danger::
312-
- Each payment method is preconfigured in a way that aligns with the payment providers'
313-
behavior and their integration with Odoo. Any change to this configuration may result in errors
314-
and should be tested on a duplicate or test database first.
315-
- Modifications to the payment method's configuration only work to the extent of the method's
316-
and provider's capabilities. For example, adding :ref:`countries
339+
- Each payment method is preconfigured in a way that aligns with the payment providers' behavior
340+
and their integration with Odoo. Any change to this configuration may result in errors and
341+
should be tested on a duplicate or test database first.
342+
- Modifications to the payment method's configuration only work to the extent of the method's and
343+
provider's capabilities. For example, adding :ref:`countries
317344
<payment_providers/currencies_countries>` for a payment method only supported in one country or
318345
enabling :ref:`tokenization <payment_providers/tokenization>` for a method linked to a provider
319346
that does not support it will not produce the intended results.
@@ -338,13 +365,13 @@ particularly useful for the eCommerce conversion rate and subscriptions that use
338365

339366
.. admonition:: PCI DSS and Attestation of Compliance
340367

341-
Odoo is not `PCI <https://www.pcisecuritystandards.org>`_ DSS-certified because it does not
342-
store cardholder data or process payments. Instead, it outsources tokenization and payment to
368+
Odoo is not `PCI <https://www.pcisecuritystandards.org>`_ DSS-certified because it does not store
369+
cardholder data or process payments. Instead, it outsources tokenization and payment to
343370
:ref:`external payment providers <payment_providers/online_providers>`, which means that as an
344-
Odoo customer, you only need to complete the minimal Self-Assessment Questionnaire (SAQ) with
345-
the provider to obtain the Attestation of Compliance (AoC) and achieve PCI compliance. Odoo
346-
should not be mentioned as a payment processor or a third-party service provider in the
347-
:abbr:`SAQ (Self-Assessment Questionnaire)`.
371+
Odoo customer, you only need to complete the minimal Self-Assessment Questionnaire (SAQ) with the
372+
provider to obtain the Attestation of Compliance (AoC) and achieve PCI compliance. Odoo should
373+
not be mentioned as a payment processor or a third-party service provider in the :abbr:`SAQ
374+
(Self-Assessment Questionnaire)`.
348375

349376
.. _payment_providers/manual_capture:
350377

@@ -429,10 +456,10 @@ allowed and modifying the :guilabel:`Currencies` and :guilabel:`Countries` in th
429456
.. tip::
430457
To display an availability report for payment providers and payment methods, and to help diagnose
431458
potential availability issues on the payment form, enable the :ref:`developer-mode`, then click
432-
the :icon:`fa-bug` (:guilabel:`bug`) icon next to the :guilabel:`Choose a payment method`
433-
heading on the payment form. The report includes a list of enabled payment providers and payment
434-
methods, reasons for any payment providers or methods not being available, if applicable, and a
435-
list of supported providers for each payment method.
459+
the :icon:`fa-bug` (:guilabel:`bug`) icon next to the :guilabel:`Choose a payment method` heading
460+
on the payment form. The report includes a list of enabled payment providers and payment methods,
461+
reasons for any payment providers or methods not being available, if applicable, and a list of
462+
supported providers for each payment method.
436463

437464
.. _payment_providers/currencies_countries:
438465

@@ -498,7 +525,7 @@ By default, the :guilabel:`Bank Account` defined for the :ref:`payment journal
498525
<accounting/journals/outstanding-accounts>` for each payment provider to separate the provider's
499526
payments from other payments.
500527

501-
.. image:: payment_providers/bank_journal.png
528+
.. image:: payment_providers/bank-journal.png
502529
:alt: Define an outstanding account for a payment provider.
503530

504531
.. seealso::

content/applications/finance/payment_providers/bank_journal.png renamed to content/applications/finance/payment_providers/bank-journal.png

File renamed without changes.
7.7 KB
Loading

0 commit comments

Comments
 (0)