Search 1.9 billion lines of Odoo code on GitHub

payment_environment

Author: Camptocamp, Odoo Community Association (OCA)
License: LGPL-3
Branch: 14.0
Repository: acsone/server-env
Dependencies: payment, and server_environment
Languages: HTML (372, 68.8%), PO File (33, 6.1%), Python (40, 7.4%), XML (13, 2.4%), and reStructuredText (83, 15.3%)
Other branches: 13.0
Other repositories: Change2improve/server-env, Darknroses/server-env, OCA/server-env, ajaniszewska-dev/server-env, akretion/server-env, brain-tec/server-env, camptocamp/server-env, coopiteasy/server-env, and gurneyalex/server-env

<h1 class="title">Payment Acquirers' configuration with server_environment</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-env/tree/14.0/payment_environment"><img alt="OCA/server-env" src="https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-env-14-0/server-env-14-0-payment_environment"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/254/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module allows to configure payment acquirers using server_environment files.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id3">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id4">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id5">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id6">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id7">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id8">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id9">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id1">Installation</a></h2> <p>To install this module, you need to have the server_environment module installed and properly configured.</p> <p>After installed, the environment configurable fields will be read from the environment files.</p> <a name="configuration"></a> <h2><a class="toc-backref" href="#id2">Configuration</a></h2> <p>With this module installed, the payment acquirers are configured in the <cite>server_environment_files</cite> module (which is a module you should provide, see the documentation of <cite>server_environment</cite> for more information).</p> <p>In the configuration file of each environment, for each payment acquirer you may use the section <cite>[payment_acquirer.technical_name]</cite> to configure the acquirer values, where &quot;technical_name&quot; is the acquirer's <cite>tech_name</cite>.</p> <p>This module alone only lets you configure the <cite>state</cite> 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 <cite>_server_env_fields</cite> if that's what you want.</p> <p>Example of config file</p> <pre> <code>[payment_acquirer.paypal] state = test</code> </pre> <a name="usage"></a> <h2><a class="toc-backref" href="#id3">Usage</a></h2> <p>Once configured, Odoo will read the payment acquirer values from the configuration file related to each environment defined in the main Odoo file.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id4">Known issues / Roadmap</a></h2> <p>Due to the special nature of this addon, you cannot test it on the OCA runbot.</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id5">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-env/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/server-env/issues/new?body=module:%20payment_environment%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id6">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id7">Authors</a></h3> <ul class="simple"> <li>Camptocamp</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id8">Contributors</a></h3> <ul class="simple"> <li><a class="reference external" href="https://www.camptocamp.com">Camptocamp</a><ul> <li>Iván Todorovich &lt;<a class="reference external" href="mailto:ivan.todorovich&#64;gmail.com">ivan.todorovich&#64;gmail.com</a>&gt;</li> </ul> </li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id9">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/ivantodorovich"><img alt="ivantodorovich" src="https://github.com/ivantodorovich.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-env/tree/14.0/payment_environment">OCA/server-env</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>