From e9fec34c7cfee867556036d2511011ff970372c1 Mon Sep 17 00:00:00 2001 From: Andrei Stelian Humulescu Date: Thu, 27 Jun 2024 11:47:14 +0300 Subject: [PATCH] Allow digital wallets payments when the mode is set to embedded --- CHANGELOG.md | 6 +++++- dist/rxp-js.js | 5 ++++- dist/rxp-js.min.js | Bin 48954 -> 40172 bytes lib/rxp-hpp.js | 3 +++ 4 files changed, 12 insertions(+), 2 deletions(-) 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 772ed57f7117b08029fa5589741a61df790394b4..24285fa71655c23d0411bb62c15270f1dcfafd46 100644 GIT binary patch delta 5866 zcmb_gdu&_P8NW9n%{yrxj^ntF?Iup_#7^QQj?*S4c%?vj6jfX4Ha0Q0ag(bxb`m>j zOHyyy&YEd3cPci;gS%a6!`+E?o8lMG_PL-TOAXV8EQc$s z^eAEUdK8xuR|XYLi79uZ=Z8uIuCyNdd6p*|{j^o>%f<{cW)E0L6(`p1P)4yLu8iRw zQS3@ota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