============================
Shopinvader Api Payment Cart
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bd029531f69256da78ca7825cafd1745df3bf6d3a3f6324d2510009ae1b229d1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-shopinvader%2Fodoo--shopinvader--payment-lightgray.png?logo=github
:target: https://github.com/shopinvader/odoo-shopinvader-payment/tree/16.0/shopinvader_api_payment_cart
:alt: shopinvader/odoo-shopinvader-payment
|badge1| |badge2| |badge3|
This addon adds logic to payments, specifically concerning the sale orders.
It defines a callback on payment transactions, in order to confirm the cart
(making it a quotation) when the payment is done.
What's more, it adds a configuration on the payment provider to decide if,
when the payment is done, the quotation must stay a quotation or be confirmed
into a sale order.
Table of contents
.. contents::
:local:
Usage
Get the encoded payable info for a cart
As the routes on the cart router are private, the user needs to be authenticated to retrieve the cart payable info.
Call one of the routes /current/payable/
or /{uuid}/payable
to retrieve the payable token that will be needed in all public payment routes of the shopinvader_api_payment
core addon.
Bug Tracker
Bugs are tracked on GitHub Issues <https://github.com/shopinvader/odoo-shopinvader-payment/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/shopinvader/odoo-shopinvader-payment/issues/new?body=module:%20shopinvader_api_payment_cart%0Aversion:%2016.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
* ACSONE SA/NV
* Shopinvader
Contributors
Maintainers
This module is part of the `shopinvader/odoo-shopinvader-payment <https://github.com/shopinvader/odoo-shopinvader-payment/tree/16.0/shopinvader_api_payment_cart>`_ project on GitHub.
You are welcome to contribute.