Skip to content

Commit

Permalink
Merge pull request #60 from ahumulescu/feature/embedded-allow-digital…
Browse files Browse the repository at this point in the history
…-wallets

Allow digital wallets payments when the mode is set to embedded
  • Loading branch information
securesubmit-buildmaster authored Jul 2, 2024
2 parents 2132b44 + e9fec34 commit ad79e27
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion dist/rxp-js.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
Expand Down
Binary file modified dist/rxp-js.min.js
Binary file not shown.
3 changes: 3 additions & 0 deletions lib/rxp-hpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ad79e27

Please sign in to comment.