This module requires users to accept the legal terms before paying through the payment form. It also stores the acceptance metadata in the payment transaction.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a mandatory "I accept the terms and conditions" checkbox to the online payment form and records the acceptance details on the payment transaction.
When a customer reaches the payment step of an online checkout, a new checkbox labelled "I accept the terms and conditions" appears just above the pay button, with a link to the /terms page. The pay button stays disabled until the box is ticked, and the form cannot be submitted while it is unticked, even if another payment widget tries to enable the button.
When the customer pays with the box ticked, the system stores acceptance information on the related payment transaction: the customer's IP address, browser identification and browser language. This information is saved in a read-only field called legal_terms_acceptance_metadata on the payment.transaction record, so it cannot be edited afterwards and is not copied when the transaction is duplicated.
Back-office users can see this acceptance record on the payment transaction form, right after the customer language field. The module only touches the payment transaction model and the front-end payment form; it does not create new menus or reports.
Depends on
Models and fields (1)
- payment.transaction · extends an existing modellegal_terms_acceptance_metadata
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/account-payment.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Create a quotation.
- Access the payment form using either of these methods:
- Generate and open a payment link from the quotation.
- Send the quotation to the customer and access it from the portal to sign and pay it.
- Select a payment method.
- Accept the legal terms.
- Proceed with the payment.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.