Skip to content

Commit

Permalink
DIS-334: Payflow modal cutoff
Browse files Browse the repository at this point in the history
to test:
1. Sign in as Aspen Admin (fallslibrary.aspendiscovery.org)
2. Masquerade as PTMPL000000006
3. View their fines
4. Click "Continue to payment"

If you do not have access to fallslibrary another library with paypal set up should suffice.
Before this change the iframe is not scrollable if it overflows the space inside the modal.
After the change you should be able to scroll to see the entire iframe.
  • Loading branch information
lathomas64 committed Feb 6, 2025
1 parent c786812 commit d9db647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/web/release_notes/25.03.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// leo

// imani
### Other Updates
- Allow scrolling in the payflow-link-iframe modal (*IT*) (DIS-334)

// yanjun

Expand Down
2 changes: 1 addition & 1 deletion code/web/services/MyAccount/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -6284,7 +6284,7 @@ function createPayPalPayflowOrder() {

return [
'success' => true,
'paymentIframe' => "<iframe class='fulfillmentFrame' id='payflow-link-iframe' src='{$iframeUrl}/?SECURETOKEN={$token}&SECURETOKENID={$tokenId}' sandbox='allow-top-navigation allow-scripts allow-same-origin allow-forms allow-modals' border='0' frameborder='0' scrolling='no' allowtransparency='true'>\n</iframe>",
'paymentIframe' => "<iframe class='fulfillmentFrame' id='payflow-link-iframe' src='{$iframeUrl}/?SECURETOKEN={$token}&SECURETOKENID={$tokenId}' sandbox='allow-top-navigation allow-scripts allow-same-origin allow-forms allow-modals' border='0' frameborder='0' scrolling='yes' allowtransparency='true'>\n</iframe>",
];
}
}
Expand Down

0 comments on commit d9db647

Please sign in to comment.