OdooWiki OCA HUB

Website JS Below The Fold Payment

website_js_below_the_fold_payment folder_open OCA/website open_in_new
Website License: AGPL-3

This is a technical module to fix a compatibility issue between website_js_below_the_fold and payment modules.

Issue description: https://github.com/OCA/website/issues/587

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Technical fix that makes the payment processing page work correctly when the website JavaScript is loaded below the fold. It changes when the payment widget starts on the payment page.

This is a technical compatibility module. It does not add any new menu, screen or setting for users.

  • It depends on website_js_below_the_fold and payment, and installs automatically when both are present.
  • It modifies the payment processing page template (payment.payment_process_page) by replacing the script that starts the payment processing widget.
  • The new script waits until the page content is fully loaded (DOMContentLoaded) before starting the payment processing widget on the element with class o_payment_processing.
  • This ensures the payment transaction processing still runs correctly when the website JavaScript is deferred to load below the fold.

No models, business rules, checks, emails or scheduled jobs are added. The only change is in the payment page template.

Depends on

Text generated by AI (DeepSeek) from reading the Odoo 12.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

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.

info

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.