128 lines
4.5 KiB
ReStructuredText
128 lines
4.5 KiB
ReStructuredText
========================================================
|
|
Payment Acquirers' configuration with server_environment
|
|
========================================================
|
|
|
|
..
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
!! This file is generated by oca-gen-addon-readme !!
|
|
!! changes will be overwritten. !!
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
!! source digest: sha256:9dca4f445b53712cb1a25b48a08bf48b0089281fee7e08d9bcf31b315733bbe3
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
:target: https://odoo-community.org/page/development-status
|
|
:alt: Beta
|
|
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
|
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
|
:alt: License: LGPL-3
|
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github
|
|
:target: https://github.com/OCA/server-env/tree/13.0/payment_environment
|
|
:alt: OCA/server-env
|
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
:target: https://translation.odoo-community.org/projects/server-env-13-0/server-env-13-0-payment_environment
|
|
:alt: Translate me on Weblate
|
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-env&target_branch=13.0
|
|
:alt: Try me on Runboat
|
|
|
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
|
|
This module allows to configure payment acquirers using server_environment files.
|
|
|
|
**Table of contents**
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
Installation
|
|
============
|
|
|
|
To install this module, you need to have the server_environment module
|
|
installed and properly configured.
|
|
|
|
After installed, the environment configurable fields will be read from
|
|
the environment files.
|
|
|
|
Configuration
|
|
=============
|
|
|
|
With this module installed, the payment acquirers are configured in
|
|
the `server_environment_files` module (which is a module you should provide,
|
|
see the documentation of `server_environment` for more information).
|
|
|
|
In the configuration file of each environment, for each payment acquirer you
|
|
may use the section `[payment_acquirer.technical_name]` to configure the
|
|
acquirer values, where "technical_name" is the acquirer's `tech_name`.
|
|
|
|
This module alone only lets you configure the `state` field, which allows to
|
|
set the acquirer's environment. Most payment acquirers will define specific
|
|
fields to store their credentials, so glue modules are required to include them
|
|
in `_server_env_fields` if that's what you want.
|
|
|
|
Example of config file ::
|
|
|
|
[payment_acquirer.paypal]
|
|
state = test
|
|
|
|
Usage
|
|
=====
|
|
|
|
Once configured, Odoo will read the payment acquirer values from the
|
|
configuration file related to each environment defined in the main Odoo file.
|
|
|
|
Known issues / Roadmap
|
|
======================
|
|
|
|
Due to the special nature of this addon, you cannot test it on the OCA runbot.
|
|
|
|
Bug Tracker
|
|
===========
|
|
|
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-env/issues>`_.
|
|
In case of trouble, please check there if your issue has already been reported.
|
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
`feedback <https://github.com/OCA/server-env/issues/new?body=module:%20payment_environment%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
|
|
Do not contact contributors directly about support or help with technical issues.
|
|
|
|
Credits
|
|
=======
|
|
|
|
Authors
|
|
~~~~~~~
|
|
|
|
* Camptocamp
|
|
|
|
Contributors
|
|
~~~~~~~~~~~~
|
|
|
|
* `Camptocamp <https://www.camptocamp.com>`_
|
|
|
|
* Iván Todorovich <ivan.todorovich@gmail.com>
|
|
|
|
Maintainers
|
|
~~~~~~~~~~~
|
|
|
|
This module is maintained by the OCA.
|
|
|
|
.. image:: https://odoo-community.org/logo.png
|
|
:alt: Odoo Community Association
|
|
:target: https://odoo-community.org
|
|
|
|
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
mission is to support the collaborative development of Odoo features and
|
|
promote its widespread use.
|
|
|
|
.. |maintainer-ivantodorovich| image:: https://github.com/ivantodorovich.png?size=40px
|
|
:target: https://github.com/ivantodorovich
|
|
:alt: ivantodorovich
|
|
|
|
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
|
|maintainer-ivantodorovich|
|
|
|
|
This module is part of the `OCA/server-env <https://github.com/OCA/server-env/tree/13.0/payment_environment>`_ project on GitHub.
|
|
|
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|