diff --git a/CHANGELOG.md b/CHANGELOG.md index 784e207..747406d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ # Changelog -## Latest Version - v1.5.3 (03/04/24) +## Latest Version - v1.5.4 (07/02/24) +#### Enhancements: +- Allow digital wallets payments when the mode is set to embedded + +## v1.5.3 (03/04/24) #### Enhancements: - Allow digital wallets payments when the mode is set to lightbox diff --git a/dist/rxp-js.js b/dist/rxp-js.js index 243961e..1822cb0 100644 --- a/dist/rxp-js.js +++ b/dist/rxp-js.js @@ -1,4 +1,4 @@ -/*! rxp-js - v1.5.3 - 2024-03-04 +/*! rxp-js - v1.5.4 - 2024-07-02 * The official Realex Payments JS Library * https://github.com/realexpayments/rxp-js * Licensed MIT @@ -823,6 +823,9 @@ var RealexHpp = (function () { }, setIframe: function (iframeId) { iFrame = document.getElementById(iframeId); + if (iFrame) { + iFrame.setAttribute("allow", "payment " + internal.getBaseUrl(hppUrl)); + } }, getIframe: function () { return iFrame; diff --git a/dist/rxp-js.min.js b/dist/rxp-js.min.js index 772ed57..24285fa 100644 Binary files a/dist/rxp-js.min.js and b/dist/rxp-js.min.js differ diff --git a/lib/rxp-hpp.js b/lib/rxp-hpp.js index 1e470f5..e972a35 100644 --- a/lib/rxp-hpp.js +++ b/lib/rxp-hpp.js @@ -819,6 +819,9 @@ var RealexHpp = (function () { }, setIframe: function (iframeId) { iFrame = document.getElementById(iframeId); + if (iFrame) { + iFrame.setAttribute("allow", "payment " + internal.getBaseUrl(hppUrl)); + } }, getIframe: function () { return iFrame;