This addon creates a custom redirect_form_html for custom providers. This HTML contains the pending message defined on the custom provider plus all the payment info. It also allow to submit the form to redirect to a new route /payment/providers/custom/pending where the transaction is set to pending and the callbacks are executed, as in the standard Odoo flow.
Table of contents
Usage
Specific procedure for Custom payments
This addon manages custom payments (such as wire transfers).
First call the POST /payment/transactions as described in the core addon shopinvader_api_payment. This method will return a TransactionProcessingValues schema in which you will find a redirect_form_html HTML form. This HTML form must just be submitted by the front. It will call the POST route payment/providers/custom/pending that will send the transaction into pending (compared to other providers, a transaction paid with a custom payment mode is not automatically validated). This route will then redirect to the frontend_redirect_url giving the pending message defined on the provider.
Bug Tracker
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Marie Lejeune <marie.lejeune@acsone.eu>
Stéphane Bidoul <stephane.bidoul@acsone.eu>
Maintainers
This module is part of the shopinvader/odoo-shopinvader-payment project on GitHub.
You are welcome to contribute.
Metadata
Release files for odoo-addon-shopinvader-api-payment-provider-custom 16.0.1.0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_shopinvader_api_payment_provider_custom-16.0.1.0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_shopinvader_api_payment_provider_custom-16.0.1.0.0.4-py3-none-any.whl
| Download URL | odoo_addon_shopinvader_api_payment_provider_custom-16.0.1.0.0.4-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae6274aa25607bdcfc18dd42303df676c3e47fcc83549bcefa7964a630ad6ef2
|
|
BLAKE2b-256 checksum How to use checksums |
91179aeb30fc9c6c52df9555dd99bc84ab02b35102c11c73b0d9811dd529a7e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|