Merge pull request #4549 from expsa/ENS-3483

[FIX] applepay_fast_checkout, payment_hyperpay: use local jquery
This commit is contained in:
abdurrahman-saber 2025-09-03 15:38:32 +03:00 committed by GitHub
commit 0d6afe17d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
img-src 'self' https://*.oppwa.com;" />
<script t-att-src="hyperpay_src" t-att-integrity="integrity" crossorigin="anonymous" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" />
<script src="/web/static/lib/jquery/jquery.js" />
<script>
merchant_id = "<t t-esc="merchant_id" />";
</script>

View File

@ -117,7 +117,7 @@ odoo.define("payment_hyperpay.payment_hyperpay", function (require) {
$modal_html.appendTo($("body")).modal({ keyboard: false, backdrop: "static" });
var style_css = '<link rel="stylesheet" href="' + base_url + '/payment_hyperpay/static/src/css/hyperpay_style.css" />';
var script = `<script async src="${domain}/v1/paymentWidgets.js?checkoutId=${checkoutId}" integrity="${result.integrity}" crossorigin="anonymous"></script>`
var js_script = '<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>'
var js_script = '<script src="/web/static/lib/jquery/jquery.js"></script>'
var shopperResultUrlTag =
'<form action="' +
base_url +