documentation/content/applications/finance/payment_providers/demo.rst
Tom Aarab (toaa) 77a70dc8bf [IMP] Payment providers: advertise and document the "demo" provider
New page to document the new features of the demo payment provider, and
modifications to related pages

task id: 2982367

closes odoo/documentation#3088

X-original-commit: a1f4c3704b
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
Signed-off-by: Aarab Tom (toaa) <toaa@odoo.com>
2022-12-03 09:52:51 +01: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, Canceled, Error`).
.. image:: demo/demo-view-form.png
:align: center
:alt: Transaction's status bar.