documentation/content/applications/finance/payment_providers/demo.rst
Vincent Larcin 59afd5062d [IMP] *: standardize spelling of “cancelled” across documentation
In https://github.com/odoo/odoo/pull/129722, we settled on using the spelling “cancelled”,
and removed all occurrences of “canceled” from the codebase.

This commit does the same for the documentation.

Task-3951276

closes odoo/documentation#9494

Signed-off-by: Vincent Larcin (vila) <vila@odoo.com>
2024-06-01 16:32:07 +00:00

40 lines
1.2 KiB
ReStructuredText

====
Demo
====
Odoo's **Demo Payment Provider** allows you to test business flows involving online transactions
without requiring real banking credentials.
Configuration
=============
.. seealso::
:ref:`payment_providers/add_new`
.. important::
Switch the state to :guilabel:`Test Mode`.
Payment outcome
===============
Upon checkout or when paying a bill online, you can choose the payment outcome when using the demo
payment provider. To do so, click on the :guilabel:`Payment Status` drop-down menu and select the
desired outcome.
.. image:: demo/demo-payment-outcome.png
:align: center
:alt: Payment status outcomes.
Transaction state
=================
If you selected :guilabel:`Pending` as **payment outcome**, you can change the state of the
transaction straight from its form view. To access a transaction's form view, activate the
:ref:`developer mode <developer-mode>`, and go to :menuselection:`Accounting / Website -->
Configuration --> Payment Transactions`. Then, change the status of a transaction by clicking on the
state bar (:guilabel:`Draft, Pending, Authorized, Confirmed, Cancelled, Error`).
.. image:: demo/demo-view-form.png
:align: center
:alt: Transaction's status bar.